<?php
include("header.tpl.php");
include("bodytop.tpl.php"); 
include("navigation.tpl.php"); 
?>
		<div class="g_navigation" >
		<a href="index.php">网站首页</a> >> 用户忘记密码
		</div>

<?php if($action=="modifypwd"){?>
<div id="forgetpasswordbody">
	 <div class="rl_u"></div>
		<div class="content">
			<h2>设置用户新密码</h2>
			   <div class="div_p">
			       <form id="regmember" method="post" action="forgetpassword.php?action=updatepwd">
			           <ul class="registerbody_ul font_14">
				           <li class="label">新密码
						       <input type="hidden" name="forget_uid" value="<?php echo $foregetuid?>">
			             	   <input type="hidden" name="forget_mailcode" value="<?php echo $mailcode?>">
				           </li>
				           <li class="inputform"><input type="password" name="new_pwd" >  </li>
				           <li class="label"></li>
				           <li class="inputform">
				         <input type="submit" value="提    交"></li>
			           </ul>
				      </form>
				   <div class="clear"></div> 
	            </div>
			<div class="rl_d"></div>
	</div>
<?php }else{ ?>


	<div id="forgetpasswordbody">
	 <div class="rl_u"></div>
			<div class="content">
				<h2>用户忘记密码</h2>
			<div class="div_p">
			<form id="regmember" method="post" action="forgetpassword.php?action=getpwd">
			<ul class="registerbody_ul font_14">
				<li class="label">验证码:</li><li class="inputform">
				<input type="text" name="forgetauthocode" class="authcode">
				<div id="iauthcodediv"></div>
				</li>

				<li class="label">注册Email:</li>
				<li class="inputform"><input type="text" id="qemail" name="reg_email" >  </li>
				<li class="label"></li>
				<li class="inputform">
				<input type="submit" value="提    交"></li>
			</ul>
				</form>
				</div>
				<div class="clear"></div> 
			</div>
			<div class="rl_d"></div>
	</div>
<?php }
include("tail.tpl.php"); 
?>
<SCRIPT LANGUAGE="JavaScript">
changeauthcode();
</SCRIPT>
