国内流行的内容管理系统(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.

104 lines
4.9KB

  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>管理员帐号--修改帐号</title>
  6. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href="css/base.css" rel="stylesheet" type="text/css">
  9. </head>
  10. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  11. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" class="table maintable table-bordered mt-3">
  12. <tr>
  13. <td height="19" background="images/tbg.gif" bgcolor="#E7E7E7">
  14. <table width="96%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
  15. <tr>
  16. <td width="24%" style="padding-left:10px;"><b><strong>修改帐号</strong></b> </td>
  17. <td width="76%" align="right"><a href="sys_admin_user.php" class="btn btn-success btn-sm">管理帐号</a></td>
  18. </tr>
  19. </table>
  20. </td>
  21. </tr>
  22. <tr>
  23. <td height="215" align="center" valign="top" bgcolor="#FFFFFF">
  24. <form name="form1" action="sys_admin_user_edit.php" method="post">
  25. <input type="hidden" name="dopost" value="saveedit" />
  26. <input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>" />
  27. <input type="hidden" name="id" value="<?php echo $row['id']?>" />
  28. <table width="98%" border="0" cellspacing="1" cellpadding="1" class="table table-borderless">
  29. <tr>
  30. <td width="16%" height="30">用户登录ID:</td>
  31. <td width="84%" style="text-align:left;"><?php echo $row['userid']?></td>
  32. </tr>
  33. <tr>
  34. <td height="30">用户笔名:</td>
  35. <td style="text-align:left;">
  36. <input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>"
  37. style="width:200px" /> &nbsp;(发布文章后显示责任编辑的名字)
  38. </td>
  39. </tr>
  40. <tr>
  41. <td height="30">用户密码:</td>
  42. <td style="text-align:left;">
  43. <input name="pwd" type="text" id="pwd" size="16" style="width:200px" />
  44. &nbsp;(留空则不修改,只能用'0-9a-zA-Z.@_-!'以内范围的字符)
  45. </td>
  46. </tr>
  47. <tr>
  48. <td height="30">用户类型:</td>
  49. <td style="text-align:left;">
  50. <select name='usertype' style='width:200px'>
  51. <?php
  52. $dsql->SetQuery("Select * from `#@__admintype` order by `rank` asc");
  53. $dsql->Execute("ut");
  54. while($myrow = $dsql->GetObject("ut"))
  55. {
  56. if($row['usertype']==$myrow->rank) echo "<option value='".$myrow->rank."' selected='1'>".$myrow->typename."</option>\r\n";
  57. else echo "<option value='".$myrow->rank."'>".$myrow->typename."</option>\r\n";
  58. }
  59. ?>
  60. </select>
  61. </td>
  62. </tr>
  63. <tr>
  64. <td height="30">负责频道:</td>
  65. <td style="text-align:left;">
  66. <select name="typeids[]" id="typeid" size='10' style="width:200px;height: 200px;" multiple="true">
  67. <option value="0" class='alltype'>--所有频道--</option>
  68. <?php echo $typeOptions?>
  69. </select> &nbsp; (按 Ctrl 可以进行多选)
  70. </td>
  71. </tr>
  72. <tr>
  73. <td height="30">真实姓名:</td>
  74. <td style="text-align:left;"><input name="tname" type="text" id="tname" size="16" style="width:200px"
  75. value="<?php echo $row['tname']?>" /> &nbsp;</td>
  76. </tr>
  77. <tr>
  78. <td height="30">电子邮箱:</td>
  79. <td style="text-align:left;"><input name="email" type="text" id="email" size="16" style="width:200px"
  80. value="<?php echo $row['email']?>" /> &nbsp;</td>
  81. </tr>
  82. <tr>
  83. <td height="30">安全验证串:</td>
  84. <td style="text-align:left;">
  85. <input name="safecode" type="text" id="safecode" size="16" style="width:200px" />
  86. <input name="randcode" type="hidden" value="<?php echo $randcode; ?>" />
  87. &nbsp;
  88. (复制本代码:<span style='color:#e74d58'><?php echo $safecode; ?></span> )
  89. </td>
  90. </tr>
  91. <tr>
  92. <td height="60">&nbsp;</td>
  93. <td>
  94. <button type="submit" name="Submit" class="btn btn-success">保存用户</button>
  95. </td>
  96. </tr>
  97. </table>
  98. </form>
  99. </td>
  100. </tr>
  101. </table>
  102. </body>
  103. </html>