<?php
header("Cache-Control: no-cache, must-revalidate");
        include("config.inc.php");
header("Pragma: no-cache");
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\">";
echo "<wml>";
echo "<card id=\"card1\" title=\"FEATURES\">";
echo "<p align=\"center\">";
$Connect = mysql_connect("$server","$user","$pass");
mysql_select_db("$dbname");
$result=mysql_query("select * from members where username='$username' and password='$password'");
$number_of_rows = mysql_num_rows($result);
if ($number_of_rows>0)
{
        include("check.inc.php");
}
if ($ok>0)
{
        include("online.inc.php");

echo "SITE FEATURES<br/>";
?>
<br/>
<img src="line.gif" alt="----"/>
<br/>
<?php

echo "<br/><a href=\"chatbots.php?username=$username&amp;password=$password\">CHATBOTS</a>";

echo "<br/>";
echo "<br/><a title=\"Enter\" href=\"welcome.php?username=$username&amp;password=$password\">[Main Menu]</a>";

}
echo "</p>";
echo "</card>";
echo "</wml>";
?>