<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>登录</title>
<style>
a						{ text-decoration: none; color: #666666 }
a:hover					{ text-decoration: underline }
body					{ font-size: 12px; font-family:"微软雅黑"; line-height:26px; }
table					{ font-size: 12px; font-family:"微软雅黑"; }
td                      { height:34px; border-bottom:1px dotted #CCCCCC}	
img                     { border:0; padding:0}
input,select,textarea	{ font-size: 12px; font-family:"微软雅黑"; line-height:22px; font-weight: normal; }
select					{ font-size: 12px; font-family:"微软雅黑"; line-height:28px; font-weight: normal; }
.category				{ font-size: 12px; font-family:"微软雅黑"; line-height:28px; color: ; background-color:#244986}
.singleborder			{ font-size: 0px; line-height: 1px; padding: 0px; background-color: #244986 }
.bold					{ font-weight: bold }

/*修改主要色调*/
.header					{ font-size: 14px; font-family:"微软雅黑";  height:35px; color:#244986; font-weight: bold; background-color:#fff}
.header a				{ color: #FFFFFF }
.tableborder			{border: 1px solid #CCCCCC } 

/*分页样式*/
.epages{margin:3px 0;font:11px/12px Tahoma}
.epages *{vertical-align:middle;}
.epages a{padding:1px 4px 1px;border:1px solid #A6CBE7;margin:0 1px 0 0;text-align:center;text-decoration:none;font:normal 12px/14px verdana;}
.epages a:hover{border:#659B28 1px solid;background:#f3f8ef;text-decoration:none;color:#004c7d}
.epages input{margin-bottom:0px;border:1px solid #659B28;height:15px;font:bold 12px/15px Verdana;padding-bottom:1px;padding-left:1px;margin-right:1px;color:#659B28;}

</style>

</head>

<body>
  <table width="500" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder"  style="margin-top:30px">
  <form name="form1" method="post" action="../doaction.php">
    <input type=hidden name=ecmsfrom value="<?=ehtmlspecialchars($_GET['from'])?>">
    <input type=hidden name=prtype value="<?=ehtmlspecialchars($_GET['prt'])?>">
    <input type=hidden name=enews value=login>
    <tr class="header"> 
      <td height="25" colspan="2"><div align="center">会员登陆</div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="24%" height="25">用户名：</td>
      <td width="76%" height="25"><input name="username" type="text" id="username"></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="25">密码：</td>
      <td height="25"><input name="password" type="password" id="password"></td>
    </tr>
	 <tr bgcolor="#FFFFFF">
      <td height="25">保存：</td>
      <td height="25"> 
        <select name="lifetime">
          <option value="0">不保存</option>
		  <option value="3600">一小时</option>
		  <option value="86400">一天</option>
		  <option value="2592000">一个月</option>
		  <option value="315360000">永久</option>
        </select>
     </td>
    </tr>
    <?php
	if($public_r['loginkey_ok'])
	{
	?>
    <tr bgcolor="#FFFFFF"> 
      <td height="25">验证码：</td>
      <td height="25"><input name="key" type="text" id="key" size="10">
         <img src="../../ShowKey/?v=login" onclick="javascript:this.src='../../ShowKey/?v=login&tm=+Math.random();'"  style="vertical-align:middle;cursor:pointer"/> <span style="color:#666;vertical-align:bottom">  (点击图片更换)</span></td>
    </tr>
    <?php
	}	
	?>
    <tr bgcolor="#FFFFFF"> 
      <td height="25" style="border-bottom:0">&nbsp;</td>
      <td height="25" style="border-bottom:0"><input type="submit" name="Submit" value="登陆" style="width:60px;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="button" value="注册" onClick="window.open('../register/');" style="width:60px;"></td>
    </tr>
	</form>
  </table>
</body>
</html>