View file weather.php

File size: 1.58Kb
<?php


$file = file("http://wap.gomobi.com.ua/ru/weather.php?$QUERY_STRING");
$file = @implode("", $file);

$file = str_replace('<p>wap.gomobi.com.ua', '',$file);

$file = preg_replace("~<a[^>]*avto[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*mark[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*day[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*sunrise[^<]+</a>~s", "",$file);

$file = str_replace('<a href="index.php">На главную</a>', '',$file);

$file = preg_replace("~<a[^>]*contact[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*en[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*us[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*admob[^<]+</a>~s", "",$file);

$file = preg_replace("~<a[^>]*gomobi[^<]+</a>~s", "",$file);

$file = preg_replace("~<img[^>]*Gomobi[^<]+</a>~s", "",$file);

$file = preg_replace("~<img[^>]*waplog[^<]+</a>~s", "",$file);



############
require_once"../template/start.php";
require_once"../template/regglobals.php";
require_once"../template/config.php";
require_once"../template/functions.php";
require_once"../template/maincore.php";
require_once"../template/antidos.php";
require_once"../template/cookies.php";
require_once"../template/gzip.php";
require_once"../template/header.php";
require_once"../template/referer.php";
include_once"../themes/$config_themes/index.php";

require_once"../template/isset.php";

print "<div class=\"body\">$file</div>";

echo'<a href="../index.php?'.SID.'">На главную</a>';
include_once"../themes/$config_themes/foot.php";
?>