Вход Регистрация
Файл: index.php
Строк: 18
<?php
include 'head.php';


if(empty(
$_POST)){
$curl curl_init();

curl_setopt($curlCURLOPT_URL'http://womanu.org/'.$_SERVER['QUERY_STRING']);
curl_setopt($curl,CURLOPT_USERAGENT,'Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.10');
curl_setopt($curlCURLOPT_RETURNTRANSFER,1);
curl_setopt($curlCURLOPT_TIMEOUT3);

curl_setopt($curlCURLOPT_RETURNTRANSFER,true);
$out curl_exec($curl);

$out=str_replace('href="/','href="?',$out);
$out=preg_replace('|<!DOCTYPE(.*?)<div class="womanu_folder">|si','',$out);
$out=preg_replace('|<div class="title">(.*?)</div>|si','<333>',$out);
$out=preg_replace('|<form(.*?)<333>|si','',$out);
$out=str_replace('<ul>','',$out);
$out=str_replace('</ul>','',$out);
$out=str_replace('</li> ','</div>',$out);
$out=preg_replace('|<li style="background:(.*?)">|si','<div class="row">',$out);
$out=preg_replace('|<div class="news border_bottom_dotted"(.*?)">|si','<div class="row">',$out);
$out=str_replace('<div>','',$out);
$out=str_replace('</b></div>','</b><br/>',$out);
$out=str_replace('<div class="news border_bottom_dotted">','<div class="row">',$out);
$out=preg_replace('|<a href="http://waplog.net/(.*?)</a>|si','<333>',$out);
$out=preg_replace('|<!DOCTYPE(.*?)<div class="news">|si','<div class="row">',$out);
$out=preg_replace('|<div class="news border_bottom_dashed">(.*?)<333>|si','',$out);
$out=preg_replace('|<div class="news(.*?)">|si','<div class="row">',$out);
$out=str_replace('href="?download','href="http://womanu.org/download',$out);
$out=str_replace('<li class="box_jpg">','<div class="row">',$out);
$out=str_replace('</li>','</div>',$out);
$out=preg_replace('|здоровье</a>(.*?)девчонками</a>|si','здоровье</a>',$out);
$out=str_replace('src="/ico/','src="',$out);
$out=str_replace('<333>','',$out);
curl_close($curl);
echo 
$out;
}
include 
'foot.php';
?>
Онлайн: 1
Реклама