<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>忘记密码？{#$web_config.poweredby#}</title>
<link rel="stylesheet" type="text/css" href="../templates/www/{#$web_config.temp -> dir#}/css/{#$web_config.temp -> style#}.css" />
<link rel="stylesheet" type="text/css" href="./css/user.css" />
<script language="javascript" src="{#$base_weburl#}/js/jquery.min.js" ></script>
<script language="javascript" src="{#$base_weburl#}/js/common.js" ></script>
<script language="javascript">
	var base_weburl = '{#$base_weburl#}';
	function submitFun()
	{
		var iduse_name 		= document.getElementById('use_name');
		var iduse_email 	= document.getElementById('use_email');
		var iduse_code 		= document.getElementById('use_code');
		patn = /^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
		
		if(iduse_name.value=='')
		{
			alert(' 提 示：会员帐号不能为空！请输入！');
			iduse_name.focus();
			return false;
		}else if(iduse_email.value=='')
		{
			alert(' 提 示：邮箱不能为空！请输入！');
			iduse_email.focus();
			return false;
		}else if(!patn.test(iduse_email.value))
		{
			alert ("提示：\n\n电子邮件格式不正确，请输入正确的电子邮件地址！");
			iduse_email.focus (); 
			return false; 
		}
		
		if(iduse_code.value=='')
		{
			alert(' 提 示：验证码不能为空！请输入！');
			iduse_code.focus();
			return false;
		}
	}
</script>
</head>
<body>
{#include file="./cover/header.tpl"#}
{#include file="./cover/web_address.tpl"#}
<div class="maincss">

	<table width="100%" cellpadding="0" cellspacing="0" >

	<tr align="center" >
	<td ><form action="{#$base_weburl#}/user/index.php?load=login&act=pwdmail" method="post" onsubmit="return submitFun(this)">
	<input type="hidden" name="backurl" id="backurl" value="{#$backurlval#}"  />
<table width="660" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" align="center"><span style="font-weight:bolder; text-align:center;" >{#$userInfo["use_name"]#}忘记密码？</span></td>
  </tr>
  <tr>
    <td align="right" height="25">新&nbsp;密&nbsp;码：</td><td align="left"><input type="passwd" name="use_pwd" id="use_pwd" value=""  style="width:180px;"></td>
  </tr>

  <tr>
    <td align="right"  height="25">确认密码：</td><td align="left"><input type="passwd" name="use_repwd" id="use_repwd"  value=""  style="width:180px;"></td>
  </tr>

  <tr>
    <td align="right"  height="25"><img src="{#$base_weburl#}/images/uc.gif" />验证码：</td>
    <td align="left"><table height="23"><tr><td ><input name="use_code" id="use_code" value="" type="text" style="width:100px;" ></td><td><img src="{#$base_weburl#}/application/imgCode.php" width="65" height="22" align="bottom" onclick="this.src='../application/imgCode.php?time='+Math.random();" id="idimgCode" style="cursor:pointer;" /></td></tr></table></td>
  </tr>

  <tr>
    <td colspan="2" align="center"  height="25"><input type="submit" name="submit" id="submit" value="提 交">
	<input  type="hidden" name="idkey" id="idkey" value="{#$idkey#}" >
	<input  type="hidden" name="type" id="type" value="{#$type#}" >
	<input  type="hidden" name="pd" id="pd" value="{#$pd#}" >
	</td>
  </tr>

  
  <tr>
    <td colspan="2" width="100%">&nbsp;</td>
  </tr>
  
  <tr>
    <td colspan="2" width="100%"><table width="100%" align="left"><tr><td><span style="font-weight:bolder">分享到：</span></td><td><!-- Baidu Button BEGIN HuCart.COM ADD  -->
    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
        <a class="bds_qzone">QQ空间</a>
        <a class="bds_tsina">新浪微博</a>
        <a class="bds_tqq">腾讯微博</a>
        <a class="bds_renren">人人网</a>
        <span class="bds_more">更多</span>    </div>
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
<!-- Baidu Button END HuCart.COM ADD --></td></tr></table></td>
  </tr>
  
</table>

</form>
	</td>
	</tr>
	</table>
</div>

{#include file="./cover/footer.tpl"#}
</body>
</html>