index.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. use fec\helpers\CRequest;
  10. $this->title = 'Dashboard';
  11. ?>
  12. <script>
  13. function sbt(thiss, navTabAjaxDone){
  14. return validateCallback(thiss, navTabAjaxDone);
  15. }
  16. </script>
  17. <div class="pageContent">
  18. <form method="post" action="<?= $editUrl ?>" class="pageForm required-validate" onsubmit="return sbt(this, navTabAjaxDone);">
  19. <?php echo CRequest::getCsrfInputHtml(); ?>
  20. <div class="pageFormContent" layoutH="56" style="width:450px;">
  21. <p>
  22. <label>账号:</label>
  23. <input value="<?php echo $current_account; ?>" name="" id="username" type="text" size="30" readonly="readonly"/>
  24. </p>
  25. <p>
  26. <label>旧密码:</label>
  27. <input class=" " title="old Password" value="" name="updatepass[old_password]" id="old_password" type="password" size="30" />
  28. </p>
  29. <p>
  30. <label>新密码:</label>
  31. <input class=" " title="New Password" value="" name="updatepass[new_password]" id="new_password" type="password" size="30" />
  32. </p>
  33. <p>
  34. <label>密码确认:</label>
  35. <input class="" equalto="#new_password" value="" name="updatepass[password_repeat]" id="password_repeat" type="password" size="30" >
  36. </p>
  37. </div>
  38. <div class="formBar">
  39. <ul>
  40. <!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
  41. <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
  42. <li>
  43. <div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
  44. </li>
  45. </ul>
  46. </div>
  47. </form>
  48. </div>