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

Размер файла: 740B
<?
header("Content-type: text/vnd.wap.wml"); 
echo "<?xml version=\"1.0\"?>"; 
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""." \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; 

include("wapbuddy_settings.php");
?> 
<wml> 
<card id="card1" title="<? echo $conf["site_name"] ?>"> 
	
	<p mode="nowrap">
		<b><? echo $conf["site_name"] ?></b><br/>
		<? echo $conf["welcome_message"] ?><br/>
	</p>
	<p mode="nowrap">
		<b>Downloads</b><br/>
		<? for ($i=0;$i<sizeof($conf["dirs"]);$i++) { ?>
			<a href="<?echo $conf["dirs"][$i]."/index.php";?>"><?echo $conf["dirs"][$i];?></a><br/>
                <? } ?>		
		<br/><a href="http://jonroig.com/phoneinfo.php">check phone info</a><br/>
	</p>
</card> 
</wml>