File size: 1.75Kb
<?
Error_Reporting(E_ALL & ~E_NOTICE);
$host = "7ba.ru";
$path = "/smart.php?$QUERY_STRING";
$fp = fsockopen($host,80,$errno,$errstr,30);
if(!$fp) echo"$errstr ($errno)<br />\n";
else{
$headers = "GET $path HTTP/1.0\r\n";
$headers .= "Host: $host\r\n";
$headers .= "Accept: *\r\n";
$headers .="Accept-Charset: UTF-8\r\n";
$headers .= "Accept-Charset: *\r\n";
$headers .= "Accept-Encoding: deflate\r\n";
$headers .= "Accept-Language: ru\r\n";
$headers .= "User-Agent: Nokia6600/1.0\r\n\r\n";
fwrite($fp,$headers);
while($text != "\r\n")
$text = fgets($fp,128);
$text = "";
while(!feof($fp))
$text .= fgets($fp,4096);
fclose($fp);
}
header("Cache-Control: no-cache");
header("Content-Type:text/html;charset=utf-8");
$text=str_replace('7ba.Ru','Wap.Irbit.In', $text);
$text=str_replace('erotel.org/in/go.php?id=11','b90.ru/6875.wml', $text);
$text=str_replace('erotel.org/in/go.php?id=12','b90.ru/6875.wml', $text);
$text=str_replace('erotel.org/in/go.php?id=13','b90.ru/6875.wml', $text);
$text=str_replace('erotel.org/in/go.php?id=19','b90.ru/6875.wml', $text);
$text=str_replace('<img src="files/img/','<img src="http://7ba.ru/files/img/', $text);
$text=str_replace('<a href="http://waplog.net/ru/c.shtml?6159"><img src="http://c.waplog.net/ru/6159.cnt" alt="waplog"/></a><br/>','<center><a href="http://xban.ru/ban.php?uid=10482"><img src="http://xban.ru/ban.php?img=10482" alt"."/></a><br/></center>', $text);
$text=str_replace('<a href="http://erotel.us/in/go.php?id=12">Горячая эротика! 25+</a>','', $text);
$text=str_replace('http://7ba.ru/includes/css/00.css','./css/flem.css', $text);
$text=preg_replace('/<a href="http:\/\/erotel.us\/(.*?)<\/a><br\/>/si','',$text);
$text=str_replace('Горячая эротика! 25+', "", $text);
print "$text";
?>