File size: 2.07Kb
<?
###########################
## Автор: Haruka ##
## --------- ##
## ICQ:444-977-782 ##
## ##
## Доработка: *CRIME* ##
## ------------- ##
## ICQ:699-322 ##
## Посети ##
## http://skywap.su ##
###########################
############################################################
## ##
## Скрипт преднозначен для бесплатного распространения ##
## ##
############################################################
if ($_SESSION['wap']=="xml")
{
echo $div['header'];
$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 "HTML | <a href=\"$PHP_SELF?$string&wap=wml\">WML</a>\n";
else
echo "HTML | <a href=\"$PHP_SELF?wap=wml\">WML</a>\n";
echo "<br/>\n<center>\n<a href=\"http://waplog.mobi/from.php?s_id=13528\"><img src=\"http://waplog.mobi/13528.main\" alt=\"waplog.mobi\" /></a>\n</center>\n";
echo $div['end'];
echo "<small>\n<b>\n<center>\n©<a href=\"http://".$_SERVER["HTTP_HOST"]."\">$title</a>\n</center>\n</b>\n</small>\n";
echo "</body>\n</html>";
}
else
{
$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/>\n";
else
echo "WML | <a href=\"$PHP_SELF?wap=xml\">HTML</a><br/>\n";
//echo "<center>\n<a href=\"http://waplog.net/ru/c.shtml?5617\"><img src=\"http://c.waplog.net/ru/5617.cnt\" alt=\"\" /></a>\n</center>\n<br/>\n";
echo "<center>\n©<a href=\"http://".$_SERVER["HTTP_HOST"]."\">$title</a>\n</center>\n";
echo "</small>\n</p>\n</card>\n</wml>";
}
?>