
<div id="main" class="mainwarp">

<div class="clear"></div>

<div class="postcontext">
    <div id="locationnav">
        当前位置：
        <a href="index.php">首页</a> >
        <a href="index.php?md=Affiliate_PZone_Views_ForgotPasswd">推广员找回密码</a>
    </div>

    <h3><center><?php echo L_G_DEFAULT_SUBJ_AFF_EMAIL_FORGOTPAS2; ?></center></h3>



    <?php   //输出消息
        QUnit_Global::includeTemplate('message.tpl.php');
    ?>


<script type="text/javascript">
function validate(form) {
  if (form.username.value == ""){
    alert("<?php echo L_G_YOUHAVETOENTEREMAIL?>");
    return false;
  }
  return true;
}
function validate2(form) {
  if (form.code.value == "" || form.code.value.length!=8){
    alert("<?php echo L_G_YOUEMAILCODEEMPTY?>");
    return false;
  }
  return true;
}
</script>


<form name="fstep1" action="" method="post" onsubmit="return validate(this)">
  <table class="tb_fgotpwd" border="0" align="center" width="100%">
<?php if($this->a_passwordResetSuccess) { ?>
  <tr>
    <td colspan="2" align="left">
        <b><a href="affiliates/index.php"><?php echo L_G_LOGIN?></a></b>
        <br><br>
    </td>
  </tr>
<?php } ?>
  <tr>
    <td colspan="2" align="center"><p class="postattrs"><b><?php echo L_G_STEP?> 1</b></p></td>
  </tr>
  <tr>
    <td align="right" width="150px"><b><?php echo L_G_USERNAME?>：&nbsp;</b></td>
    <td><input class="logon" type=text name="username" size="43" value=''><br /><?php echo L_G_ENTEREMAIL?></td>
  </tr>
  <tr>
    <td colspan="2" align="center">
      <input type="hidden" name="commited" value='yes'>
      <input type="hidden" name="md" value='Affiliate_PZone_Views_ForgotPasswd'>
      <input type="hidden" name=action value="check_user">
      <input type="hidden" name="postaction" value="step1">
      <input type="submit" class="formbutton" value="<?php echo L_G_SUBMIT2?>">
    </td>
  </tr>
  </table>
</form>


<form name="fstep2" action="" method="post" onsubmit="return validate2(this)">
  <table class="tb_fgotpwd" border="0" align="center" width="100%">
  <tr>
    <td colspan="2" align="center"><p class="postattrs"><b><?php echo L_G_STEP?> 2</b></p></td>
  </tr>
  <tr>
    <td align="right" width="150px"><b><?php echo L_G_CODE?>：&nbsp;</b></td>
    <td><input type="text" name="code" size="43"><br /><?php echo L_G_ENTERCODE?></td>
  </tr>
  <tr>
    <td colspan="2" align="center">
      <input type="hidden" name="commited" value='yes'>
      <input type="hidden" name="md" value="Affiliate_PZone_Views_ForgotPasswd">
      <input type="hidden" name=action value="check_user">
      <input type="hidden" name="postaction" value="step2">
      <input type="submit" class="formbutton" value="<?php echo L_G_SUBMIT2?>">
    </td>
  </tr>
  </table>
</form>





</div><!--end.postcontext-->


<?php QUnit_Global::includeTemplate('sidebox.tpl.php'); ?>

<div class="clear"></div>

</div><!--end.pageCenter-->

