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

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../../UserCol/CodeBox.ascx" TagName="CodeBox" TagPrefix="uc1" %>
<%@ Register Src="../User_Col/col_Header.ascx" TagName="col_Header" TagPrefix="uc3" %>
<!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="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />

    <script type="text/javascript">

        var lastsender = null;
        var StudentID = 0;

        function Selected(sender) {

            clear();
            if (lastsender != null) {
                lastsender.className = "tab_td";
            }

            var id = parseInt(sender.id.substring(6));
            document.getElementById("__mt_c" + id).style.display = "block";

            sender.className = "tab_td tab_selected";

            lastsender = sender;
        }

        function mouseover(sender) {
            currentClass = sender.className;
            if (currentClass == 'tab_td') sender.className = 'tab_td tab_mouseover';
        }

        function mouseout(sender) {
            if (sender != lastsender)
                sender.className = currentClass;
        }

        function clear() {
            document.getElementById("__mt_c1").style.display = "none";
            document.getElementById("__mt_c2").style.display = "none";
            document.getElementById("__mt_c3").style.display = "none";
            document.getElementById("__mt_c4").style.display = "none";
            document.getElementById("__mt_c5").style.display = "none";
            document.getElementById("__mt_c6").style.display = "none";
            document.getElementById("__mt_c7").style.display = "none";
            document.getElementById("__mt_c8").style.display = "none";
        }

        function defaultSelected() {
            document.getElementById("__mt_c1").style.display = "block";
            var sender = document.getElementById("tdShow1");
            sender.className = "tab_td tab_selected";
            lastsender = sender;
        }



    </script>

