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

107 lines
4.8KB

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