View file sonic.php

File size: 1.32Kb
<?php


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

$file = str_replace('<p>wap.gomobi.com.ua', '',$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("~<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";
?>