<%@ page language="C#" autoeventwireup="true" inherits="SysManage_Timelimit, App_Web_imj1v1td" stylesheettheme="Themes" theme="Themes" %>

<!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>
    <style type="text/css">
        #LayerAll
        {
            position: absolute;
            filter: alpha(opacity = 50);
            width: 100%;
            height: 100%;
            background-color: #CCCCCC;
            border: 0px;
            left: 1px;
            top: 1px;
            z-index: 1;
            display: none;
        }
        #right
        {
            position: absolute;
            width: 70%;
            height: 30%;
            z-index: 2;
            left: 20%;
            top: 10%;
        }
        .t1
        {
            border-bottom: #99cc66 1px solid;
            position: relative;
            line-height: 23px;
            padding-left: 5px;
            margin-bottom: 10px;
            height: 23px;
            color: #5b9400;
            font-size: 14px;
            font-weight: bold;
        }
        .t2
        {
            border-bottom: #99cc66 1px solid;
            position: relative;
            line-height: 23px;
            padding-left: 5px;
            margin-bottom: 10px;
            height: 23px;
            color: #5b9400;
            font-size: 14px;
            font-weight: bold;
        }
        .t1 .m
        {
            position: absolute;
            padding-right: 15px;
            background: url(http://img.baidu.com/hi/img/index/arrow.gif) no-repeat right -5px;
            font-size: 14px;
            top: 2px;
            right: 0px;
        }
        .t1 .m2
        {
            position: absolute;
            padding-right: 15px;
            background: url(http://img.baidu.com/hi/img/index/arrow.gif) no-repeat right -5px;
            font-size: 14px;
            top: 2px;
            right: 0px;
        }
        .t1 .m2
        {
            line-height: 18px;
            font-size: 12px;
            font-weight: normal;
        }
        .t2
        {
            padding-bottom: 0px;
            line-height: 18px;
            border-right-width: 0px;
            padding-left: 0px;
            padding-right: 0px;
            margin-bottom: 2px;
            border-top-width: 0px;
            border-bottom-width: 0px;
            color: #5b9400;
            border-left-width: 0px;
            padding-top: 0px;
        }
        .t3
        {
            z-index: 6553;
            position: relative;
            line-height: 30px;
            padding-left: 55px;
            background: url(http://img.baidu.com/hi/img/index/iconhi.gif) no-repeat;
            height: 35px;
            font-size: 14px;
            font-weight: bold;
        }
        .rcb
        {
            height: 5px;
            clear: both;
        }
        .rct .l
        {
            background-image: url(../images/rc.gif);
            position: relative;
            width: 5px;
            height: 5px;
            font-size: 1px;
            overflow: hidden;
        }
        .rct .r
        {
            background-image: url(../images/rc.gif);
            position: relative;
            width: 5px;
            height: 5px;
            font-size: 1px;
            overflow: hidden;
        }
        .rcb .l
        {
            background-image: url(../images/rc.gif);
            position: relative;
            width: 5px;
            height: 5px;
            font-size: 1px;
            overflow: hidden;
        }
        .rcb .r
        {
            background-image: url(../images/rc.gif);
            position: relative;
            width: 5px;
            height: 5px;
            font-size: 1px;
            overflow: hidden;
        }
        .rct .l
        {
            float: left;
            left: -1px;
        }
        .rcb .l
        {
            float: left;
            left: -1px;
        }
        .rct .r
        {
            float: right;
            right: -1px;
        }
        .rcb .r
        {
            float: right;
            right: -1px;
        }
        .rct .l
        {
            top: -1px;
        }
        .rct .r
        {
            top: -1px;
        }
        .rcb .l
        {
            top: 1px;
        }
        .rcb .r
        {
            top: 1px;
        }
        .b2
        {
            border-bottom: #ccc 1px solid;
            border-left: #ccc 1px solid;
            margin-bottom: 10px;
            background: #fff;
            border-top: #ccc 1px solid;
            border-right: #ccc 1px solid;
        }
        .b2 .cnt
        {
            padding-bottom: 10px;
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 10px;
        }
        .tl1
        {
            background-position: left top;
        }
        .tr1
        {
            background-position: right top;
        }
        .bl1
        {
            background-position: left bottom;
        }
        .br1
        {
            background-position: right bottom;
        }
        .lginfo
        {
            line-height: 22px;
            clear: both;
        }
        .fan
        {
            margin-top: 10px;
        }
        .fan TD
        {
            padding-bottom: 2px;
            padding-left: 8px;
            padding-right: 8px;
            color: #666;
            padding-top: 2px;
        }
        .f14
        {
            line-height: 24px;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="LayerAll" runat="server">
    </div>
    <div id="right" algin="center" style="display: none;" runat="server">
        <div id="m_onlineuser" class="b2">
            <div class="rct">
                <div class="l tl1">
                </div>
                <div class="r tr1">
                </div>
            </div>
            <div class="cnt f14">
                <div style="color: #666" align="center">
                    <table width="100%" cellspacing="0" cellpadding="5" border="0" style="table-layout: fixed;
                        background-color:#deeffa ;"><%--#e7ddf9--%>
                        <tr>
                            <td colspan="2" align="center">
                                <asp:Label ID="lblID" runat="server" Text='<%# Eval("ID") %>' Visible="false"></asp:Label>
                                <asp:DropDownList ID="ddlTimeOne" runat="server" AutoPostBack="true">
                                </asp:DropDownList>
                                时
                                <asp:DropDownList ID="ddlTimeTwo" runat="server" AutoPostBack="true">
                                </asp:DropDownList>
                                分&nbsp&nbsp;到&nbsp;&nbsp;
                                <asp:DropDownList ID="ddlTimeOnes" runat="server" AutoPostBack="true">
                                </asp:DropDownList>
                                时
                                <asp:DropDownList ID="ddlTimeTwos" runat="server" AutoPostBack="true">
                                </asp:DropDownList>
                                分
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="padding-right: 40px" align="center" valign="middle" height="40">
                                <%--<input class="BigButton" id="btnOK" type="submit" value=" 确  定 " />--%>
                                <asp:Button ID="btnOk" runat="server" Text="确 认" OnClick="btnOk_Click" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="btnCancel" runat="server" Text="取  消" OnClick="btnCancel_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="rcb">
                <div class="l bl1">
                </div>
                <div class="r br1">
                </div>
            </div>
        </div>
        <!--CMSLOADOK--->
    </div>
    <div>
     <table width="100%" cellpadding="0" cellspacing="0" class="table_3">
       <tr>
            <td class="nav_font"><img src= "../Images/ico4.gif" /> 当前的位置：登录管理 > 登录时间限制 
            </td>
       </tr>
    </table>        
                            <div class="box" style="background-color:White;">
            <table cellpadding="5" cellspacing="0" width="100%" bgcolor="white" align="center" style="border:solid 1px #cccccc;">
                <%--<tr>
                                        <td align="center" colspan="8" height="30px" class="title_syle">
                                            登陆时间限制
                                        </td>
                                    </tr>--%>
                <tr>
                    <td  id="tab_title" style="text-align: right;width:60%;" >
                        每周循环设置
                    </td>
                    <td align="right">
                        <asp:Button ID="btntian" runat="server" Text="添加时间段" OnClick="btntian_Click" />
                    </td>
                </tr>
                <tr class="page_bg_left" style="height: 50px;">
                  <td colspan="2">
                    <table width="100%">
                        <tr>
                          <td>
                       <asp:LinkButton ID="lbtOne" runat="server" OnClick="lbtOne_Click">星期一</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtTwo" runat="server" OnClick="lbtTwo_Click">星期二</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtThree" runat="server" OnClick="lbtThree_Click">星期三</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtFour" runat="server" OnClick="lbtFour_Click">星期四</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtFive" runat="server" OnClick="lbtFive_Click">星期五</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtSix" runat="server" OnClick="lbtSix_Click">星期六</asp:LinkButton>
                    </td>
                    <td>
                        <asp:LinkButton ID="lbtSeven" runat="server" OnClick="lbtSeven_Click">星期日</asp:LinkButton>
                    </td>
                            </tr>
                    </table>
                  </td>
                </tr>
            </table>
            <table width="100%" id="divNum" algin="center" style="display: none;" runat="server"
                border="0">
                <tr>
                    <td>
                        <asp:DataList ID="dlist" runat="server" SkinID="d_list" OnItemCommand="dlist_ItemCommand"
                            DataKeyField="ID" onitemdatabound="dlist_ItemDataBound">
                            <ItemTemplate>
                                <table width="100%" cellpadding="5" cellspacing="0" border="0">
                                    <tr>
                                        <td>
                                            <asp:Label ID="lblID" runat="server" Text='<%# Eval("ID") %>' Visible="false"></asp:Label>
                                            <asp:Label ID="lblTimeOne" runat="server" Text='<%# Eval("timeOne") %>'></asp:Label>至
                                            <asp:Label ID="lblTimeTwo" runat="server" Text='<%# Eval("timeTwo") %>'></asp:Label>(禁止登陆)
                                        </td>
                                        <td align="center">
                                            <asp:LinkButton ID="lbtEdit" runat="server" CommandName="edits">编辑</asp:LinkButton>
                                            <asp:LinkButton ID="lbtRemove" runat="server" CommandName="remove">删除</asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                        <div class="nodata" id="divt" runat="server" style="display: none">
                            <img src="../images/waring_pic01.gif" />
                            <b><asp:Label ID="lbltext" runat="server" ForeColor="Red" Text="暂时没有设置时间！" HorizontalAlign="Center"
                                Height="30px"></asp:Label></b>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
