File size: 999B
<?php
include '../inc/head.php';
$file=file_get_contents('http://films.wapos.ru/new.php?'.$_SERVER['QUERY_STRING']);
$file=str_replace('<div class="logo"><img src="/img/logo.gif" alt="" /></div>','', $file);
$file=str_replace('<img src="base/','<img src="http://films.wapos.ru/base/', $file);
$file=preg_replace('|<div class="foot"(.*?)</div>|is','',$file);
$file=str_replace('<a href="base/','<a href="http://films.wapos.ru/base/', $file);
$file=preg_replace('|<a href="http://wap.1124.ru(.*?)</a>|is','',$file);
$file=str_replace('<a href="http://waplog.net/c.shtml?307766"><img src="http://c.waplog.net/307766.cnt" alt="waplog" /></a>','', $file);
$file=str_replace('http://films.wapos.ru/base/','img.php?im=', $file);
$file=str_replace('<?xml version="1.0" encoding="UTF-8"?>','', $file);
$file=preg_replace('|<!DOCTYPE html PUBLIC(.*?)ru">|is','',$file);
$file=preg_replace('|<div class="logo(.*?)/div>|is','',$file);
echo $file;
include '../inc/foot.php';
//include ('../foot.php');
?>