<%@ Page CodeBehind="admin_file_admin_add.aspx.cs" Language="c#" AutoEventWireup="True"
    Inherits="Webdisk.admin.admin_file_admin_add" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title></title>
    <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../js/Common.js" type="text/javascript"></script>
	<script src="../js/calendar.js" type="text/javascript"></script>
    <link href="images/Site_Css.css" type="text/css" rel="stylesheet">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <link href="images/Css.css" type="text/css" rel="stylesheet">
    <meta content="MSHTML 6.00.6000.16544" name="GENERATOR">
    <style type="text/css">
        .style4
        {
            color: #ff0000;
        }
    </style>
</head>
<body bgcolor="#ffffff" topmargin="5" marginheight="0" marginwidth="0">
    <form id="Form1" name="Form1" method="post" runat="server">
    <div>
    </div>
    <div>
        <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
            <tbody>
                <tr>
                    <td class="menubar_title">
                        <img hspace="3" src="images/default.gif" align="absMiddle" vspace="3" border="0">&nbsp;<span
                            class="td_title">
                            <%=type%>文件管理员</span>
                    </td>
                    <td class="menubar_readme_text" valign="bottom">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td class="menubar_function_text" height="1">
                        &nbsp;
                    </td>
                    <td class="menubar_menu_td" align="right">
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td colspan="2" height="5">
                    </td>
                </tr>
            </tbody>
        </table>
        <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
            <tbody>
                <tr>
                    <td background="images/tab_top_bg.gif" height="22">
                        <table cellspacing="0" cellpadding="0" border="0">
                            <tbody>
                                <tr>
                                    <!--按钮　Start-->
                                    <td>
                                        <table height="22" cellspacing="0" cellpadding="0" border="0">
                                            <tbody>
                                                <tr>
                                                    <td width="3">
                                                        <img id="tabImgLeft__0" height="22" src="images/tab_unactive_left.gif" width="3">
                                                    </td>
                                                    <td class="tab" id="tabLabel__0" onclick="javascript:tabClick(0,1)" background="images/tab_active_bg.gif"
                                                        unselectable="on">
                                                        <%=type%>文件管理员
                                                    </td>
                                                    <td width="3">
                                                        <img id="tabImgRight__0" height="22" src="images/Menu/tab_active_right.gif" width="3">
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td bgcolor="#ffffff">
                        <table cellspacing="0" cellpadding="0" width="100%" border="0">
                            <tbody>
                                <tr>
                                    <td width="1" background="images/tab_bg.gif">
                                        <img height="1" src="images/tab_bg.gif" width="1">
                                    </td>
                                    <td class="borderstyle" valign="top">
                                        <div id="tabContent__0">
                                            <table cellspacing="1" cellpadding="3" width="100%" align="center" border="0">
                                                <tbody>
                                                    <tr>
                                                        <td class="table_body" width="27%">
                                                            <span class="a3-green">用户名</span>
                                                        </td>
                                                        <td class="table_none" width="73%">
                                                            <asp:Label ID="adminname" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="table_body">
                                                            <font face="宋体">权限</font>
                                                        </td>
                                                        <td class="table_none">
                                                            <font face="宋体">
                                                                <asp:CheckBoxList ID="chk" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                                                    <asp:ListItem Value="1" Selected="True">上传文件查看</asp:ListItem>
                                                                    <asp:ListItem Value="2" Selected="True">文件共享审核</asp:ListItem>
                                                                </asp:CheckBoxList>
                                                            </font>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="table_body">
                                                            <span class="a3-green">操作时间</span>
                                                        </td>
                                                        <td class="table_none">
                                                            <asp:TextBox ID="starttime" runat="server" class="tableTdtext" onfocus="new Calendar().show(this)"></asp:TextBox><font
                                                                face="宋体">-
                                                                <asp:TextBox ID="endtime" runat="server" class="tableTdtext" onfocus="new Calendar().show(this)"></asp:TextBox><%--<asp:RequiredFieldValidator
                                                                    ID="RequiredFieldValidator2" runat="server" Display="Dynamic" ErrorMessage="请输入开始时间"
                                                                    ControlToValidate="starttime"></asp:RequiredFieldValidator><asp:RequiredFieldValidator
                                                                        ID="RequiredFieldValidator3" runat="server" Display="Dynamic" ErrorMessage="请输入结束时间"
                                                                        ControlToValidate="endtime"></asp:RequiredFieldValidator>--%></font>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                        <!--内容框End-->
                                    </td>
                                    <td width="1" background="images/tab_bg.gif">
                                        <img height="1" src="images/tab_bg.gif" width="1">
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td background="images/tab_bg.gif" bgcolor="#ffffff">
                        <img height="1" src="images/tab_bg.gif" width="1">
                    </td>
                </tr>
            </tbody>
        </table>
        <!--选项卡 End-->
    </div>
    <div>
        <span class="px14"><font face="宋体"></font></span>
    </div>
    <div>
        <span class="px14">
            <div align="center">
                <font face="宋体">注：文件管理员只可以管理所属部门及下属部门的文件。</font>
            </div>
            <div align="center">
                <br>
            </div>
            <div align="center">
                <asp:Button ID="Submit1" runat="server" Width="100px" class="formbutton" Text="添　加"
                    OnClick="Submit1_Click"></asp:Button>
                <br>
            </div>
    </div>
    </form>
    <script language="javascript">
        function tabClick(idx, count) {
            for (i_tr = 0; i_tr < count; i_tr++) {
                var tabImgLeft = eval('document.all.tabImgLeft__' + idx);
                var tabImgRight = eval('document.all.tabImgRight__' + idx);
                var tabLabel = eval('document.all.tabLabel__' + idx);
                var tabContent = eval('document.all.tabContent__' + idx);

                tabImgLeft.src = 'images/tab_active_left.gif';
                tabImgRight.src = 'images/tab_active_right.gif';
                tabLabel.background = 'images/tab_active_bg.gif';
                tabContent.style.visibility = 'visible';
                tabContent.style.display = 'block';
            }
        }
        tabClick(0, 1);
    </script>
    <br>
    </SPAN>
</body>
</html>
