Файл: load.php
Строк: 95
<?
include 'head.php';
####By Maksamka#####
function curl_get($url){
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl,CURLOPT_USERAGENT,'Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.10');
curl_setopt($curl, CURLOPT_REFERER, "http://spaces.rushared_zone/");
curl_setopt($curl, CURLOPT_RETURNTRANSFER,1);
curl_setopt($curl, CURLOPT_TIMEOUT, 30);
$cnt = curl_exec($curl);
curl_close($curl);
return $cnt;
}
$file=curl_get('http://'.$_SERVER['QUERY_STRING']);
$file=str_replace('href="http://', 'href="load.php?', $file);
$file=preg_replace('|<!DOCTYPE(.*?)<!-- #left_nav -->|is', '',$file);
$file=preg_replace('|<div class="search_bar">(.*?)<div>|is', '',$file);
$file=preg_replace('|<div class="search_bar">(.*?)<div>|is', '',$file);
$file=preg_replace('|<div class="bottom_link_block lh_160">(.*?)</html>|is', '',$file);
$file=str_replace('<div class="busi_switcher stnd_padd button_block" style="padding-left:0; padding-right:0; padding-top:0;">', '<div class="aut">', $file);
$file=str_replace('</table>', '', $file);
$file=preg_replace('|<table(.*?)">|is', '',$file);
$file=str_replace('</td>', '', $file);
$file=str_replace('<div class="busi_switcher " style="padding-left:0; padding-right:0; padding-top:0;padding-bottom:0;">', '<div class="aut">', $file);
$file=preg_replace('|</tr>(.*?)<ddiv>|is', '',$file);
$file=preg_replace('|<div id="main_content_block">(.*?)<div></script>|is', '</a><div class="aut">',$file);
$file=preg_replace('|<div class="busi">(.*?)</html>|is', '',$file);
$file=str_replace('<div>', '', $file);
$file=str_replace('</tr>', '', $file);
$file=str_replace('<tr>', '', $file);
$file=preg_replace('|<td class(.*?)">|is', '',$file);
$file=str_replace('<span class="t-block_item stnd_padd t-bg_arrow_next">', '', $file);
$file=str_replace('<span class="m t-strong_item t-link_item_hover">', '', $file);
$file=str_replace('<span class="m files_num">', '', $file);
$file=preg_replace('|<span class="f(.*?)">|is', '',$file);
$file=str_replace('<span class="m">', '', $file);
$file=str_replace('class="m"', '', $file);
$file=str_replace('<div id="top_notif_place" class="top_notif_place oh"></div>', '<div class="row">', $file);
$file=str_replace('<div class="overfl_hid">', '<div class="row">', $file);
$file=preg_replace('|<div class="main" id="siteContent">(.*?)<div class="aut">|is', '</div><div class="row">',$file);
$file=str_replace('<div class="list_item bookmark_block">', '', $file);
$file=str_replace('<div class="left font0" style="margin-right:5px; position:relative;">', '', $file);
$file=str_replace('<div class="list_item small_gradient bookmark_block">', '<div class="aut">Zka4ka.ru - Закачайся<br/>', $file);
####
$file=str_replace('<div class="list_item light_border_bottom file_wrap_block">', '', $file);
$file=str_replace('<div class="main" id="siteContent">', '', $file);
$file=str_replace('<div class="preview_block">', '</div></div><div class="row">', $file);
$file=preg_replace('|<div class="list_item light_border_bottom">(.*?)</div>|is', '',$file);
$file=preg_replace('|<div class="list_item gradient_block2 green_box">(.*?)php?|is', '<div class="aut"><a hreg="http://',$file);
$file=str_replace('hreg="http://?', 'href="http://', $file);
$file=str_replace('class="arrow_link m"', '', $file);
$file=str_replace('<div class="block_item"><b>', '</div><div class="row"><b>', $file);
$file=preg_replace('|<div class="block_item">(.*?)</html>|is', '',$file);
$file=preg_replace('|<div class="cleajhr"></div>(.*?)<div class="aut">|is', '',$file);
$file=str_replace('<a class="gview_link"', '</div><div class="aut"><a class="gview_link"', $file);
$file=preg_replace('|<div id="navi_footer" class="overfl_hid touch_menu">(.*?)</html>|is', '',$file);
$file=preg_replace('|<div class=" lh_160">(.*?)</div>|is', '',$file);
$file=str_replace('<div class="backlink">', '<div class="aut">', $file);
$file=preg_replace('|<script(.*?)</script>|is', '',$file);
$file=str_replace('<div class="list_item" style="background:#eaeef4;">', '<div class="row">', $file);
$file=str_replace('<div class="backlink">', '<div class="aut">', $file);
$file=preg_replace('|<span class="search_page_block">(.*?)</div>|is', '',$file);
$file=str_replace('<div class="page_links">', '<div class="row">', $file);
$file=str_replace('<div class="left pg_link_wrap">', '<div class="row">', $file);
$file=str_replace('<div class="left pg_link_wrap">', '<div class="aut">', $file);
$file=preg_replace('|<div class="pad_t_a">(.*?)iv>|is', '<zzzz>',$file);
$file=preg_replace('|<zzzz>(.*?)iv>|is', '</div><div class="row">Описание :',$file);
$file=preg_replace('|<div id="main_content_block">(.*?)</form>|is', '',$file);
$file=str_replace(')</span>', ')</span></div><div class="row">', $file);
$file=preg_replace('|Категории</span>(.*?)href="|is', 'Категории</span></div><div class="row"><a href="',$file);
$file=preg_replace('|<div class="stnd_padd pdb">(.*?)<div class="pl_photo_image_current">|is', '',$file);
$file=str_replace('<div class="pl_photo_image_info overfl_hid">', '<div class="row">', $file);
$file=preg_replace('|<div class="pl(.*?)">|is', '',$file);
$file=str_replace('<img class="pl_photo_image_wrap_adult font_medium" src="http://spaces.ru/i/adult_ico.png" alt="" />', '', $file);
$file=preg_replace('|<img src="http://spaces.ru/i/comm_num_gray.png(.*?)</span>|is', '',$file);
$file=preg_replace('|<form method="post"(.*?)</form>|is', 'Контент для взрослых запрещен на сайте , и доступен только для просмотра!',$file);
$file=str_replace('<div class="location_bar " id="header_path">', '<div class="aut">', $file);
$file=preg_replace('|<div class="stnd_padd pdb">(.*?)<div class="aaut">|is', '',$file);
$file=str_replace('href="load.php?ms0', 'href="http://ms0', $file);
$file=str_replace('href="load.php?cs0', 'href="http://cs0', $file);
$file=str_replace('href="load.php?ms1', 'href="http://ms1', $file);
$file=str_replace('href="load.php?cs1', 'href="http://cs1', $file);
$file=str_replace('href="load.php?mc0', 'href="http://mc0', $file);
$file=str_replace('href="load.php?mc1', 'href="http://mc1', $file);
$file=str_replace('href="load.php?spaces.ru/?sid=', 'href="index.php?', $file);
$file=str_replace('>Spaces</a>', '>Zka4ka</a>', $file);
$file=str_replace('-spaces.ru', '-zka4ka.ru', $file);
$file=str_replace('<div class="lh_160">', '<div class="row">', $file);
$file=preg_replace('|Скачать</span>(.*?)файл</span>|is', 'Скачать</span>',$file);
$file=preg_replace('|Скачать</span>(.*?)Открыть</span>|is', 'Скачать</span>',$file);
$file=preg_replace('|<div class="stnd_padd pdb">(.*?)arr;</span></a>|is', '',$file);
$file=preg_replace('|оригинал</span>(.*?)</span>|is', 'оригинал</span>',$file);
$file=preg_replace('|<!DOCTYPE(.*?)</html>|is', 'Ошибка',$file);
$file=preg_replace('|<span>Онлайн:</span>(.*?)</html>|is', 'Ошибка',$file);
$file=preg_replace('|<img src="http://spaces.ru/i/comm_num.gif" alt="" />(.*?)</span>|is', '</div>',$file);
$file=str_replace('<div class="p_i_t_timeShow">', '<div class="row">', $file);
echo $file;
include 'foot.php';
?>