Размер файла: 2.59Kb
<?
###########################
## Автор: Haruka ##
## --------- ##
## ICQ:444-977-782 ##
## ##
## Доработка: *CRIME* ##
## ------------- ##
## ICQ:699-322 ##
## Посети ##
## http://skywap.su ##
###########################
############################################################
## ##
## Скрипт преднозначен для бесплатного распространения ##
## ##
############################################################
echo $div['header'];
$string=str_replace("&","&",$QUERY_STRING);
if ($_SESSION['rate']=='dol')
echo "Валюта: Доллары | <a href=\"$PHP_SELF?$string&rate=rub&".session_name()."=".session_id()."\">Рубли</a>\n";
else
echo "Валюта: <a href=\"$PHP_SELF?$string&rate=dol&".session_name()."=".session_id()."\">Доллары</a> | Рубли\n";
if ($_SESSION['wap']=="wml")
echo "<br/>\n";
echo $div['end'];
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 "xhtml | <a href=\"$PHP_SELF?$string&wap=wml\">wml</a>\n";
else
echo "[xhtml | <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.small\" 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\">xhtml</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>";
}
?>