Просмотр файла WapRedirect/index.php

Размер файла: 1.09Kb
<?

	////		////		////		////
	////	Author: SallSon	(Alek)			////
	////	Version: 1.2				////
	////	Site: http://sallson.surfs.it		////
	////		////		////		////


$GlKod="
	<br/>
	<p align=\"center\">

	Your code here!

	<br/><br/><br/>
	----------<br/>
	<a href=\"http://sallson.surfs.it\">SallSon</a>
	<br/></p>
";

if ($HTTP_ACCEPT=="text/vnd.wap.wml") {

Header("Content-Type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";

?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="c1" title="SallSon">
<?
echo "
$GlKod
";
?>
</card>
</wml>


<?
} else {
?>

<html>
<head>
<meta name="description" content="SallSon - WapRedirect">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>SallSon</title>
<style type="text/css">
 body {font-family: arial; color: #000000; background-color: #eeeeee}
 div {margin: 2px 1px 2px 1px }
 a {color:#3366cc;}
 a:visited{color:#3366cc;}
</style>
</head>
<body>
<?
echo "
$GlKod
";

?>

</div>
</body>
</html>

<? } ?>