View file tv.php
<?php $file = file("http://wap.gomobi.com.ua/ru/tv.php?$QUERY_STRING"); $file = @implode("", $file); $file = str_replace('<p>wap.gomobi.com.ua', '',$file); $file = preg_replace("~<img[^>]*logo[^<]+</a>~s", "",$file); $file = str_replace('<a href="index.php">На главную</a>', '',$file); $file = str_replace('<a href="contact.php">Контакты</a><br/>', '',$file); $file = preg_replace("~<a[^>]*en[^<]+</a>~s", "",$file); $file = str_replace('<br/>Раздел подготовлен при поддержке:<br/><a href="http://kinoport.net">http://kinoport.net</a>', '',$file); $file = preg_replace("~<a[^>]*admob[^<]+</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"; ?>