Файл: zagruz/sezone/index.php
Строк: 108
<?
include_once '../../sys/inc/start.php';
include_once '../../sys/inc/compress.php';
include_once '../../sys/inc/sess.php';
include_once '../../sys/inc/home.php';
include_once '../../sys/inc/settings.php';
include_once '../../sys/inc/db_connect.php';
include_once '../../sys/inc/ipua.php';
include_once '../../sys/inc/fnc.php';
include_once '../../sys/inc/user.php';
$set['title']='Загрузки';
include_once '../../sys/inc/thead.php';
title();
err();
aut();
ini_set('display_errors',0); ini_set ('register_globals', 0);
session_name('SID'); session_start();
##############################################
##############################################
$host= "sezone.mobi"; $path="/index.php?".$_SERVER ['QUERY_STRING'];
$fp=fsockopen($host,80,$errno, $errstr,10);
if(!$fp) { echo "$errstr ($errno)<br/>n"; }else{
$data = "";$post=0; foreach($_POST as $key=>$value){
$post=1; $data.="&$key=$value";} if($data)$data=substr ($data,1);
if($post) $headers = "POST $path HTTP/1.0rn";else
$headers = "GET $path HTTP/1.0rn"; $headers.= "Host: $hostrn";
$headers.= "Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif,image/x-bitmap, */*;q=0.1rn";
$headers.= "Accept-Charset: utf-8;q=0.6 windows-1251;q=0.1*;q=0.1rn";
$headers.= "Accept-Encoding: utf-8rn";
$headers.= "Accept-Language: ru, en;q=0.9rn";
$headers.= "User-Agent: ".$_SERVER ['HTTP_USER_AGENT']."rn";
if($post){ $headers.= "Content-type: application/x-www-form-urlencodedrn";
$headers.= "Content-Length: ".strlen ($data)."rn";
$headers.= "rn"; $headers.= $data;}else $headers.="rn";
@fwrite($fp, $headers); while($file != "rn") $file = @fgets($fp, 128);
$file = ''; while(!feof($fp)) $file.= @fgets($fp, 4096); @fclose($fp); }
##############################################
$file=preg_replace('|<?xml version="1.0" encoding="utf-8"?>(.*?)</head>|is','',$file);
$file=preg_replace('|<br/><img src="(.*?)Скачать|is','<br/>Скачать',$file);
$file=preg_replace("|<img src='inc/(.*?)/>|is","",$file);
$file=preg_replace('|<div class="obl">(.*?)</a></div><div class="link">|is','<div class="foot">',$file);
$file=preg_replace('|<div class="content">(.*?)</div><div class="link">|is','',$file);
$file=preg_replace('|</div><div class="obl">:(.*?)</html>|is','</div>',$file);
$file=preg_replace('|<div class="copy">(.*?)</div>|is','',$file);
$file=preg_replace('|<a href="news.php(.*?)</div>|is','',$file);
$file=preg_replace('|<div class="rekl">(.*?)</div>|is','',$file);
$file=preg_replace('|<b>Читать(.*?)</form>
</div>|is','',$file);
$file=preg_replace('|<div class="razd">(.*?)</div>|is','',$file);
$file=preg_replace('|</a><br/></div><div class="obl">(.*?)</html>|is','</a><br/></div>',$file);
$file=preg_replace('|<span style="font-size: x-small;">(.*?)</html>|is','',$file);
$file=preg_replace('|<form action="image.php(.*?)</form></div></div>|is','',$file);
$file=preg_replace('|<head>(.*?)</head>|is','',$file);
$file=preg_replace('|</div></div><div class="obl">(.*?)</html>|is','',$file);
$file=preg_replace('|<?xml version="1.0"(.*?)<body>|is','<body>',$file);
$file=preg_replace('|<td width="5%">(.*?)</td>|is','',$file);
$file=str_replace('<a href="http://game.ubwep.ru" class="arr">Новые Java Игры!</a>','', $file);
$file=str_replace('<a href="index.php?c=Razdel_ICQ&id=170&PHPSESSID=a0e80428be4906abddf4c56d11132218">Уникальная модификация Jimm</a>','', $file);
$file=str_replace('Размер:','', $file);
$file=str_replace('<div class="link"> <a href="','<div class="foot"><img src="/zagruz/img/papka.png"> <a href="', $file);
$file=str_replace('<div class="link"><a href="','<div class="foot"><img src="/zagruz/img/papka.png"> <a href="', $file);
$file=str_replace('<a href="?c=MP3__Zvuki','<img src="/zagruz/img/papka.png"> <a href="?c=MP3__Zvuki', $file);
$file=str_replace('Новые Java Игры!','', $file);
$file=str_replace('gruzmob.ru','kazama.ru', $file);
$file=str_replace('<td>','', $file);
$file=str_replace('<a href="/?','<a href="?', $file);
$file=str_replace('<?<body>','<body>', $file);
$file=str_replace('<img src="image.php','<img src="http://sezone.mobi/image.php', $file);
$file=str_replace('<img src="screen.php','<img src="http://sezone.mobi/screen.php', $file);
$file=str_replace('<a href="screen.php','<a href="http://sezone.mobi/screen.php', $file);
$file=str_replace('<a href="load.php','<a href="http://sezone.mobi/load.php', $file);
$file=str_replace('<a href="http://game.ubwep.ru" class="arr">Новые Java Игры!</a>','', $file);
$file=str_replace('/owape.ru/','/gruzmob.ru/', $file);
$file=str_replace('data="/var/www/','data="http://gruzmob.ru/var/www/', $file);
$file=str_replace('</td><td>','', $file);
$file=str_replace('</td><td>','', $file);
$file=str_replace('<body>','', $file);
$file=str_replace("<img src='screen.php?c=Razdel_ICQ&id=170&W=40&H=40&sc=1' alt='file' />","", $file);
$file=str_replace('<img src="inc/style/images/rss.gif" alt="+" class="mid" />','', $file);
##############################################
echo $file;
include_once '../../sys/inc/tfoot.php';
?>