Вход Регистрация
Файл: zagruz/xwap/index.php
Строк: 104
<?
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"d.xwap.me"$path="/?".$_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($fp128);
$file ''; while(!feof($fp)) $file.= @fgets($fp4096); @fclose($fp); }
##############################################
$file=str_replace('<?xml version="1.0" encoding="utf-8"?>',''$file);
$file=preg_replace('|<!DOCTYPE(.*?)<body>|is','',$file);
$file=str_replace('<a href="/?i','<a href="?i'$file);
$file=str_replace('<a href="/index.php?i','<a href="?i'$file);
$file=str_replace('<a href="/?act','<a href="?act'$file);
$file=str_replace('<a href="/?vendor','<a href="?vendor'$file);
$file=str_replace('<a href="/?xwap','<a href="?xwap'$file);
$file=str_replace('<form action="/?act','<form action="?act'$file);
$file=str_replace('<form action="/index.php?i=','<form action="index.php?i='$file);
$file=str_replace('<a href="/f/get/','<a href="http://d.xwap.me/f/get/'$file);
$file=str_replace('<img src="/','<img src="http://d.xwap.me/'$file);
$file=preg_replace('|<div id="line"><img src="http://img.pict.su/xwap.png(.*?)</div>|is','',$file);
$file=preg_replace('|<div class="rekl">(.*?)</div>|is','',$file);
$file=str_replace('<div class="title">Хиты и Новинки</div>',''$file);
$file=preg_replace('|<div class="title">Реклама(.*?)</body>|is','</body>',$file);
$file=preg_replace('|<img src="http://d.xwap.me/ga.php(.*?)alt=""/>|is','',$file);
$file=str_replace('Бесплатные загрузки на WAP.XWAP.ME','Бесплатные загрузки на AMIGES.RU'$file);
$file=preg_replace('|<div class="menu1"><img src="http://icon.pict.su/i/strawberry.gif(.*?)</div>|is','',$file);
$file=preg_replace('|<div class="menu1"><img src="http://icon.pict.su/i/zakaz.gif(.*?)</div>|is','',$file);
$file=preg_replace('|<div class="menu1"><img src="http://icon.pict.su/i/023.gif(.*?)<div class="menu1"><img src="http://icon.pict.su/i/kubik.gif|is','<div class="menu1"><img src="http://icon.pict.su/i/kubik.gif',$file);
$file=str_replace('<div class="menu2">','<div class="p_m">'$file);
$file=str_replace('<div class="menu1">','<div class="p_t">'$file);
$file=preg_replace('|<br /><a href="http://waplog.net(.*?)<br/>|is','',$file);

$file=preg_replace('|<a href="http://xwap.me(.*?)</a>|is','',$file);

##############################################
echo $file;


include_once 
'../../sys/inc/tfoot.php';

?>
Онлайн: 0
Реклама