View file index.php

File size: 781B
<?
include("config.php");
$file=file_get_contents("http://wap.sasisa.ru/themes/index.php?wap=2");
$file=preg_replace('|<img src="img/dir.gif"(.*?)/>|','<img src=f.gif>',$file); $file=preg_replace('|<img src="img/top.gif"(.*?)/>|','<br><img src=Top.gif>',$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('|<div style=(.*?)</div>|',"",$file); $file=preg_replace('/<style type="text\/css">(.*?)<\/style>/si','<link rel="stylesheet" type="text/css" href="style.css"/>',$file); $file=str_replace('wap.sasisa.ru',$site,$file);
$file=str_replace('<hr />','',$file); $file=str_replace('genres.php','file.php',$file);
echo $file;
?>