<?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=\"$username numbers\">"; 
echo "<p align=\"center\">";
{
 $sqlthing = mysql_query("SELECT * FROM lottery WHERE username='$username'");
$username=$username;
$one=(mysql_result($sqlthing,0,"one"));
$two=(mysql_result($sqlthing,0,"two"));
$three=(mysql_result($sqlthing,0,"three"));
$four=(mysql_result($sqlthing,0,"four"));
$five=(mysql_result($sqlthing,0,"five"));
$six=(mysql_result($sqlthing,0,"six"));


echo "my virtual lottery numbers.<br/>";
echo "one: ";
printf($one);
echo "two: ";
printf($two);
echo "three: ";
printf($three);
echo "four: ";
printf($four);
echo "five: ";
printf($five);
echo "six: ";
printf($six);




}

?>
<br/>
<img src="bar.jpg" alt="===="/>
<br/>
<?php


echo "<br/>";
echo "<a href=\"whosonline.php?username=$username&amp;session=$session\">(Who's Online)</a>";
echo "<br/>";
echo "<a href=\"welcome.php?username=$username&amp;session=$session\">(Main Menu)</a>";

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