Просмотр файла name.php

Размер файла: 1.46Kb
<?php


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

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

$file = str_replace('Поиск только на русском:', '',$file);

$file = str_replace('Имя:', '',$file);

$file = preg_replace("~<input(.*)anchor><br/>~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[^>]*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";
?>