Просмотр файла waplend/w/XXXX/pic.php

Размер файла: 851B
<?php

include "setup.php";


header ("Content-type: text/vnd.wap.wml; charset=utf-8");



$file = file("http://simka.info/picture/pic.php?$QUERY_STRING");

$file = @implode("", $file);

$file = ereg_replace("/picture/", "/$pap/",$file);



$file = preg_replace('/<p(.*?)<img /is', "<p mode=\"nowrap\" align=\"center\"><small>
$verh <img ",$file);

$file = preg_replace('/<a href="http:\/\/waplog(.*?)<\/card>/is', "$niz $bans </small></p></card>",$file);









$file = preg_replace('/<img src="http:\/\/c.waplog(.*?)\/>/is', '',$file);





$file = ereg_replace('simka.info', "$site",$file);









$file = ereg_replace('<img src="./', '<img src="mig.php?',$file);


$file = preg_replace('/<card(.*?)">/is', "<card id=\"XXX\" title=\"$title\">",$file);











print "$file";

?>