<table border=0 cellspacing=2 cellpadding=0 width=180 align=center>
<tr valign=top>
<th valign=middle width=180 class=cboxheader>
User Login
</th>
</tr>
<tr valign=top>
<td valign=top width=180 class=cboxcontent>
<? if ($pubusername!="") { ?>
  <form action="input.php" method="post" name="frm_logout" id="frm_logout">
  <?
  echo "User Name: <br><b>".$pubuserfullname."</b><br>";
  echo "User Level: <br><b>".users_cstr_role($pubuserrole)."</b>";
  echo "<br>";
  echo "Login Time: <br>".$publogintime."<br>";	//.mktime(14,30,0,11,4,2009);
  ?>
  <br>
  <input name="job" type="hidden" id="job" value="general_logout">
  <button name="logout" type="submit" id="logout" value="logout"><img src='gfx/nav/first.png' class='actionbutton'>&nbsp;&nbsp;Logout</button>
  </form>
<? } else { ?>
  <form action="input.php" method="post" name="frm_login" id="frm_login">
  Username<br>
  <input name="username" type="text" id="username" value=""><br>
  Password<br>
  <input name="password" type="password" id="password" value=""><br>
  <input name="job" type="hidden" id="job" value="general_login">
  <button name="login" type="submit" id="login" value="login">Login</button>
  <button name="reset" type="reset">Reset</button><br>
  </form>
<? } ?>
</td>
</tr>
</table>
