View file theme.php

File size: 919B
<?
include("config.php");
$file=file_get_contents("http://wap.sasisa.ru/themes/games.php?".$_SERVER['QUERY_STRING'].""); 
$file=preg_replace('|<div style=(.*?)</div>|',"",$file); $file=preg_replace('/<style type="text\/css">(.*?)<\/style>/si','<link rel="stylesheet" type="text/css" href="style.css"/>',$file); $file=preg_replace('|<div class="c2">(.*?)</div>|',"<div class=rekl>$rekl1</div>",$file); $file=preg_replace('|<div class="c3">(.*?)</div>|',"<div class=rekl>$rekl2</div>",$file); $file=preg_replace('|<img src="img/dir.gif"(.*?)/>|','<img src=f.gif>',$file); $file=preg_replace('|<img src="img/top.gif"(.*?)/>|','<img src=Top.gif>',$file); $file=str_replace('<hr />','',$file); $file=str_replace('game.php','view.php',$file); $file=str_replace('themes/games.php','theme.php',$file);
$file=preg_replace('|<img src="img/up.gif"(.*?)/>|','<img src=http://wap.sasisa.ru/themes/img/up.gif>',$file);
echo $file;
?>