中国专业的PHP网站内容管理系统-织梦内容管理系统
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.

63 line
2.9KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>" />
  6. <title>更改头像 - 会员中心 - <?php echo $cfg_webname; ?></title>
  7. <link href="templets/style/base.css" rel="stylesheet" type="text/css" />
  8. <script type="text/javascript" src="../static/js/jquery.js"></script>
  9. <script type="text/javascript" language='javascript' src='templets/js/main.js'></script>
  10. <script type="text/javascript" src="templets/js/load.js"></script>
  11. <script type="text/javascript" src="templets/js/leftmenu.js"></script>
  12. </head>
  13. <body>
  14. <div id="main">
  15. <?php include(DEDEMEMBER."/templets/head.htm"); ?>
  16. <div id="content" class="w960 clearfix">
  17. <?php include(DEDEMEMBER."/templets/menu.php"); ?>
  18. <div id="mcpmain">
  19. <div id="appTab">
  20. <ul>
  21. <li><a href="edit_baseinfo.php">基本资料</a></li>
  22. <li><a href="edit_fullinfo.php">详细资料</a></li>
  23. <li class="thisTab"><a href="edit_face.php">头像设置</a></li>
  24. </ul>
  25. </div>
  26. <form action="edit_face.php" method="post" enctype="multipart/form-data" name="form1">
  27. <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>" />
  28. <input type="hidden" name="dopost" value="save" />
  29. <div id="mainCp">
  30. <h3 class="meTitle"><strong>用户头像</strong></h3>
  31. <div class="postForm">
  32. <p class="cellBg">
  33. <label style="width:90px">手工填写网址:</label>
  34. <input name='oldface' type='hidden' id='oldface' value='<?php echo $face; ?>' />
  35. <input name='faceurl' type='text' id='faceurl' size='35' class='intxt' style='width:250px'
  36. value='<?php echo $face; ?>' />
  37. <p class="cellBg">
  38. <label style="width:90px"><b>原来的头像:</b><br />
  39. </label>
  40. <div id='faceview' class='overflow mTB10 litPic'
  41. style="width:180px;height:180px;text-align:center;vertical-align:middle;line-height:180px;display:table-cell;">
  42. <?php
  43. if($face!='') echo " <img class='' src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);' />\r\n";
  44. ?>
  45. </div>
  46. </p>
  47. <p>
  48. <button class="button2" type="submit">更新</button>
  49. <button class="button2 ml10" type="reset">重设</button>
  50. </p>
  51. </div>
  52. </div>
  53. </form>
  54. <!--主操作区域 -->
  55. </div>
  56. </div>
  57. <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  58. </div>
  59. </body>
  60. </html>