if($wrongTimes > 2) { ?> <tr> <td align="right">验证码:</td> <td align="left"> <input style="float:left" type="text" name="verifyStr" id="verifyStr" class="fr random_input ml10"><span style="float:left;cursor:pointer;margin-left:10px;"><img name="captcha" id="captcha"> </span> <input id="token" name="token" type="hidden" /> <input id="captchaId" name="captchaId" type="hidden" /> </td> </tr> <?php } ?> <tr> <td align="right"> </td> <td align="left"> <input type="button" id="button_1" class="login_anniu" value="登 录"/> <?php echo getHiddenInput($hiddenTypes, 'login'); ?> <input name="buttontype" type="hidden" id="buttontype" value="1" /> <input name="confirm" type="hidden" id="confirm" value="1" /> <?php //这个直接接verify加到forward中就可以了,为什么要单独处理? if ($request->errmsg == 1){?> <input name="forward" type="hidden" value="<?=$request->forward."&verify=".$request->verify?>" /> <?php }else{?> <input name="forward" type="hidden" value="<?=$forward?>" /> <?php }?> <input name="skiplogin" type="hidden" value="1" /> <a href="http://<?=URL_PREFIX?>passport.haodf.com<?=$router->urlfor('user/resetpassword')?>?input=<?=$mobileOrEmail?>">找回密码!</a> </td> </tr> <tr>
{ $.post("/user/ajaxchangeverifycode",function(data) { var newToken=data['token']; var newCid=data['captchaId']; $("#registercaptcha").attr('src', "http://www.<?=URL_PREFIX?>haodf.com/captcha.php?type=login&width=70&height=20&token="+newToken); $("#registertoken").val(newToken); $("#registerCaptchaId").val(newCid); $("#registerverifyStr").val(''); },"json"); } </script> <!--end sui zhen--> <tr> <td align="right" valign="top"> </td> <td align="left"> <a target="_blank" class="lightblue underline font12" href="http://info.haodf.com/info/eula.php">《好大夫网服务条款》</a> </td> </tr> <tr> <td align="right" valign="top"> </td> <td align="left"><input type="button" style="cursor:pointer;border:none" class="reg_anniu" onclick="submitRegister(this)" value="同意服务条款,注册!"> </td> </tr> </tbody> </table> <input name="buttontype" type="hidden" id="buttontype" value="2" /> <input name="forward" type="hidden" id="forward" value="<?=$forward?>" /> <?php echo getHiddenInput($hiddenTypes, 'reg'); ?> <!--<script type="text/javascript" src="http://i1.hdfimg.com/js/fm.js"></script>--> </form>