?? addmaster.aspx
字號(hào):
?<%@ Page AutoEventWireup="false" Inherits="px.addmaster" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>添加用戶</title>
<link href="../App_Themes/default/admincp.css" rel="stylesheet" type="text/css" />
<script type="text/jscript" language="javascript">
function checkusername(name)
{
px.addmaster.GetReturnCode(name,callback);
}
function callback(res)
{
var msg=document.getElementById("msg");
if (res.value=="0")
{
msg.innerHTML="此用戶名已經(jīng)被注冊(cè)!";
msg.style.color="red";
}
else if(res.value=="1")
{
msg.innerHTML="此用戶名可以注冊(cè)!";
msg.style.color="green";
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<table border="0" cellpadding="0" cellspacing="0" class="guide" width="100%">
<tbody>
<tr>
<td>
<span style="color: #0000ff; text-decoration: underline">系統(tǒng)首頁</span> >> 添加管理用戶</td>
</tr>
</tbody>
</table>
<br />
<table border="0" cellpadding="0" cellspacing="0" class="tableborder" width="100%">
<tr class="header">
<td colspan="2">
添加管理用戶</td>
</tr>
<tr>
<td style="width: 120px; text-align: right">
管理員類別:</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
<asp:ListItem Selected="True" Value="normal">院系管理員</asp:ListItem>
<asp:ListItem Value="lower">院系輔助管理員</asp:ListItem>
<asp:ListItem Value="system">超級(jí)管理員</asp:ListItem>
<asp:ListItem Value="guest">外單位人員</asp:ListItem>
</asp:DropDownList>
(院系輔助管理員無權(quán)添加刪除用戶。)</td>
</tr>
<tr class="altbg2">
<td style="width: 120px; text-align: right">
用戶名:</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
ErrorMessage="*"></asp:RequiredFieldValidator><span id="msg"></span></td>
</tr>
<tr class="altbg2">
<td style="width: 120px; text-align: right">
用戶密碼:</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr class="altbg2">
<td style="width: 120px; height: 2em; text-align: right">
重復(fù)密碼:</td>
<td style="height: 2em">
<asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
ErrorMessage="*"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox2"
ControlToValidate="TextBox3" ErrorMessage="兩次密碼不一致!"></asp:CompareValidator></td>
</tr>
<tr class="altbg2">
<td style="width: 120px; text-align: right">
真實(shí)姓名:</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4"
ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr class="altbg2">
<td style="width: 120px; text-align: right">
權(quán)限:</td>
<td>
<asp:CheckBoxList ID="CheckBoxList1" runat="server" RepeatColumns="5" RepeatDirection="Horizontal">
</asp:CheckBoxList></td>
</tr>
<tr class="altbg2">
<td style="width: 120px; text-align: right">
</td>
<td>
<asp:Button ID="Button1" runat="server" Text="確定" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -