Index_password.html 1.4 KB

123456789101112131415161718192021222324
  1. <script>
  2. if(self==top){
  3. window.top.location.href = '{:U("Login/index")}';
  4. }
  5. function resetVerifyCode(){
  6. var timenow = new Date().getTime();
  7. document.getElementById('verifyImage').src= '{:U("Home/Index/verify")}#'+timenow;
  8. }
  9. </script>
  10. <style>.mainnav_title{display:none;}</style>
  11. <form id="myform" method='post' name="login" action="{:U('Index/password')}">
  12. <table cellpadding=0 cellspacing=0 class="table_form" width="100%">
  13. <tr><td width="140">{:L('oldpassword')}</td><td><input type="password" class="input-text" name="oldpassword" validate=" required:true, minlength:5, maxlength:20"></td></tr>
  14. <tr><td>{:L('newpassword')}</td><td><input type="password" class="input-text" name="password" id="password" validate=" required:true, minlength:5, maxlength:20"></td></tr>
  15. <tr><td>{:L('repassword')}</td><td><input type="password" class="input-text" name="repassword" validate=" required:true,equalTo: '#password', minlength:5, maxlength:20"></td></tr>
  16. <tr><td>{:L('verify')}</td><td><input type="text" class="input-text" size="6" name="verify"> <img SRC="{:U('Home/Index/verify')}" BORDER="0" ALT="{:L('reverify')}" id="verifyImage" onClick="resetVerifyCode()" style="cursor:pointer" align="absmiddle"></td></tr>
  17. </table>
  18. <div class="btn">
  19. <INPUT TYPE="submit" name="dosubmit" value="{:L('dosubmit')}" class="button buttonBtn" >
  20. <input type="reset" value="{:L('cancel')}" class="button">
  21. </div>
  22. </form>