<?phpif(!isset($suserid)){echo ' <tr><td class="header2">Log In:</td></tr><tr><td class="content2"><form action="'.$domain.'/login/" method="POST">Username:<br /> <input type="text" name="username">Password:<br /> <input type="password" name="password"><input type="submit" name="submit" value="Login"> Or <a href="'.$domain.'/signup/">Sign Up</a></form></td></tr>';}else{echo ' <tr><td class="header2">Hey!</td></tr><tr><td class="content2">Hey, <b>'.$usrdata['username'].'</b><br />You\'r logged in!</td></tr>';}?>
<table width="100%"> <?phpif(!isset($suserid)){echo ' <tr><td class="header2">Login</td></tr><tr><td class="content2"><form action="'.$domain.'/login/" method="POST"> <strong>Username:</strong><br /> <center><input type="text" name="username"></center><br /> <strong>Password:</strong><br /> <center><input type="password" name="password"></center><br /><div align="right"><input type="submit" name="submit" value="Login"> </div><br /><center>Need an account?<br /><a href="'.$domain.'/signup/">Sign up</a> now.</center></form></td></tr>';}else{echo ' <tr><td class="header2">Welcome</td></tr><tr><td class="content2">Hello, <b>'.$usrdata['username'].'</b> (<a href="http://zoovix.com/myaccount/">edit</a>)<br /><br />Enjoy the arcade, and have a great time!<br /><br /> Had enough of the arcade?Click <a href="'.$domain.'/logout/">here</a> to logout.<br /><br /></td></tr>';}?></table>