moyles Posted February 14, 2008 Posted February 14, 2008 he was wondering how do u put a right and menu or a menu that gose along the top of the page which also gose along with a left ahnd menu ?? this is what i got so far in my header todo with menus function menuarea() { include "mainmenu.php"; global $ir,$c; $bgcolor = '804000'; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"> </td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"> <center>'; if($ir['hospital']) { print "[b]NB:[/b] You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "[b]NB:[/b] You are currently in jail for {$ir['jail']} minutes. "; } } function smenuarea() { include "smenu.php"; global $ir,$c; $bgcolor = '804000'; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"> </td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"><center>'; } function endpage() { global $db; print <<<OUT</center></td></tr></table></td><td class="rgrad"></td></tr><tr><td colspan="3"><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td class="dgradl"> </td><td class="dgrad"> </td><td class="dgradr"> </td></tr></table></td></tr></table>{$db->num_queries} queries</body></html>OUT; } } ?> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.