<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_Manage_Add.aspx.cs" Inherits="YCHR.Web.admin.Sys.YC_Manage_Add" %>

<!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 id="Head1" runat="server">
    <title>添加管理员</title>
    <link rel="stylesheet" type="text/css" href="../images/style.css" />
    <script type="text/javascript" src="../js/jquery.js"></script>
    <script type="text/javascript" src="../js/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../js/messages_cn.js"></script>
    <script type="text/javascript" src="../js/jquery.form.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="../js/singleupload.js"></script>
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
        $(function () {
            $("#cbIsImage").bind("click", function () {
                if ($(this).attr("checked") == true) {
                    $(".upordown").show();
                } else {
                    $(".upordown").hide();
                }
            });
        });
    </script>
</head>
<body style="padding:10px;">
      <form id="form1" runat="server">
    <div class="navigation"><span class="add"><a href="YC_Manage_Add.aspx">增加管理员</a></span><b>您当前的位置：首页 &gt; 管理员 &gt; 管理员列表</b></div>
    <div class="spClear"></div>
         <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" >
  <tr>
    <td height=25 class="pl20"><b>管理选项：<a href="YC_Manage_Add.aspx">添加管理员</a> | <a href="YC_Manage_List.aspx">管理员列表</a> | [<a href="javascript:location.reload()">刷新页面</a>]</b></td>
  </tr>
</table>
    <div style="padding-bottom:10px;"></div>



    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        <tr>
            <th colspan="2" align="left">添加管理员</th>
        </tr>
        <tr>
            <td width="15%" align="right">管理员角色：</td>
            <td width="85%">
                <asp:DropDownList ID="ddlroles" runat="server">
                    <asp:ListItem Value="1">超级管理员</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">账户状态：</td>
            <td>
                <asp:RadioButtonList ID="radioislock" runat="server" 
                    RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="0">启用</asp:ListItem>
                    <asp:ListItem Value="1">禁用</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right">用 户 名：</td>
            <td>
            <asp:TextBox ID="txtUserName" runat="server" CssClass="input" size="30" 
            maxlength="20" ></asp:TextBox>
            </td>
        </tr>
        <tr >
            <td align="right">密&nbsp;&nbsp;&nbsp;&nbsp; 码：</td>
            <td>
            <asp:TextBox ID="txtpassword" runat="server" CssClass="input" size="30" 
            maxlength="20" ></asp:TextBox>
            </td>
        </tr>
      
        <tr>
            <td align="right">姓&nbsp;&nbsp;&nbsp;&nbsp; 名：&nbsp; </td>
            <td>
            <asp:TextBox ID="txtrealname" runat="server" CssClass="input" size="30" 
            maxlength="20" ></asp:TextBox>
            </td>
        </tr>
    </table>
    <div style="margin-top:10px;text-align:center;">
  <asp:Button ID="btnSave" runat="server" Text="添加" CssClass="submit" onclick="btnSave_Click" 
        />
  &nbsp;
  <input name="重置" type="reset" class="submit" value="重置" />
</div>
    </form>
</body>
</html>

