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

Размер файла: 3.65Kb
<?php 
//////////  TopMania.h2m.ru  ////////
header("Content-type:text/html; charset=utf-8");
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Погода</title>';
print "</style></head><body bgcolor='black' link='red' text='white' vlink='green'>";
$file = file("http://wapos.ru/weather/index.php?".$_SERVER['QUERY_STRING']); 
$file = @implode ("",$file); 
$file = str_replace('<title>&#x041F;&#x043E;&#x0433;&#x043E;&#x0434;&#x0430; &#x043D;&#x0430; Wapos.Ru</title>', "", $file);
$file = str_replace('<img src="imgs/logo.gif" alt="Logo" />', "", $file);
$file = str_replace('style.css','',$file);
$file =preg_replace('/<!DOCTUPE html(.*?)<body>/si','',$file);
$file = preg_replace('/<a class="redurl" href="http:\/\/wap.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="yellowurl" href="http:\/\/wap.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="redurl" href="http:\/\/demo.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="yellowurl" href="http:\/\/demo.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="redurl" href="http:\/\/ap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="yellowurl" href="http:\/\/ap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="redurl" href="http:\/\/wap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="yellowurl" href="http:\/\/wap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="redurl" href="http:\/\/1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="yellowurl" href="http:\/\/1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="redurl" href="http:\/\/spin(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a class="yellowurl" href="http:\/\/spin(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wap.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/wap.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/demo.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/demo.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/ap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/ap2.1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/1124.ru(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/spin(.*?)<\/a>/si','',$file);
$file = preg_replace('/<a href="http:\/\/spin(.*?)<\/a>/si','',$file);
$file = str_replace('http://waplog.net/ru/c.shtml?3724', "", $file);
$file = str_replace('http://c.waplog.net/ru/3724.cnt', "", $file);
$file = str_replace('<a href=""><img src="" alt="w" /></a>', "", $file);
$file = str_replace('Wapos (&#x0441;) 2007', "", $file);
$file = str_replace('<div class="header_don">', "", $file);
$file = str_replace('<div>', "", $file);
$file = str_replace('<div class="copyright">', "", $file);
$file = str_replace('</div>', "", $file);
$file = str_replace('<div class="header_down">', "", $file);
$file = str_replace('<p>', "", $file);
$file = str_replace('<div class="header">', "", $file);
$file = str_replace('&#x041D;&#x0430; &#x0433;&#x043B;&#x0430;&#x0432;&#x043D;&#x0443;&#x044E;', "", $file);
$file = str_replace('<a class="redurl" href="http://wapos.ru/index.php"></a>', "", $file);
echo $file; 
echo "<a href=\"../index.php\">На главную</a><br/>";
echo "</body></html>";
?>