Файл: zagruz/zagruz/index.php
Строк: 117
<?php
include 'head.php';
ini_set('display_errors',0); ini_set ('register_globals', 0);
session_name('SID'); session_start();
##############################################
###Подогнал под DCMS Admin4ik###
###Сайт для владельцев смартфонов и wap-мастеров SKA4KA.H2M.RU###
###Кому не жалко кидаем по немногу на кошельки###
###R300766297732###
###U287964761343###
###Z164819766551###
###E329636280387###
##############################################
$host= "ka4ka.ru"; $path="/dcnew/?".$_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($fp, 128);
$file = ''; while(!feof($fp)) $file.= @fgets($fp, 4096); @fclose($fp); }
##############################################
////////////////
$file = preg_replace('/<a href="http://play.ka4ka.ru/(.*?)</a><br />/si','',$file);
$file = str_replace('<a href="http://wap.mobfilms.org/">Мобильные фильмы!</a><br />', '',$file);
$file = preg_replace('/<a href="?dc_id=109506(.*?)</a>/si','',$file);
$file=str_replace('<?xml version="1.0" encoding="utf-8"?>','', $file);
$file=preg_replace('|<style type="text/css(.*?)</style>|is','',$file);
////////////////
$file = preg_replace('/<a href="http://wapgd.playfon.ru/(.*?)</a><br />/si','',$file);
$file = preg_replace('/<a href="http://wapgd5v.playfon.ru/(.*?)</a><br />/si','',$file);
$file = str_replace('/<a href="', ' / <a href="',$file);
$file = str_replace('<img src="/content/', '<img src="http://kachka.ru/content/',$file);
$file = str_replace('<a href="/?', '<a href="?',$file);
$file = str_replace('<img src="/code.php', '<img src="http://kachka.ru/code.php',$file);
$file = str_replace('Нарезать на звонок', '',$file);
$file = str_replace('(', '<font color=red>(',$file);
$file = str_replace(')', ')</font>',$file);
$file = str_replace('Игры', '<img src="/zagruz/azon/img/game.png" alt="" />Игры',$file);
$file = str_replace('Музыка', '<img src="/zagruz/azon/img/music.png" alt="" />Мызика',$file);
$file = str_replace('Эротика', '<img src="/zagruz/azon/img/ero.png" alt="" />Эротика',$file);
$file = str_replace('Темы', '<img src="/zagruz/azon/img/temi.png" alt="" />Темы',$file);
$file = str_replace('Видео</a>', '<img src="/zagruz/azon/img/video.png" alt="" />Видео</a>',$file);
$file = str_replace('Всё для Смартфонов', '<img src="/zagruz/azon/img/smart.png" alt="" />Всё для Смартфонов',$file);
$file = str_replace('Программы', '<img src="/zagruz/azon/img/prog.png" alt="" />Программы',$file);
$file = str_replace('Картинки</a>', '<img src="/zagruz/azon/img/image.png" alt="" />Картинки</a>',$file);
$file = str_replace('Flash-заставки</a>', '<img src="/zagruz/azon/img/flesh.png" alt="" />Flash-заставки</a>',$file);
$file = str_replace('Поиск загрузок</a>', '<img src="/style/icons/poisk.png" alt="" />Поиск загрузок</a>',$file);
$file = str_replace('К загрузкам', '',$file);
$file=preg_replace('|<span style=(.*?)>|is', '<span style="color: #00ff00;">',$file);
$file=preg_replace('|<!DOCTYPE(.*?)</head>|is', '',$file);
$file=str_replace('<body style="color: #000000;"><div class="body"><div style="background-color: #84c225;padding: 2px;"></div><div style="background-color: #F3F3F3;border-top: 1px dotted;border-top: 1px dotted;border-bottom: 1px dotted;">', '<div>', $file);
$file=preg_replace('|<a href="http://ka4ka.ru/vipc/(.*?)</a></div>|is', '', $file);
$file=str_replace('<a href="/java/', '<a href="java.php', $file);
$file=str_replace('ka4ka=', 'sid=', $file);
$file=str_replace('<span style="color: #84c225;">', '<span style="color: #cc0000;">', $file);
$file=preg_replace('|<a href="/all-music/(.*?)<span class="wlink">|is', '<span><br/>',$file);
$file=preg_replace('|<a href="/email.php(.*?)</a><br />|is', '',$file);
$file=str_replace('<div style="line-height:5px;">', '<div>', $file);
$file=str_replace('http://c.waplog.net/ru/57036.cnt', '', $file);
$file=str_replace('waplog', '', $file);
$file=str_replace('Главная', '', $file);
$file=preg_replace('|<a href="http://wap.ka4ka.ru/stata/(.*?)</a><br />|is', '',$file);
$file=preg_replace('|<a href="http://wap.ka4ka.ru/stata/(.*?)</a>|is', '',$file);
$file=preg_replace('|<div class="header" style="font-size: 11px; text-align: left">(.*?)</html>|is', '',$file);
$file=preg_replace('|<div class="header">(.*?)</div>|is', '',$file);
$file=preg_replace('|<div class="other">(.*?)</div>|is', '',$file);
$file=str_replace('<body style="color: #000000;"><div class="body"><div style="background-color: #84c225;padding: 2px;"></div>', '<div>', $file);
$file=str_replace('<div style="background-color: #F3F3F3;border-top: 1px dotted;border-top: 1px dotted;border-bottom: 1px dotted;">', '<div>', $file);
$file=str_replace('<span style="color: green;">', '<span style="color: navy;">', $file);
$file=str_replace('/charts', 'charts.php', $file);
$file=str_replace('/songs', 'songs.php', $file);
$file=preg_replace('|Перейти на(.*?)</form>|is', '',$file);
$file = str_replace('<a href="/dcnew/id/', '<a href="?dc_id=',$file);
$file=str_replace('/?sid', '&sid', $file);
$file=str_replace('Выберите формат звука<br /><a href="?dc_id', 'Выберите формат звука:<br /><a href="http://ka4ka.ru/dcnew/?dc_id', $file);
$file=str_replace('б)<br /><a href="?dc_id', 'б)<br /><a href="http://ka4ka.ru/dcnew/?dc_id', $file);
$file=str_replace('/dcnew/index.php', '',$file);
$file=str_replace('/?view=rate', '?view=rate', $file);
$file=preg_replace('|<a href="/dcnew&sid=(.*?)<div class="body"></div>|is', '',$file);
$file=str_replace('<a href="/dcnew/?', '<a href="?', $file);
$file=str_replace('144<br /><a href="?dc_id=', '144<br /><a href="http://ka4ka.ru/dcnew/?dc_id=', $file);
$file=str_replace('/?mod=', '&mod=', $file);
$file=str_replace('alt="." /><br /><a href="?dc_id=', 'alt="." /><br /><a href="http://ka4ka.ru/dcnew/?dc_id=', $file);
$file=str_replace('б)</a> --><a href="?dc_id=', 'б)</a> --><a href="http://ka4ka.ru/dcnew/?dc_id=', $file);
$file=str_replace('<form action="" method="get">', '<form action="index.php" method="get">', $file);
$file=str_replace('<form action="" method="post">', '<form action="http://ka4ka.ru/dcnew/" method="post">', $file);
$file=str_replace('<a href="/programms', '<a href="./programms.php', $file);
$file=str_replace('<a href="/symbian', '<a href="./symbian.php', $file);
$file=preg_replace('|&sid(.*?)">|is', '">',$file);
##############################################
echo $file;
include 'foot.php';
?>