Файл: sev/index.php
Строк: 22
<?php
echo <<<TEXT
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" />
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="style.css" type="text/css" />
<title>Скачать бесплатно игры,музыка,видео,темы,картинки,фото,программы,эротика на телефон!</title>
</head>
TEXT;
include 'sys/head.php';
if ($file=@file_get_contents('http://dc.sever.ru/?'.$_SERVER['QUERY_STRING'])) {
$file=preg_replace('|<!DOCTYPE html PUBLIC "(.*?)/1999/xhtml">|is','',$file);
$file=preg_replace('|<head(.*?)/head>|is','',$file);
$file=preg_replace('|<img src="images/comment.png(.*?)/html>|is','',$file);
$file=preg_replace('|<img src="/style/(.*?)alt="" />|is','',$file);
$file=preg_replace('|<img src="images/house.png"(.*?)/html>|is','',$file);
$file=str_replace('<?xml version="1.0"?>','', $file);
$file=str_replace('<a href="get.php?','<a href="http://dc.sever.ru/get.php?', $file);
$file=str_replace('<a href="/','<a href="./', $file);
$file=str_replace('<div class="tl">','<div class="title">', $file);
$file=preg_replace('|<img src="/img/search.gif"(.*?)/html>|is','',$file);
$file=str_replace('<img src="captcha.php','<img src="http://dc.sever.ru/captcha.php', $file);
$file=preg_replace('|<a href="./?d=(.*?)Обсудить</a>|is','',$file);
$file=preg_replace('|<a href="/pagesi/(.*?)/a>|is','',$file);
$file=preg_replace('|<img src="http://realwap.ru(.*?)alt=""> |is','',$file);
$file=str_replace('<img src="scr.php','<img src="http://dc.sever.ru/scr.php', $file);
$file=preg_replace('|<div class="v1"(.*?)/div>|is','',$file);
$file=str_replace('<img src="/img/folder.gif" alt=""/>','<img src="http://dc.sever.ru/img/folder.gif" alt=""/>', $file);
$file=str_replace('<a href="./get.php?','<a href="http://dc.sever.ru/get.php?', $file);
$file=str_replace('Bнимание! MP3 полные и нарезки перенесены на другой сервер mp3.sever.ru','1', $file);
$file=str_replace('удалить','MP3', $file);
$file=str_replace('<br/>
..|..<br/>
<br/><br/>
</div>
<div><br/>','', $file);
echo $file;
echo "<div class="title"><a href="../">на главную</a></div>";
}
else
{echo 'Извините, раздел временно не доступен!<br>';
}
include 'sys/foot.php';
echo <<<TEXT
</body>
</html>
TEXT;
?>