</head>
<body onload="defaultSelected()">
    <form id="Form1" method="post" runat="server" enctype="multipart/form-data">
        <uc3:col_Header ID="col_Header1" runat="server" />


        <div id="web_page_contents">
            <div class="search biao_zhun_suo_jin">


                <table class="tab_header" style="width: 100%; padding: 0px; margin-top: 10px" cellspacing="0">
                    <tr>
                        <td style="width: 20px; border-width: 0px 0px 1px 0px; height: 28px">&nbsp;
                        </td>
                        <td id="tdShow1" class="tab_td" onclick="Selected(this)"
                            onmouseover="mouseover(this)" onmouseout="mouseout(this)">常规
                        </td>
                        <%--                            <td id="tdShow2" class="tab_td" onclick="Selected(this)"
                                onmouseover="mouseover(this)" onmouseout="mouseout(this)">网络
                            </td>
                            <td id="tdShow3" class="tab_td" onclick="Selected(this)"
                                onmouseover="mouseover(this)" onmouseout="mouseout(this)">安全
                            </td>--%>
                        <td id="tdShow4" class="tab_td" onclick="Selected(this)"
                            onmouseover="mouseover(this)" onmouseout="mouseout(this)">咨询
                        </td>
                        <td id="tdShow5" class="tab_td" onclick="Selected(this)"
                            onmouseover="mouseover(this)" onmouseout="mouseout(this)">考勤
                        </td>
                        <td id="tdShow6" class="tab_td" onclick="Selected(this)"
                            onmouseover="mouseover(this)" onmouseout="mouseout(this)">财务
                        </td>
                        <%--                                                    <td id="tdShow7" class="tab_td" onclick="Selected(this)"
                                onmouseover="mouseover(this)" onmouseout="mouseout(this)">短信
                            </td>--%>
                        <td id="tdShow8" class="tab_td" onclick="Selected(this)"
                            onmouseover="mouseover(this)" onmouseout="mouseout(this)">打印
                        </td>
                        <td style="border-width: 0px 0px 1px 0px;"></td>
                    </tr>

                    <tr>
                        <td colspan="12" style="border-width: 0px 1px 1px 1px; padding-top: 10px" class="tab_contents">

                            <div id="__mt_c1" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0" cellpadding="0">
                                    <tr class="required">
                                        <td style="width: 100px">系统名称：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxSystemName" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>验证码登录：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblValidateNum" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Text="否" Value="0"></asp:ListItem>
                                                <asp:ListItem Text="是" Value="1"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>禁用内容：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblLockedVisible" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="隐藏"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="显示"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr visible="false">
                                        <td>限时编辑：
                                        </td>
                                        <td>
                                            <span class="inline_block">
                                                <asp:TextBox ID="tbxMinutes" runat="server"></asp:TextBox></span>
                                            <span class="inline_block">分钟</span>
                                            <span class="inline_block">
                                                <asp:RegularExpressionValidator ID="_tbxMinutes" runat="server" ControlToValidate="tbxMinutes"
                                                    Display="Dynamic" ValidationExpression="\d{0,8}"></asp:RegularExpressionValidator></span>


                                        </td>
                                    </tr>
                                    <tr style="display:none">
                                        <td>学员默认密码：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblStuDefaultPassword" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="1" Text="生日"></asp:ListItem>
                                                <asp:ListItem Value="3" Text="手机号后6位" Selected="True"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>麦田帐号：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxsmsAccount" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>麦田密码：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxsmsPassword" runat="server" AutoCompleteType="Disabled" TextMode="Password"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>短信：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblSMSState" runat="server" 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:TextBox ID="tbxsmsSign" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>短信默认通道：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlsmsGangway" runat="server">
                                                <asp:ListItem Value="1">短信+App</asp:ListItem>
                                                <asp:ListItem Value="2">短信</asp:ListItem>
                                                <asp:ListItem Value="3">App</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>事件短信通道：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlsmsEventGangway" runat="server">
                                                <asp:ListItem Value="1">短信+App</asp:ListItem>
                                                <asp:ListItem Value="2">短信</asp:ListItem>
                                                <asp:ListItem Value="3">App</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>版权信息：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxCopyright" runat="server" Height="60px" TextMode="MultiLine"></asp:TextBox>

                                        </td>
                                    </tr>
                                    <tr style="display: none">
                                        <td>积分累加方式：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlPointsMode" runat="server">
                                                <asp:ListItem Value="0">根据消费自动增加</asp:ListItem>
                                                <asp:ListItem Value="1">纯手动增减</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="__mt_c2" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">
                                    <tr>
                                        <td style="width: 120px">可访问的网域：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblIPType" runat="server" 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="局＋广网"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>可访问的ＩＰ段：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxOpenIP" runat="server"></asp:TextBox>
                                            格式：192.168.1.*;192.168.1.1-192.168.1.100
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>被封锁的ＩＰ段：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxCloseIP" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>访问时间：
                                        </td>
                                        <td>
                                            <asp:CheckBoxList ID="cblOpenTime" runat="server" RepeatColumns="6" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="1">1点</asp:ListItem>
                                                <asp:ListItem Value="2">2点</asp:ListItem>
                                                <asp:ListItem Value="3">3点</asp:ListItem>
                                                <asp:ListItem Value="4">4点</asp:ListItem>
                                                <asp:ListItem Value="5">5点</asp:ListItem>
                                                <asp:ListItem Value="6">6点</asp:ListItem>
                                                <asp:ListItem Value="7">7点</asp:ListItem>
                                                <asp:ListItem Value="8">8点</asp:ListItem>
                                                <asp:ListItem Value="9">9点</asp:ListItem>
                                                <asp:ListItem Value="10">10点</asp:ListItem>
                                                <asp:ListItem Value="11">11点</asp:ListItem>
                                                <asp:ListItem Value="12">12点</asp:ListItem>
                                                <asp:ListItem Value="13">13点</asp:ListItem>
                                                <asp:ListItem Value="14">14点</asp:ListItem>
                                                <asp:ListItem Value="15">15点</asp:ListItem>
                                                <asp:ListItem Value="16">16点</asp:ListItem>
                                                <asp:ListItem Value="17">17点</asp:ListItem>
                                                <asp:ListItem Value="18">18点</asp:ListItem>
                                                <asp:ListItem Value="19">19点</asp:ListItem>
                                                <asp:ListItem Value="20">20点</asp:ListItem>
                                                <asp:ListItem Value="21">21点</asp:ListItem>
                                                <asp:ListItem Value="22">22点</asp:ListItem>
                                                <asp:ListItem Value="23">23点</asp:ListItem>
                                                <asp:ListItem Value="0">24点</asp:ListItem>
                                            </asp:CheckBoxList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>学员查询：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblStuLogin" runat="server" 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="rblNetReg" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="关闭"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="运行"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="__mt_c3" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">
                                    <tr>
                                        <td style="width: 120px">启用凭证登录：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblCertEnabled" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0">禁用</asp:ListItem>
                                                <asp:ListItem Value="1">启用</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>凭证安装密码：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxCertPwd" runat="server" AutoCompleteType="Disabled"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>凭证使用环境：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblCertNet" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="1" Text="局域网"></asp:ListItem>
                                                <asp:ListItem Value="2" Text="广域网"></asp:ListItem>
                                                <asp:ListItem Value="3" Text="局＋广网"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>(针对客服)学员电话：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblTelPrivacy" runat="server" 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="rblIDcardPrivacy" runat="server" 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="rblBirthdayPrivacy" runat="server" 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="rblTeachTelPrivacy" runat="server" 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="rblTeachIDcardPrivacy" runat="server" 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="rblTeachBirthdayPrivacy" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="隐藏"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="显示"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>API帐号：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxAPIUsers" runat="server"></asp:TextBox>
                                            多个用英文模式下的逗号隔开，设置的API帐号只能通过客户端工具登录。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>时间锁总锁：
                                        </td>
                                        <td>锁定<asp:TextBox ID="tbxAllTimeLock" runat="server"></asp:TextBox>
                                            天前的数据，为空表示不启用时间锁。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>财务时间锁：
                                        </td>
                                        <td>锁定<asp:TextBox ID="tbxFinanceTimeLock" runat="server"></asp:TextBox>
                                            天前的数据。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>教务时间锁：
                                        </td>
                                        <td>锁定<asp:TextBox ID="tbxAffairsTimeLock" runat="server"></asp:TextBox>
                                            天前的数据。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>学员档案时间锁：
                                        </td>
                                        <td>锁定<asp:TextBox ID="tbxStudentTimeLock" runat="server"></asp:TextBox>
                                            天前的数据。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>排课时间锁：
                                        </td>
                                        <td>锁定<asp:TextBox ID="tbxLessonDegreeTimeLock" runat="server"></asp:TextBox>
                                            天前的数据。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>考勤时间锁：
                                        </td>
                                        <td>锁定<asp:TextBox ID="tbxAttendTimeLock" runat="server"></asp:TextBox>
                                            天前的数据。
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="__mt_c4" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">
                                    <tr>
                                        <td style="width: 100px">允许重复咨询：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblRepeatConsult" runat="server" 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:TextBox ID="tbxPreDays" runat="server" Width="40px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="_tbxPreDays" runat="server" ControlToValidate="tbxPreDays"
                                                Display="Dynamic" ValidationExpression="\d{0,8}"></asp:RegularExpressionValidator>
                                            天（超过N天没有回访将可以重复录入）
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>顾问平台模式：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlPotentialMode" runat="server">
                                                <asp:ListItem Value="1">独立模式</asp:ListItem>
                                                <asp:ListItem Value="2">协同模式</asp:ListItem>
                                                <asp:ListItem Value="3">争抢模式</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>学员顾问匹配：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlConsultantGatherMode" runat="server">
                                                <asp:ListItem Value="0">手工指定</asp:ListItem>
                                                <asp:ListItem Value="1">自动（可为空）</asp:ListItem>
                                                <asp:ListItem Value="2">自动（不为空）</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>自动分配顾问：
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="cbxAutoAllocation" runat="server" Text="启用" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>强制下次回访：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblNextReplyDate" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="__mt_c5" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">
                                    <tr>
                                        <td style="width: 100px">学员签到：
                                        </td>
                                        <td>上课前<asp:TextBox ID="tbxUpStart" runat="server" Width="35px"></asp:TextBox>
                                            分钟至<br />下课前<asp:TextBox ID="tbxUpEndAndDownStart"
                                                runat="server" Width="35px"></asp:TextBox>分钟
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>学员签退：
                                        </td>
                                        <td>签到终止--下课后<asp:TextBox ID="tbxDownEnd" runat="server"
                                            Width="35px"></asp:TextBox>
                                            分钟
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>考勤时间分界：
                                        </td>
                                        <td>上午、下午时间分界：<asp:TextBox ID="tbxMA" runat="server" Width="49px"></asp:TextBox><br />
                                            下午、晚上时间分界：<asp:TextBox ID="tbxAN" runat="server" Width="49px"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="_tbxMA" runat="server" ControlToValidate="tbxMA"
                                                ValidationExpression="^((0?[0-9])|((1[0-9])|(2[0-4])))[\:]((0?[0-9])|((1|2|3|4|5)[0-9]))$"
                                                Display="Dynamic" ErrorMessage="时间格式不正确，正确格式如12:00。"></asp:RegularExpressionValidator>
                                            <asp:RegularExpressionValidator ID="_tbxAN" runat="server" ControlToValidate="tbxAN"
                                                ValidationExpression="^((0?[0-9])|((1[0-9])|(2[0-4])))[\:]((0?[0-9])|((1|2|3|4|5)[0-9]))$"
                                                Display="Dynamic" ErrorMessage="时间格式不正确，正确格式如12:00。"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>自动旷课请假：
                                        </td>

                                        <td>
                                            <table class="table_simple">
                                                <tr>
                                                    <td>一对多：</td>
                                                    <td>
                                                        <asp:DropDownList ID="rblAutoAbsent" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:DropDownList></td>
                                                    <td>一对一：</td>
                                                    <td>
                                                        <asp:DropDownList ID="rblAutoAbsent1v1" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:DropDownList></td>
                                                    <td></td>
                                                    <td></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>旷课消耗课时：
                                        </td>
                                        <td>

                                            <table class="table_simple">
                                                <tr>
                                                    <td>一对多：</td>
                                                    <td>
                                                        <asp:DropDownList ID="rblAbsentDepleteLesson" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:DropDownList></td>

                                                    <td>一对一：</td>
                                                    <td>
                                                        <asp:DropDownList ID="rblAbsentDepleteLesson1v1" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:DropDownList></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>请假消耗课时：
                                        </td>
                                        <td>

                                            <table class="table_simple">
                                                <tr>
                                                    <td>一对多：</td>
                                                    <td>
                                                        <asp:DropDownList ID="rblLeaveDepleteLesson" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:DropDownList></td>

                                                    <td>一对一：</td>
                                                    <td>
                                                        <asp:DropDownList ID="rblLeaveDepleteLesson1v1" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:DropDownList></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>1对1边考边排：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblAutoPPAttend" runat="server" 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:DropDownList ID="ddlStuSignMode" runat="server">
                                            <asp:ListItem Value="0">单课次模式</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="ddlAttendIncomeDetails" runat="server">
                                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                                <asp:ListItem Value="1">开启</asp:ListItem>
                                            </asp:DropDownList>
                                            开启此功能可以计算出每次考勤的课次产出金额，但比较占用资源。
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="__mt_c6" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">
                                    <tr>
                                        <td style="width: 110px">锁定收费金额：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblLockPay" runat="server" 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="rblFavEnabled" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>单笔优惠限额：
                                        </td>
                                        <td>
                                            <div class="inline_block"><%=swq.CurrentCurrencySymbol %></div>
                                            <div class="inline_block">
                                            <asp:TextBox ID="tbxFavMax" runat="server"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="_tbxFavMax" runat="server" ControlToValidate="tbxFavMax"
                                                Display="Dynamic" ValidationExpression="^-?\d+(\.\d+)?$"></asp:RegularExpressionValidator></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>允许学员借款：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblCreditEnabled" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>学员借款限额：
                                        </td>
                                        <td>
                                            <div class="inline_block"><%=swq.CurrentCurrencySymbol %></div>
                                            <div class="inline_block"><asp:TextBox ID="tbxCreditSysMax" runat="server"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="_tbxCreditSysMax" runat="server" ControlToValidate="tbxCreditSysMax"
                                                Display="Dynamic" ValidationExpression="^-?\d+(\.\d+)?$"></asp:RegularExpressionValidator></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>单笔借款限额：
                                        </td>
                                        <td>
                                            <div class="inline_block"><%=swq.CurrentCurrencySymbol %></div>
                                            <div class="inline_block"><asp:TextBox ID="tbxCreditMax" runat="server"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="_tbxCreditMax" runat="server" ControlToValidate="tbxCreditMax"
                                                Display="Dynamic" ValidationExpression="^-?\d+(\.\d+)?$"></asp:RegularExpressionValidator></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>充值允许编辑：
                                        </td>
                                        <td>
                                            <table cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td>
                                                        <asp:RadioButtonList ID="rblEditRecharge" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                            <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                                        </asp:RadioButtonList>
                                                    </td>
                                                    <td>仅限财务模块。
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr style="display: none">
                                        <td>同一课程重复出现在消费单：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblRepeatCourseItems" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr style="display: none">
                                        <td>校区绑定仓库：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblSchoolSto" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="是"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="否"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>课时最大单价：
                                        </td>
                                        <td>
                                            <div class="inline_block"><%=swq.CurrentCurrencySymbol %></div>
                                            <div class="inline_block"><asp:TextBox ID="tbxMaxUnitPrice" runat="server"></asp:TextBox>
                                            <asp:RegularExpressionValidator ID="_tbxMaxUnitPrice" runat="server" ControlToValidate="tbxMaxUnitPrice"
                                                Display="Dynamic" ValidationExpression="^-?\d+(\.\d+)?$"></asp:RegularExpressionValidator></div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>钱包允许负数：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblAllowNegative" runat="server" 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="rblAlipayState" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="禁用"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="允许"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>支付宝身份ID：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxAlipayPartner" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>支付宝检验码：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxAlipayKey" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>支付宝账号：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxAlipayAccount" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>支付提醒手机：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxPaymentSMS" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr style="display: none">
                                        <td>购物默认状态：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblCommodityGiveState" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0">未发</asp:ListItem>
                                                <asp:ListItem Value="1">已发</asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="__mt_c7" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">

                                    <tr>
                                        <td>发送方式：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlsmsSendMode" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlsmsSendMode_SelectedIndexChanged">
                                                <asp:ListItem Value="1">麦田平台发送</asp:ListItem>
                                                <asp:ListItem Value="2">GET方式发送</asp:ListItem>
                                                <asp:ListItem Value="3">定制程序发送</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>接收方式：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlsmsReceiveMode" runat="server">
                                                <asp:ListItem Value="0">不接收</asp:ListItem>
                                                <asp:ListItem Value="1">主动接收</asp:ListItem>
                                                <asp:ListItem Value="3">被动接收</asp:ListItem>
                                                <asp:ListItem Value="2">手动</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>单条短信最大长度：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlsmsMaxLength" runat="server">
                                                <asp:ListItem>64</asp:ListItem>
                                                <asp:ListItem>70</asp:ListItem>
                                                <asp:ListItem>300</asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>接口地址：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxsmsServiceUrl" runat="server" AutoCompleteType="Disabled"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>成功短信返回码：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxsmsSuccessCode" runat="server" AutoCompleteType="Disabled"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>URL编码方式：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxsmsUrlEncoding" runat="server" AutoCompleteType="Disabled"></asp:TextBox>
                                        </td>
                                    </tr>

                                    <tr>
                                        <td>发送事件短信时，可选不发送：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblSMSSelectBox" runat="server" RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>

                                </table>
                            </div>
                            <div id="__mt_c8" class="tab_content">
                                <table class="tab_table" border="0" cellspacing="0">
                                    <tr>
                                        <td style="width: 120px">打印处理程序：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlPrintType" runat="server">
                                            <asp:ListItem Value="2" Text="本地应用（多浏览器）"></asp:ListItem>
                                            <asp:ListItem Value="1" Text="网络打印程序"></asp:ListItem>
                                            <asp:ListItem Value="0" Text="BHO插件（IE浏览器）"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr style="display: none">
                                        <td>打印模式：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlPrintMode" runat="server">
                                                <asp:ListItem Value="1" Text="直接打印"></asp:ListItem>
                                                <asp:ListItem Value="2" Text="预览打印"></asp:ListItem>
                                                <asp:ListItem Value="3" Text="设置打印"></asp:ListItem>
                                                <asp:ListItem Value="4" Text="选择打印"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>充值后询问打印：
                                        </td>
                                        <td>
                                            <asp:RadioButtonList ID="rblInputPaymentAfterAskPrint" runat="server"
                                                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="rblInputBillAfterAskPrint" runat="server"
                                                RepeatDirection="Horizontal">
                                                <asp:ListItem Value="0" Text="否"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                            </asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr style="display: none">
                                        <td>考勤后打印凭条：
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="rblAutoPrintAttend" runat="server">
                                                <asp:ListItem Value="0">禁用</asp:ListItem>
                                                <asp:ListItem Value="1">允许</asp:ListItem>
                                            </asp:DropDownList>
                                            针对ID/指纹硬件考勤，当考勤成功时可自动打印凭条。
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>学校名称：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxSchoolName" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>网站地址：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxSiteUrl" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>电子信箱：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxEmail" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>电话：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxTel" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>传真：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxFax" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>地址：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxAddress" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>邮编：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="tbxPostCode" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>


                <div style="margin-top: 5px; text-align: right">
                    <label class="lab_button" style="width: 100px; text-align: center">
                        <asp:Button ID="btnReset" runat="server" Text="应用" OnClick="btnReset_Click"></asp:Button>
                    </label>
                </div>


                <div class="backpanel">
                    <label class="lab_button_kuan" id="__mt_labBack" runat="server">
                        <input causesvalidation="false" type="button" runat="server" onclick="back(this)"
                            value="返回" />
                    </label>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
