<?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>Погода на 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 (с) 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('На главную', "", $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>";
?>