File size: 1.12Kb
<?
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\">";
include ('http://wmwap.ru/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\">xhtml</a><br/>";
//echo "<br/><center>©$oursite</center><br/>";
print'<a href="http://waplog.net/ru/c.shtml?34787"><img src="http://c.waplog.net/ru/34787.cnt" alt="waplog" /></a><br/>(с) EuroTeam 2008';
echo "</small></p></card></wml>";
}
?>