<html>
<head>
<title>login</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<form method="post" action="logging.php?action=login" target="_blank">
<input type="hidden" name="referer" value="index.php">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>用户名</td>
<td>
<input type="text" name="username">
</td>
</tr>
<tr>
<td>密码</td>
<td>
<input type="password" name="password">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="loginsubmit" value="登录">
<input type="reset" name="reset" value="重置">
<input type="button" value="注册" onclick="javascript: this.form.action='register.php';this.form.submit();">
<input type="button" value="游客" onclick="javascript: this.form.action='index.php';this.form.submit();">
</td>
</tr>
</table>
</form>
</body>
</html>