<?
require_once ("includes/start.php");
require_once ("includes/functions.php");
require_once ("includes/header.php");
include_once ("themes/".$config['themes']."/index.php");
ini_set('display_errors',0); ini_set ('register_globals', 0);
session_name('SID'); session_start();
##############################################
##############################################
$host= "erotel.us"; $path="/video/?".$_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.0\r\n";else
$headers = "GET $path HTTP/1.0\r\n"; $headers.= "Host: $host\r\n";
$headers.= "Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif,image/x-bitmap, */*;q=0.1\r\n";
$headers.= "Accept-Charset: utf-8;q=0.6 windows-1251;q=0.1*;q=0.1\r\n";
$headers.= "Accept-Encoding: utf-8\r\n";
$headers.= "Accept-Language: ru, en;q=0.9\r\n";
$headers.= "User-Agent: ".$_SERVER ['HTTP_USER_AGENT']."\r\n";
if($post){ $headers.= "Content-type: application/x-www-form-urlencoded\r\n";
$headers.= "Content-Length: ".strlen ($data)."\r\n";
$headers.= "\r\n"; $headers.= $data;}else $headers.="\r\n";
@fwrite($fp, $headers); while($file != "\r\n") $file = @fgets($fp, 128);
$file = ''; while(!feof($fp)) $file.= @fgets($fp, 4096); @fclose($fp); }
##############################################
$file=str_replace('index.php','', $file);
$file=str_replace('Erotеl.Us','WAPINET.IN', $file);
$file=str_replace('http://erotel.org/includes/css/00.css','', $file);
$file=str_replace('<div style="text-align: center"><div class="contur_rek"><div class="header_rek"><b><font color="#c00000">Гигабайты эротики на Erotеl.us</font></b></div></div>','', $file);
$file=preg_replace('|<div class="contur_t">(.*?)</div>|is','',$file);
$file=str_replace('<small>','', $file);
$file=str_replace('</small>','', $file);
$file=str_replace('<form method=','<div class="line"><form method=', $file);
$file=preg_replace('|<div style="text-align: center">Халява на <a href="../index.php(.*?)</a><br/>|is','', $file);
$file=str_replace('<a href="http://waplog.net/ru/c.shtml?12082"><img src="http://c.waplog.net/ru/12082.cnt" alt="waplog" /></a>','', $file);
$file=str_replace('<img
src="http://de.c8.b1.a1.top.list.ru/counter?id=1150638;t=97" alt="." height="1" width="1"/>','', $file);
$file=preg_replace('|<a href="http://erotel.us/in/(.*?)</a><br/>|is','',$file);
$file=str_replace('<table cellpadding="0" cellspacing="0" border="0" height="100%" style="text-align: center">','',$file);
$file=str_replace('<tr><td>','',$file);
$file=str_replace('<table height="100%" border="0">','',$file);
$file=str_replace('<tr>','',$file);
$file=str_replace('<td height="100%" style="vertical-align: middle;">','', $file);
$file=str_replace('</td>','',$file);
$file=str_replace('</tr>','',$file);
$file=str_replace('<tr>','',$file);
$file=str_replace('<td>','<br/>', $file);
$file=str_replace('</td>','',$file);
$file=str_replace('</tr>','', $file);
$file=str_replace('</table></td></tr>','', $file);
$file=str_replace('</table>','', $file);
$file=str_replace('</td><td>','',$file);
$file=str_replace('<table height="100%" border="0">','',$file);
$file=str_replace('<tr>','',$file);
$file=str_replace('<td height="100%" style="vertical-align: middle;">','<br/>', $file);
$file=preg_replace('|URL:<form action=(.*?)</form>|is','',$file);
$file=preg_replace('|Халява на(.*?)</div>|is','',$file);
$file=preg_replace('|Загрузить файл erotel.us_(.*?)</a>|is','Загрузить файл</a>',$file);
$file=str_replace('<h1>','<b>', $file);
$file=str_replace('</h1>','</b>', $file);
$file=str_replace('<img src="pic.php','<img src="http://erotel.us/video/pic.php', $file);
$file=str_replace('<b><font color="#c00000"><b>Порно видео</b></font></b>','<div class="top">Порно видео</div>', $file);
$file=str_replace('<meta name="description" content="">','<meta name="description" content="Отборная эротика, порно, XXX">', $file);
$file=str_replace('<meta name="keywords" content=" ,Гигабайты эротики на Erotеl.us,Эротика" />','<meta name="keywords" content=" ,Гигабайты эротики на WAPINET.ORG.UA, Эротика, XXX, порно" />', $file);
$file=preg_replace('|<img
src="http://de.c8.b1.a1.top.list.ru/(.*?)width="1"/>|is','',$file);
$file=preg_replace('|<div style="width:1px; height:1px; visibility: visible; overflow: hidden;">(.*?)</div>|is','',$file);
$file=str_replace('</body>','<br/>
<div class="top"></div>
</body>', $file);
##############################################
echo $file;
include_once ("themes/".$config['themes']."/foot.php");
?>