<?php
include("require.php");
?>
<html>
<head>
<title>用户登录 - <?php echo $core_barname; ?> - 做最开放的中文社区</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size:12px; line-height:150%">
  <tr>
    <td><img src='logo.gif' alt="多彩贴吧"/></td>
  </tr>
  <tr>
    <td bgcolor="#EDF8FC">
	  <a href='index.php'>首页</a>&nbsp;
	  <?php
	    if(isset($_COOKIE["corew_user_name"]))
		  echo $_COOKIE["corew_user_name"]."&nbsp;<a href='action.php?action=quit'>退出</a>";
		else
		  echo "<a href='login.php'>登录</a>&nbsp;<a href='reg.php'>注册</a>";
	  ?>
	</td>
  </tr>
  <form action="action.php?action=gobar" method="post">
  <tr>
    <td><input name="searchname" type="text" size="15" maxlength="30" />&nbsp;&nbsp;<input type="submit" value="进入<?php echo $core_bartype; ?>" /></td>
  </tr>
  </form>
  <tr>
    <td bgcolor="#EDF8FC">会员登录&nbsp;&nbsp;<a href='index.php'>返回首页</a></td>
  </tr>
  <form action="action.php?action=login" method="post">
  <tr>
    <td>
	  用户帐号：<input name="username" type="text" size="20" /><br>
	  用户密码：<input name="passwd" type="password" size="20" /><br>
	  <input type="submit" value="登录" />
	</td>
  </tr>
  </form>
  <tr><td>Copyright 2010-2014 phpcolor.com 版权所有 <?php echo $core_wflow; ?></td></tr>
</table>
</body>
</html>