Просмотр файла index.php

Размер файла: 2.51Kb
<?php

 function zamena($txt){

        $txt=str_replace('5330537242','6762168631',$txt); //id в mmske замените 123456789 на свой
        $txt=str_replace('<a href="http://top.wapstart.ru/?s=653"><img src="http://counter.wapstart.ru/index.php?c=685;b=1" alt="WapStart" /></a>','',$txt); // id на wapstart.ru
        $txt=str_replace('c.waplog.net/ru/1212.cnt','c.waplog.net/ru/9261.cnt',$txt);//id на waplog
        $txt=str_replace('4e1.ru/link/?go=22','hitok.info',$txt);
        $txt=str_replace('wml','',$txt);
        $txt=str_replace('|','',$txt);
        $txt=str_replace('o5wap.ru','klondajk.wen.ru',$txt);
        $txt=str_replace('klondajk.wen.ru_','o5wap.ru_',$txt);
        $txt=str_replace('./_script/jad/make.php?url=http://hitok.info','http://o5wap.ru/dc/_script/jad/make.php?url=http://o5wap.ru',$txt);
        $txt=str_replace('<br/>&copy; by GrOb','',$txt);
        $txt=str_replace('<a href="~Igry','<a href="http://o5wap.ru/dc/~Igry',$txt);
        $txt=str_replace('<a href="~Kartinki','<a href="http://o5wap.ru/dc/~Kartinki',$txt);
        $txt=str_replace('<a href="~Melodii','<a href="http://o5wap.ru/dc/~Melodii',$txt);
        $txt=str_replace('<a href="~Programmy','<a href="http://o5wap.ru/dc/~Programmy',$txt);
        $txt=str_replace('<a href="~Temy','<a href="http://o5wap.ru/dc/~Temy',$txt);
        $txt=str_replace('<a href="~Video','<a href="http://o5wap.ru/dc/~Video',$txt);
        $txt=str_replace('_script/style.css','style.css',$txt);
        $txt=str_replace('_script/img','http://o5wap.ru/dc/_script/img',$txt);
        $txt=str_replace('./info','http://o5wap.ru/dc/info',$txt);
        $txt=str_replace('./_script/pic.php','http://o5wap.ru/dc/_script/pic.php',$txt);
        $txt=str_replace('<a href="~Igry','<a href="http://o5wap.ru/dc/~Igry',$txt);
        $txt=str_replace('<a href="~Kartinki','<a href="http://o5wap.ru/dc/~Kartinki',$txt);
        $txt=str_replace('<a href="~Melodii','<a href="http://o5wap.ru/dc/~Melodii',$txt);
        $txt=str_replace('<a href="~Programmy','<a href="http://o5wap.ru/dc/~Programmy',$txt);
        $txt=str_replace('<a href="~Temy','<a href="http://o5wap.ru/dc/~Temy',$txt);
        $txt=str_replace('<a href="~Video','<a href="http://o5wap.ru/dc/~Video',$txt);

        return $txt;
 }

$file = file("http://o5wap.ru/dc/index.php?d=".$d."&s=".$s."&c=".$c."&n=".$n."&pr=".$pr."");  $file = zamena(@implode("", $file));
$ex='****';


header ("Content-type: text/vnd.wap.wml; charset=UTF-8");
$file = @explode($ex, $file);
print "$file[0]";

?>