Вход Регистрация
Файл: m/index.php
Строк: 33
<?php 
include 'head.php'; 
echo
"<center>";
function 
view($url){ 
$curl = curl_init(); 
curl_setopt($curl, CURLOPT_URL, $url); 
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.3; WOW');
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Accept: text/html, application/xml;q=0.9, application/xhtml xml, image/png, image/jpeg, image/gif,image/x-bitmap, */*;q=0.1', 'Accept-Charset: utf-8;q=0.6 windows-1251;q=0.1*;q=0.1', 'Accept-Encoding: utf-8', 'Accept-Language: ru, en;q=0.9')); 
curl_setopt($curl, CURLOPT_AUTOREFERER, 0); 
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 0); 
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); 
curl_setopt($curl, CURLOPT_POST, 0); 
$result = curl_exec($curl); 
curl_close($curl); 
if (!
$result){ 
echo 
'<div class="menu"> 
Ошибка, мы уже работаем над её устранением... 
</div>'
; 
} 
return 
$result; 
} 
$ero = $_GET['ero']; 
$file=view('http://m.xxxvideo-arhiv.net/'.(!empty($ero) ? $ero : ''));  
$file=str_replace('href="/','href="?ero=',$file); 
$file=str_replace('src="/','src="http://m.xxxvideo-arhiv.net/',$file); 
$file=str_replace('href="./','href="?ero=',$file); 

$file=preg_replace('|<script(.*?)</script>|si','',$file); 
$file=str_replace('href="?ero=go.php?','href="http://m.xxxvideo-arhiv.net/go.php?',$file);
$file=preg_replace('|<link(.*?)<!-- header end -->|si','',$file);  
$file=preg_replace('|<ul class="sub-menu">(.*?)</html>|si','',$file);  
$file=preg_replace('|<noindex><li><a href="http://bongacams(.*?)</noindex>|si','',$file);  

$file=str_replace('</title>','- Dro4ni.ru</title>',$file); 
$file = mb_convert_encoding($file, "utf-8", "cp1251"); 
echo 
$file; 
include 
'foot.php'; 
?>
Онлайн: 2
Реклама