<?php
include("header.tpl.php");
include("bodytop.tpl.php"); 
include("navigation.tpl.php"); 
?>
<div class="clear"></div>  
		<div class="g_navigation">
		<a href="index.php">网站首页</a> >> 用户登录
		</div>
		<div class="clear"></div> 
	<div id="loginbody">
	 <div class="rl_u"></div>
			<div class="content">
				<h2>用户登录</h2>
			<div class="div_p">
			<form id="login_form" method="post" action="verify.php?action=loginin">
			<ul class="registerbody_ul font_14">
				<li class="label">用户账号:</li>
				<li class="inputform">
				<input type="text" id="login_userid" name="login_userid" tabindex="1">  &nbsp;&nbsp;
				<a href="register.php" >注册新账号</a>
				</li>
				<li class="label">登录密码:</li>
				<li class="inputform">
				<input type="password" id="login_userpwd" name="login_userpwd"  tabindex="2">  &nbsp;&nbsp;
				<a href="forgetpassword.php" >忘了密码</a>
				</li>
				<?php if($allowedauthcode{5}){ ?>
				<li class="label">验证码:</li>
				<li class="inputform">
				<input type="text" name="loginauthcode" class="authcode" tabindex="3">
				<div id="iauthcodediv"></div>
				</li>
					<SCRIPT LANGUAGE="JavaScript">
					changeauthcode();//加载验证码图片
					</SCRIPT>
			     <?php }?>
				<li class="label">&nbsp;</li>
				<li class="inputform"><input type="submit" value="登   录"></li>
				</ul>
				</form>
				</div>
				<div class="clear"></div> 
			</div>
			<div class="rl_d">&nbsp;</div>
	</div>
<?php
include("tail.tpl.php"); 
?>

<SCRIPT LANGUAGE="JavaScript">
	$('login_userid').focus();//页面初始化时,login_userid文本框获取焦点
</SCRIPT>