File size: 1.05Kb
<?php
include "xconf.php";
$agent = $_SERVER['HTTP_USER_AGENT'];
$mobile=strtok($agent,"/");
$id=intval($id);
$sd="qwertyuiopadfghjklzxcvbnm0123456789";
$size_sd=strlen($sd)-1;
for($ab=0;$ab<32;$ab++){
$kod1.=$sd[rand(0,$size_sd)];}
$kode=base64_encode(base64_encode($kod1));
$id=$_GET['id'];
If (is_numeric($id)) {
$res=mysql_query("select * from `cool_site` where id='$id'");
$kols=mysql_num_rows($res);
If ($kols!=0){
@mysql_query("insert into `kods` values('$id','$kod1')");
}
}
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Wkat.In</title><link rel="stylesheet" type="text/css" href="/style.css"/></head>
<p align="center">
<big><b>Wkat.In</b></big><br/>
WORLD\'S LARGEST MOBILE TRAFFIC ENGINE, SEARCH AND DIRECTORY<br/>
<b>-advertisement-<br/>
<img src="http://mben.ru/8899.img" alt="."/><br/>
<br/>
<a href="/?id='.$id.'&kod1='.$kod1.'"><big><b>ENTER</b></big></a><br/><br/>
©by Wkat.In<br/>
</p></body></html>';
}
?>