".USFLAN_1.""; $ns->tablerender(LAN_ERROR, $text); require_once("footer.php"); exit; } else { $ipd = e_QUERY; } if (isset($ipd)) { $obj = new convert; $sql->db_Select("chatbox", "*", "cb_ip='$ipd' LIMIT 0,20"); $host = $e107->get_host_name($ipd); $text = USFLAN_3." ".$ipd." [ ".USFLAN_4.": $host ]
".USFLAN_5."

"; while (list($cb_id, $cb_nick, $cb_message, $cb_datestamp, $cb_blocked, $cb_ip ) = $sql->db_Fetch()) { $datestamp = $obj->convert_date($cb_datestamp, "short"); $post_author_id = substr($cb_nick, 0, strpos($cb_nick, ".")); $post_author_name = substr($cb_nick, (strpos($cb_nick, ".")+1)); $text .= "bullet ".$post_author_name." (".USFLAN_6.": ".$post_author_id.")\n
".$datestamp."
". $cb_message."

"; } $text .= "
"; if(!defined("BULLET")) define("BULLET", "bullet2.gif"); $sql->db_Select("comments", "*", "comment_ip='$ipd' LIMIT 0,20"); while (list($comment_id, $comment_item_id, $comment_author, $comment_author_email, $comment_datestamp, $comment_comment, $comment_blocked, $comment_ip) = $sql->db_Fetch()) { $datestamp = $obj->convert_date($comment_datestamp, "short"); $post_author_id = substr($comment_author, 0, strpos($comment_author, ".")); $post_author_name = substr($comment_author, (strpos($comment_author, ".")+1)); $text .= "bullet ".$post_author_name." (".USFLAN_6.": ".$post_author_id.")\n
".$datestamp."
". $comment_comment."

"; } } $ns->tablerender(USFLAN_7, $text); require_once("footer.php"); ?>