国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
6.0KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
  5. <title>更改帐号基本资料 - 会员中心 - <?php echo $cfg_webname; ?></title>
  6. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="templets/js/jquery.min.js"></script>
  8. <script type="text/javascript" language='javascript'src='templets/js/main.js'></script>
  9. <script type="text/javascript" src="templets/js/load.js"></script>
  10. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  11. <script type="text/javascript">
  12. function checkSubmit()
  13. {
  14. if(document.form2.oldpwd.value=='')
  15. {
  16. document.form2.oldpwd.focus();
  17. alert("旧密码必须填写!");
  18. return false;
  19. }
  20. if(document.form2.userpwdok.value!=document.form2.userpwd.value)
  21. {
  22. document.form2.userpwdok.focus();
  23. alert("两次密码不一致!");
  24. return false;
  25. }
  26. if(document.form2.email.value=="")
  27. {
  28. document.form2.email.focus();
  29. alert("Email不能为空!");
  30. return false;
  31. }
  32. if(document.form2.uname.value=="")
  33. {
  34. document.form2.uname.focus();
  35. alert("用户昵称不能为空!");
  36. return false;
  37. }
  38. if(document.form2.vdcode.value=="")
  39. {
  40. document.form2.vdcode.focus();
  41. alert("验证码不能为空!");
  42. return false;
  43. }
  44. }
  45. </script>
  46. </head>
  47. <body>
  48. <div id="main">
  49. <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  50. <div id="content" class="w960 clearfix">
  51. <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  52. <div id="mcpmain">
  53. <div id="appTab">
  54. <ul>
  55. <li class="thisTab"><a href="edit_baseinfo.php">基本资料</a></li>
  56. <li><a href="edit_fullinfo.php">详细资料</a></li>
  57. <li><a href="edit_face.php">头像设置</a></li>
  58. </ul>
  59. </div>
  60. <form action="edit_baseinfo.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();">
  61. <input type="hidden" name="dopost" value="save" />
  62. <div id="mainCp">
  63. <h3 class="meTitle"><strong>基本资料</strong></h3>
  64. <div class="postForm">
  65. <p class="cellBg">
  66. <label>帐号类型:</label>
  67. <?php echo $row['mtype']; ?></p>
  68. <p>
  69. <label>用户名:</label>
  70. <?php echo $cfg_ml->M_LoginID; ?>
  71. </p>
  72. <p class="cellBg">
  73. <label style="width:90px">昵称/公司名称:</label>
  74. <input name="uname" type="text" id="uname" value="<?php echo $row['uname']; ?>" class="intxt" style="width:100px"/>
  75. * <span id="_uname">(个人会员该项为昵称,企业会员填写公司名称)</span>
  76. </p>
  77. <p>
  78. <label>原登陆密码:</label>
  79. <input name="oldpwd" type="password" id="oldpwd" class="intxt" /> <span style="color:red;">*</span>
  80. </p>
  81. <p class="cellBg">
  82. <label>新密码:</label>
  83. <input name="userpwd" type="password" id="userpwd" class="intxt" />
  84. <span id="_userpwdok">(不修改密码请保留此项为空)</span>
  85. </p>
  86. <p>
  87. <label>确认新密码:</label>
  88. <input name="userpwdok" type="password" id="userpwdok" value="" class="intxt" />
  89. <span id="_userpwdok2">(不修改密码请保留此项为空)</span> </span>
  90. </p>
  91. <p class="cellBg">
  92. <label>原安全问题:</label>
  93. <?php
  94. require(DEDEDATA.'/safequestions.php');
  95. echo GetSafequestion($row['safequestion'],'safequestion');
  96. ?>
  97. <span id="_safequestion">(忘记密码时重设密码用)</span>
  98. </p>
  99. <p>
  100. <label>原问题答案:</label>
  101. <input name="safeanswer" type="text" id="safeanswer" value="" class="intxt" />
  102. </p>
  103. <p class="cellBg">
  104. <label>新安全问题:</label>
  105. <?php
  106. echo GetSafequestion(0,'newsafequestion');
  107. ?>
  108. <span id="_safequestionnew">(不修改不用填写)</span>
  109. </p>
  110. <p>
  111. <label>新问题答案:</label>
  112. <input name="newsafeanswer" type="text" id="newsafeanswer" class="intxt"/>
  113. </p>
  114. <p class="cellBg">
  115. <label><span class="tdl">电子邮箱</span>:</label>
  116. <input name="email" type="text" id="email" value="<?php echo $row['email']; ?>" class="intxt"/><br>
  117. <span id="_email" style="margin-left:80px"> <span style="color:red;">*</span> (每个电子邮邮箱只能注册一个帐号,要修改电子邮箱必须填写正确安全问题的答案)</span>
  118. </p>
  119. <p>
  120. <label>性别:</label>
  121. <input type="radio" name="sex" value="男" <?php if($row['sex']=='男') echo " checked='checked' "; ?>/>
  122. 男 &nbsp;
  123. <input type="radio" name="sex" value="女" <?php if($row['sex']=='女') echo " checked='checked' "; ?>/>
  124. 女 &nbsp;
  125. <input type="radio" name="sex" value="保密'" <?php if($row['sex']=='保密') echo " checked='checked' "; ?>/>
  126. 保密
  127. </p>
  128. <p class="cellBg">
  129. <label>验证码:</label>
  130. <input name="vdcode" type="text" id="vdcode" style='width:50px;text-transform:uppercase;' class="intxt" />
  131. <img src="../plus/vdimgck.php" align="absmiddle" alt="看不清?点击更换" style="cursor:pointer" onclick="this.src=this.src+'?'" />
  132. </p>
  133. <p>
  134. <button class="button2" type="submit">更新</button>
  135. <button class="button2 ml10" type="reset">重设</button>
  136. </p>
  137. </div>
  138. </div>
  139. </form>
  140. <!--主操作区域 -->
  141. </div>
  142. </div>
  143. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  144. </div>
  145. </body>
  146. </html>