<?php /* ------------------------- */
$dbresxa = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 AND gameid={$_SESSION['gameid']}"); $dbres = mysql_query("SELECT id FROM `[users]` WHERE gameid={$_SESSION['gameid']}"); $select = mysql_query("SELECT login FROM `[users]` WHERE gameid={$_SESSION['gameid']} ORDER BY signup DESC LIMIT 0,1");
<br/>
ENDHTML;
if($data) {
<table align="center" cellpadding="2" cellspacing="0" width="99%">
<tbody><tr>
<td class="subTitle" colspan="3">Quick Menu</td>
</tr>
<tr>
<td class="maintxt" colspan="3" align="center">
<table align="center">
<tbody><tr>
<td align="center" width="120">
<table align="center" width="100"><tbody><tr><td width="18"><img alt="Partner" src="images/smilies/money.png" height="16" width="16">
</td>
<td width="100"><a href="{$site_url}?pagina=menu_casino">Casino</a></td></tr></tbody></table>
</td>
<td align="center" width="120">
<table align="center" width="100"><tbody><tr><td width="18"><img alt="Partner" src="images/smilies/eye.png" height="16" width="16">
</td>
<td width="100"><a href="{$site_url}?pagina=menu_misdaden">Misdaden</a></td></tr></tbody></table>
</td>
<td align="center" width="120">
<table align="center" width="100"><tbody><tr><td width="18"><img alt="Partner" src="images/smilies/bullet.gif" height="16" width="16">
</td>
<td width="100"><a href="{$site_url}?pagina=menu_moord">Moord</a></td></tr></tbody></table>
</td>
<td align="center" width="120">
<table align="center" width="100"><tbody><tr><td width="18"><img alt="Partner" src="images/smilies/newspaper.png" height="16" width="16">
</td>
<td width="100"><a href="{$site_url}?pagina=menu_familie">Familie</a></td></tr></tbody></table>
</td>
<td align="center" width="120">
<table align="center" width="100"><tbody><tr><td width="18"><img alt="Partner" src="images/smilies/foutje.png" height="16" width="16">
</td>
<td width="100"><a href="{$site_url}?pagina=logout">Logout</a></td></tr></tbody></table>
</td>
</tr>
ENDHTML;
}
if($data->login == $ssdata->naam) {
<br>
<table class="menu" width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td class=subTitle colspan=2><b>Administrator Opties</b></td>
<tr><td width=5 class="menuTitle1">
<td><center><a href="{$site_url}?pagina=menu_admin"><b><font color="yellow"><img src='images/smilies/icon_star_gold.gif' border='0'> Klik hier om naar het administrator menu te gaan</font> <img src='images/smilies/icon_star_gold.gif' border='0'></b></a></center></td></tr>
</table>
ENDHTML;
}
if($data->hulpadmin == 1) {
<br>
<table class="menu" width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td class=subTitle colspan=2><b>Hulpadmin Opties</b></td>
<tr><td width=5 class="menuTitle1">
<td><center><a href="{$site_url}?pagina=menu_hulpadmin"><b><font color="yellow"><img src='images/smilies/icon_star_gold.gif' border='0'> Klik hier om naar het hulp admin menu te gaan</font></b> <img src='images/smilies/icon_star_gold.gif' border='0'></a></center></td></tr>
</table>
ENDHTML;
}
if($data->login == admin) {
<br>
<table class="menu" width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td class=subTitle colspan=2><b>Special Opties</b></td>
<tr><td width=5 class="menuTitle1">
<td><center><a href="{$site_url}?pagina=menu_specialoptions"><b><font color="red">Special Admin Menu</font></b></a></center></td></tr>
</table>
ENDHTML;
}
if($data->login == admin) {
<br>
<table class="menu" width=100% cellpadding=0 cellspacing=0 align=center>
<tr><td><table width=100% cellpadding=0 cellspacing=0>
<tr><td></td>
<td></td></tr>
</table>
<table width=100% cellpadding=0 cellspacing=0 ID="admin3">
</td></tr>
</tbody></table>
</td>
</tr>
</tbody>