File size: 720B
<?
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>Pictures</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://wap.c100fun.com.ru">Home</a><br/>
</p>
</card>
</wml>