"; echo " $ctitle $ubodytag"; ?>
= 5) { ?> StopIE.com - Stop Internet Explorer Get Firefox! Refresh
"; if ($_REQUEST['noimg']) { echo "Show Images

"; } else { echo "Hide Images

"; } require_once("../common/language.php"); if (file_exists("language.php")) require_once("language.php"); $realpath = ereg_replace(".*/([^/]+)/userlist.php$", "chat\\1", $_SERVER['PHP_SELF']); if (($_SERVER['HTTP_HOST'] != 'v2.pjj.cc') && strstr($_SERVER['HTTP_HOST'], '.pjj.cc')) $realpath = preg_replace('/(.*?)\.pjj\.cc/is', 'chat\1', $_SERVER['HTTP_HOST']); $ident = substr(md5($_SERVER['REMOTE_ADDR'].$realpath), 0, $identlenght); $oldident = $ident; if ($_COOKIE['pJJChat_Banned'] != "") { $ident = $_COOKIE['pJJChat_Banned']; } if (CheckBan($ident, $realpath) == 0) { $ident = $oldident; $xcnt = count($banip); for ($cc=0;$cc<$xcnt;$cc++) { if ( ($ident == $banip[$cc]) || (strncmp($_SERVER['REMOTE_ADDR'], $banip[$cc], strlen($banip[$cc])) == 0) || (strncmp($_SERVER['HTTP_X_FORWARDED_FOR'], $banip[$cc], strlen($banip[$cc])) == 0) ) { echo "Can't view this while permbanned."; echo "

"; die(); } else if (strpos($banip[$cc], '.') !== false || strpos($banip[$cc], '*') !== false) { $banip[$cc] = str_replace('\\*', '.*', preg_quote($banip[$cc])); if (preg_match('/^'.$banip[$cc].'$/is', gethostbyaddr($_SERVER['REMOTE_ADDR']))) { echo "\n$cbodytag"; echo sprintf($banguage[4], $ident); echo ""; exit(); } } } require_once("../common/proxy.php"); if ($proxyblock == 1) { $bl = Proxy_IsProxy($_SERVER['REMOTE_ADDR']); if ($bl !== false) { echo ""; echo "This chat blocks open proxies, and you are using one. You have been banned for 8 hours."; echo "
The list that caught you is: $bl"; echo ""; AddBan($ident, time()+28800, '[proxy]', $realpath); setcookie("pJJChat_Banned", "$ident", time()+604800); die(); } } $rpath = substr($realpath, 4); if (($memonly <= 1) || CheckFlags('1', $_SESSION[$realpath]['flags'])) ShowList($realpath); else echo $language[0]; echo "

Refresh
"; if ($_REQUEST['noimg']) { echo "Show Images

"; } else { echo "Hide Images

"; } } else { echo "Can't view this while banned."; echo ""; } echo ""; echo ""; ?>