<%@ Page Language="c#" ValidateRequest="false" CodeBehind="BasicAdvanced.aspx.cs" AutoEventWireup="True"
    Inherits="MTCUN.Admin.BasicAdvanced" Title="基础参数-系统" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../UserCol/CodeBox.ascx" TagName="CodeBox" TagPrefix="uc1" %>
<!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">
    <link id="linkStyle" runat="server" href="../Themes/Blue/css.css" rel="stylesheet"
        type="text/css" />
    <style type="text/css">
        .auto-style1 {
            height: 27px;
        }
    </style>
</head>
<body>
    <form id="Form1" method="post" runat="server" enctype="multipart/form-data">
        <div class="divpanel">
            <table class="table" border="0" cellspacing="0">
                <tr>
                    <th colspan="2">高级功能开关</th>
                </tr>
                <tr>
                    <td></td>
                    <td>


                        <div>
                            <div style="font-weight: bold">
                                模块管理：
                            </div>
                            <div class="bgc5 borderc2" style="border-width: 1px; margin: 4px; padding: 4px">
                                <div style="float: left; width: 120px; vertical-align: middle; text-align: center">
                                </div>
                                <div style="float: left;">
                                    <asp:CheckBoxList ID="cblMK" runat="server" RepeatColumns="4" RepeatDirection="Horizontal">
                                        <asp:ListItem>教师模块</asp:ListItem>
                                        <asp:ListItem>仓库模块</asp:ListItem>
                                        <asp:ListItem>人事模块</asp:ListItem>
                                        <asp:ListItem>咨询模块</asp:ListItem>
                                    </asp:CheckBoxList>
                                </div>
                                <div style="clear: both">
                                </div>
                            </div>
                        </div>


                        <div>
                            <div style="font-weight: bold">
                                角色管理：
                            </div>
                            <div class="bgc5 borderc2" style="border-width: 1px; margin: 4px; padding: 4px">
                                <div style="float: left; width: 120px; vertical-align: middle; text-align: center">
                                </div>
                                <div style="float: left;">
                                    <asp:CheckBoxList ID="cblRole" runat="server" RepeatColumns="4" RepeatDirection="Horizontal">
                                        <asp:ListItem>教师模块</asp:ListItem>
                                        <asp:ListItem>仓库模块</asp:ListItem>
                                        <asp:ListItem>人事模块</asp:ListItem>
                                        <asp:ListItem>咨询模块</asp:ListItem>
                                    </asp:CheckBoxList>
                                </div>
                                <div style="clear: both">
                                </div>
                            </div>
                        </div>


                        <div>
                            <div style="font-weight: bold">
                                开发者权限：
                            </div>
                            <div class="bgc5 borderc2" style="border-width: 1px; margin: 4px; padding: 4px">
                                <div style="float: left; width: 120px; vertical-align: middle; text-align: center">
                                </div>
                                <div style="float: left;">
                                    <asp:CheckBoxList ID="cblDev" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                        <asp:ListItem>SQL查询</asp:ListItem>
                                        <asp:ListItem>查询管理</asp:ListItem>
                                        <asp:ListItem>数据集</asp:ListItem>
                                        <asp:ListItem>打印模板</asp:ListItem>
                                        <asp:ListItem>系统提醒</asp:ListItem>
                                    </asp:CheckBoxList>
                                </div>
                                <div style="clear: both">
                                </div>
                            </div>
                        </div>


                        <div>
                            <div style="font-weight: bold">
                                管理员权限：
                            </div>
                            <div class="bgc5 borderc2" style="border-width: 1px; margin: 4px; padding: 4px">
                                <div style="float: left; width: 120px; vertical-align: middle; text-align: center">
                                </div>
                                <div style="float: left;">
                                    <asp:CheckBoxList ID="cblAdmin" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                        <asp:ListItem>评价老师管理</asp:ListItem>
                                        <asp:ListItem>数据备份</asp:ListItem>
                                        <asp:ListItem>潜在数据导入</asp:ListItem>
                                        <asp:ListItem>正式学员导入</asp:ListItem>
                                        <asp:ListItem>微信设置</asp:ListItem>
                                        <asp:ListItem>管理员工具</asp:ListItem>
                                        <asp:ListItem>字典管理</asp:ListItem>
                                        <asp:ListItem>字段管理</asp:ListItem>
                                    </asp:CheckBoxList>
                                </div>
                                <div style="clear: both">
                                </div>
                            </div>
                        </div>


                        <div>
                            <div style="font-weight: bold">
                                通用控制：
                            </div>
                            <div class="bgc5 borderc2" style="border-width: 1px; margin: 4px; padding: 4px">
                                <div style="float: left; width: 120px; vertical-align: middle; text-align: center">
                                </div>
                                <div style="float: left;">
                                    <table>

                                        <tr>
                                            <td>课程单位：</td>
                                            <td><asp:DropDownList ID="ddlCourseDefalutUnit" runat="server">
                                                <asp:ListItem Value="0">全部</asp:ListItem>
                                                <asp:ListItem Value="1">课时</asp:ListItem>
                                                <asp:ListItem Value="2">月</asp:ListItem>
                                                <asp:ListItem Value="3">学期</asp:ListItem>
                                                <asp:ListItem Value="4">课时、月</asp:ListItem>
                                                <asp:ListItem Value="5">课时、学期、月</asp:ListItem>
                                            </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>学期量化方式：</td>
                                            <td><asp:DropDownList ID="ddlTermQuantify" runat="server">
                                                <asp:ListItem Value="3">课时或时间(默认课时)</asp:ListItem>
                                                <asp:ListItem Value="4">课时或时间(默认时间)</asp:ListItem>
                                                <asp:ListItem Value="1">课时</asp:ListItem>
                                                <asp:ListItem Value="2">时间</asp:ListItem>
                                            </asp:DropDownList>

                                            </td>
                                        </tr>
                                        <tr>
                                            <td>课时有效期或最大课时数：</td>
                                            <td><asp:DropDownList ID="ddlMaxDateMaxLesson" runat="server">
                                                <asp:ListItem Value="0">全部禁用</asp:ListItem>
                                                <asp:ListItem Value="2">仅禁用课时有效期</asp:ListItem>
                                                <asp:ListItem Value="3">仅禁用最大课时数</asp:ListItem>
                                                <asp:ListItem Value="1">全部开放</asp:ListItem>
                                            </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>底层数据API调用授权用户：</td>
                                            <td><asp:DropDownList ID="ddldbAPIUsers" runat="server" DataTextField="TrueName" DataValueField="UserName">
                                            </asp:DropDownList>
                                            </td>
                                        </tr>
            <tr>
                <td>
                    在线超时：
                </td>
                <td>
                    <asp:TextBox ID="tbxOnlineOvertime" runat="server" Width="40px"></asp:TextBox><asp:Literal
                        Text="分钟" runat="server" />
                    <asp:RegularExpressionValidator ID="_tbxOnlineOvertime" runat="server" ControlToValidate="tbxOnlineOvertime"
                        Display="Dynamic" ValidationExpression="\d{0,8}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr visible="false">
                <td>
                    限时编辑：
                </td>
                <td>
                    <asp:TextBox ID="tbxMinutes" runat="server" Width="48px"></asp:TextBox><asp:Literal
                        Text="分钟" runat="server" />
                    <asp:RegularExpressionValidator ID="_tbxMinutes" runat="server" ControlToValidate="tbxMinutes"
                        Display="Dynamic" ValidationExpression="\d{0,8}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="height: 26px">
                    缓存过期：
                </td>
                <td style="height: 26px">
                    <asp:TextBox ID="tbxCacheTimeOut" runat="server" Width="48px"></asp:TextBox><asp:Literal
                        Text="分钟" runat="server" />
                    <asp:RegularExpressionValidator ID="_tbxCacheOutTime" runat="server" ControlToValidate="tbxCacheTimeOut"
                        Display="Dynamic" ValidationExpression="\d{0,8}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="height: 26px">
                    数据库备份路径：
                </td>
                <td style="height: 26px">
                    <asp:TextBox ID="tbxBackupPath" runat="server" Width="256px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="height: 26px">
                    上传图片宽度：
                </td>
                <td style="height: 26px">
                    <asp:TextBox ID="tbxPicWidth" runat="server" Width="48px"></asp:TextBox>px<asp:RegularExpressionValidator
                        ID="_tbxPicWidth" runat="server" ControlToValidate="tbxPicWidth" Display="Dynamic"
                        ValidationExpression="\d{0,4}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td>
                    上传相片高度：
                </td>
                <td>
                    <asp:TextBox ID="tbxPicHeight" runat="server" Width="48px"></asp:TextBox>px<asp:RegularExpressionValidator
                        ID="_tbxPicHeight" runat="server" ControlToValidate="tbxPicHeight" Display="Dynamic"
                        ValidationExpression="\d{0,4}"></asp:RegularExpressionValidator>
                </td>
            </tr>

            <tr>
                <td>
                    允许手动编号：
                </td>
                <td>
                    <asp:RadioButtonList ID="rblCustomID" runat="server" Width="104px" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Text="否"></asp:ListItem>
                        <asp:ListItem Value="1" Text="是"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    学员默认密码：
                </td>
                <td>
                    <asp:RadioButtonList ID="rblStuDefaultPassword" runat="server" Width="299px" RepeatDirection="Horizontal">
                        <asp:ListItem Value="0" Text="空"></asp:ListItem>
                        <asp:ListItem Value="1" Text="生日"></asp:ListItem>
                        <asp:ListItem Value="2" Text="学号"></asp:ListItem>
                        <asp:ListItem Value="3" Text="手机号后6位"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td>
                    班主任（助教、学管）角色：
                </td>
                <td>
                    <asp:DropDownList ID="ddlHeadTeacher" runat="server">
                        <asp:ListItem Value="0">禁用</asp:ListItem>
                        <asp:ListItem Value="1">启用</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    分页查询最大数据量：
                </td>
                <td>
                    <asp:DropDownList ID="ddlTopLoop" runat="server">
                        <asp:ListItem Value="0">不限</asp:ListItem>
                        <asp:ListItem>100</asp:ListItem>
                        <asp:ListItem>500</asp:ListItem>
                        <asp:ListItem>1000</asp:ListItem>
                        <asp:ListItem>2000</asp:ListItem>
                        <asp:ListItem>3000</asp:ListItem>
                        <asp:ListItem>4000</asp:ListItem>
                        <asp:ListItem>5000</asp:ListItem>
                        <asp:ListItem>10000</asp:ListItem>
                        <asp:ListItem>100000</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
                                    </table>
                                </div>
                                <div style="clear: both">
                                </div>
                            </div>
                        </div>


                    </td>
                </tr>

                <tr visible="false">
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td></td>
                    <td style="text-align: center">
                        <label class="lab_button">
                            <asp:Button ID="btnReset" runat="server" Text="重启" OnClick="btnReset_Click"></asp:Button>
                        </label>
                        <label class="lab_button">
                            <asp:Button ID="btnQuit" runat="server" Text="退出" OnClick="btnQuit_Click"></asp:Button>
                        </label>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
