global_adduser.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:4k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page language="c#" Inherits="Discuz.Web.Admin.adduser" Codebehind="global_adduser.aspx.cs"%>
  2. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <html>
  5. <head>
  6. <title>添加用户</title>
  7. <script type="text/javascript" src="../js/common.js"></script>
  8. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />        
  9. <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet" />
  10. <script type="text/javascript" src="../js/modalpopup.js"></script>
  11. <script type="text/javascript">
  12. function IsValidPost()
  13. {
  14.  var admingroup="";
  15.  var groupid = document.getElementById("groupid");
  16.  if((groupid.value=="1")||(groupid.value=="2")||(groupid.value=="3"))  {
  17.  admingroup=groupid.options[groupid.value].innerHTML;
  18.  }
  19.   if(groupid.value=="0")
  20.  {   
  21.  alert('您未选择所属用户组');
  22.  return false;
  23.  } 
  24.  if(admingroup!="")
  25. if(confirm('您是要添加 "'+admingroup+'" 组的用户吗?'))
  26. {
  27.    return true;
  28. }
  29. else
  30. {
  31.    return false;
  32. }
  33. return true;
  34. }
  35. </script>
  36. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  37. </head>
  38. <body>
  39. <div class="ManagerForm">
  40. <form id="Form1" method="post" runat="server">
  41. <fieldset>
  42. <legend style="background:url(../images/icons/icon9.jpg) no-repeat 6px 50%;">添加用户</legend>
  43. <table width="100%">
  44. <tr><td class="item_title" colspan="2">用户名</td></tr>
  45. <tr>
  46. <td class="vtop rowform">
  47.  <cc1:textbox id="userName" runat="server" CanBeNull="必填" RequiredFieldType="暂无校验"  MaxLength="20" Size="30"></cc1:textbox>
  48. </td>
  49. <td class="vtop"></td>
  50. </tr>
  51. <tr><td class="item_title" colspan="2">密码</td></tr>
  52. <tr>
  53. <td class="vtop rowform">
  54. <cc1:TextBox ID="password" runat="server" CanBeNull="必填" MaxLength="32" RequiredFieldType="暂无校验" Size="30"></cc1:TextBox>
  55. </td>
  56. <td class="vtop"></td>
  57. </tr>
  58. <tr><td class="item_title" colspan="2">E-mail</td></tr>
  59. <tr>
  60. <td class="vtop rowform" colspan="2">
  61. <cc1:textbox id="email" runat="server" CanBeNull="必填" RequiredFieldType="电子邮箱"  Width="200" MaxLength="50" Size="60"></cc1:textbox>&nbsp;&nbsp;<input id="sendemail" type="checkbox" runat="server" checked="checked" />发送邮件到上述邮箱中
  62. </td>
  63. </tr>
  64. <tr><td class="item_title">所属用户组</td><td class="item_title">积分设置</td></tr>
  65. <tr>
  66. <td class="vtop rowform">
  67. <cc1:DropDownList id="groupid" runat="server"></cc1:DropDownList>
  68. </td>
  69. <td class="vtop rowform">
  70. <cc1:textbox id="credits" runat="server" CanBeNull="必填" RequiredFieldType="数据校验" MaxLength="8" Size="10"></cc1:textbox>设置用户的初始积分
  71. </td>
  72. </tr>
  73. <tr><td class="item_title">真实姓名</td><td class="item_title">身份证号</td></tr>
  74. <tr>
  75. <td class="vtop rowform">
  76. <cc1:textbox id="realname" runat="server" RequiredFieldType="暂无校验" MaxLength="10" Size="10" ></cc1:textbox>
  77. </td>
  78. <td class="vtop rowform">
  79. <cc1:textbox id="idcard" runat="server" MaxLength="20" Size="20"></cc1:textbox>
  80. </td>
  81. </tr>
  82. <tr><td class="item_title">移动电话号码</td><td class="item_title">固定电话号码</td></tr>
  83. <tr>
  84. <td class="vtop rowform">
  85. <cc1:textbox id="mobile" runat="server" MaxLength="20" Size="20"></cc1:textbox>
  86. </td>
  87. <td class="vtop rowform">
  88. <cc1:textbox id="phone" runat="server" CanBeNull="可为空" MaxLength="20" Size="20"></cc1:textbox>
  89. </td>
  90. </tr>
  91. </table>
  92. <cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
  93. <div class="Navbutton">
  94. <cc1:Button id="AddUserInfo" runat="server" Text=" 提 交 "></cc1:Button>
  95. </div>
  96. </fieldset>
  97. </form>
  98. </div>
  99. <%=footer%>
  100. </body>
  101. </html>