Просмотр файла telinfo/index.php

Размер файла: 4.54Kb
<?php
//Автор: diman007 
//сайт: http://softmob.us

header("Content-type:text/html; charset=utf-8");

# Ин

include 'head.php';

$file = file("http://softmob.ru/telinfo/?$QUERY_STRING");
$file = @implode("", $file);


$file = preg_replace("|(.*)wapix(.*)|","",$file);
$file = preg_replace("|(.*)1124(.*)|","",$file);
$file = preg_replace("|(.*)waplog.net(.*)|","",$file);


$file = str_replace('http://wapres.ru/video/?','?',$file);

$file = str_replace('<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">','',$file);

$file = str_replace('<html xmlns="http://www.w3.org/1999/xhtml">','',$file);
$file = str_replace('<head>','',$file);
$file = str_replace('<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml" charset="utf-8"/>','',$file);
$file = str_replace('<meta http-equiv="Cache-Control" content="max-age=600" forua="true" />','',$file);
$file = str_replace('
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8"/>','',$file);


$file = str_replace('<meta name="description" content="Сайс с бесплатными играми, приложениями, мелодиями для вашего мобильного телефона" />','',$file);

$file = str_replace('<meta name="keywords" content="Java, мобильный телефон, Сименс, CX65, приложения, игры, мелодии, S75, CX75, M75" />','',$file);
$file = str_replace('<meta name="author" content="Ar$eN" />','',$file);
$file = str_replace('<link rel="stylesheet" type="text/css" href="../stylesheet.css" />','',$file);
$file = str_replace('<title>SoftMob::Характеристики мобилных телефонов</title>','',$file);

$file = str_replace('</head>','',$file);
$file = str_replace('<body>','',$file);
$file = str_replace('<div class="top_block_blue"></div>	','',$file);
$file = str_replace('<div class="in_blue_block">','',$file);
$file = str_replace('</div>','',$file);
$file = str_replace('<div class="bottom_block_blue">','',$file);
$file = str_replace('<div class="in_white_block">','',$file);
$file = str_replace('<div>','',$file);
$file = str_replace('<div class="bottom_block_white">','',$file);
$file = str_replace('<br /><img src="http://softmob.ru/img/new.gif" alt=""/><a href="http://best.softmob.ru">Остров разврата</a><br/>','',$file);

$file = str_replace('<a href="http://softmob.ru">На главную</a>','',$file);
$file = str_replace('<img src="http://softmob.ru/img/new.gif" alt=""/><a href="http://best.softmob.ru">Раздень училку 2</a>','',$file);

$file = str_replace('<br/><a href="http://wap-kat.net/html/index.php?id=28">Wap-KaT</a><br />','',$file);
$file = str_replace('SoftMob.Ru 2006-2007<br/>','',$file);
$file = str_replace('<a href="waplog.mobi>','',$file);
$file = str_replace('</html>','',$file);

$file = str_replace('<img src="../img/secret.png" alt="-" />&nbsp;','<img src="/go.gif" alt="-" />',$file);

$file = str_replace("<a href='http://waplog.mobi/from.php?s_id=3'><img src='http://waplog.mobi/3.small' alt='WAPLOG.MOBI' /></a></body>",'',$file);


$file = str_replace('<img src="http://softmob.ru/img/new.gif" alt=""/><a href="http://best.softmob.ru">Закажи эксклюзивную Java игру</a>','',$file);

$file = str_replace('<img src="http://softmob.ru/img/new.gif" alt=""/><a href="http://best.softmob.ru">Остров разврата</a>','',$file);

$file = str_replace('<img src="http://softmob.ru/img/new.gif" alt=""/><a href="http://best.softmob.ru">Платное стало бесплатным</a>','',$file);

$file = str_replace('<img src="http://softmob.ru/img/new.gif" alt=""/><a href="http://best.softmob.ru">Самые свежие игры</a>','',$file);

$file = str_replace('<div class="top_block_white">','',$file);
$file = str_replace('<div class="head_title_white">','',$file);
$file = str_replace('<b>Выберете производителя:</b>','<br><b>Выберете производителя:</b><br/>',$file);
$file = str_replace('<div class="models">','',$file);

$file = str_replace('<a href="index.php?action=myphone">AUTO-Определение характеристик Вашего телефона</a>','<a href="about.php">AUTO-Определение характеристик Вашего телефона</a>',$file);





print "$file";

include 'foot.php';

# низ сайта (можно поставить счетчик, банер и тд...)

?>