Размер файла: 1.06Kb
<?
if ($_SESSION['wap']=="xml")
{
//echo "<a href=\"http://waptrade.ru\">На главную</a><br/>";
$string=str_replace("&wap=wml","",$QUERY_STRING);
$string=str_replace("wap=wml","",$string);
$string=str_replace("&wap=xml","",$string);
$string=str_replace("wap=xml","",$string);
$string=str_replace("&","&",$string);
echo "<div class=\"cr\"><small>";
include ('online.php');
echo $div['end'];
echo "</body>
</html>";
}else{ //echo "<a href=\"http://wap.sasisa.ru\">На главную</a><br/>";
$string=str_replace("&wap=wml","",$QUERY_STRING);
$string=str_replace("wap=wml","",$string);
$string=str_replace("&wap=xml","",$string);
$string=str_replace("wap=xml","",$string);
$string=str_replace("&","&",$string);
if (!empty($string)) echo "WML | <a href=\"$PHP_SELF?$string&wap=xml\">HTML</a><br/>";
else echo "WML | <a href=\"$PHP_SELF?wap=xml\">HTML</a><br/>";
print'<a href="http://waplog.net/ru/c.shtml?34786"><img src="http://c.waplog.net/ru/34786.cnt" alt="waplog" /></a><br/>(с) EuroTeam 2008';
echo "</small></p></card></wml>";
}
?>