<%@ Page Language="C#" AutoEventWireup="true" CodeFile="interfaceSet.aspx.cs" Inherits="webXabara_frame_interfaceSet" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>接口设置</title>
    <link href="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/all.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body 
    {
        margin:8px 8px 0px 0px;
    }
    -->
    </style>
</head>
<body>
    <form id="form1" runat="server" enctype="multipart/form-data">
    <div class="divWidth">
        <div class="titleBg">
            接口设置</div>
    </div>
    <div class="height10px">
    </div>
    <div class="divWidth">
        <table width="100%" class="tableLine">
            <tr>
                <td colspan="2" style="height: 8px; background-color: #ceeff8;">
                </td>
            </tr>
            <tr>
                <td class="tdTitle" style="width:250px;">
                    <a href="http://www.zdianpu.com/help/view/70.htm" target="_blank" style="color:Red;">如何申请？</a>&nbsp;财付通商户号
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="tenPayID" runat="server" CssClass="inputTextIME" Width="500px" MaxLength="100"></asp:TextBox>
                    &nbsp; </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    财付通密钥
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="tenPayKey" runat="server" CssClass="inputTextIME" 
                        Width="500px" Height="40px" TextMode="MultiLine"></asp:TextBox>
                    &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    财付通结算费率
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="tenPayFee" runat="server" CssClass="inputTextIME" Width="50px"></asp:TextBox>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator1"
                        runat="server" ControlToValidate="tenPayFee" ErrorMessage="*"></asp:RequiredFieldValidator>
                    &nbsp;如 1% 就填写 0.01
                    <asp:RegularExpressionValidator SetFocusOnError="True" ID="tenPayRegularExp" runat="server"
                        ControlToValidate="tenPayFee" ErrorMessage="RegularExpressionValidator" ForeColor="#FF3300"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="height: 8px; background-color: #ceeff8;">
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    <a href="http://www.zdianpu.com/help/view/71.htm" target="_blank" style="color:Red;">如何申请？</a>&nbsp;QQ一键登录 APP ID
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="qqAppID" runat="server" CssClass="inputTextIME" Width="500px" 
                        MaxLength="100"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdTitle">
                    QQ一键登录 APP KEY 
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="qqAppKey" runat="server" CssClass="inputTextIME" Width="500px"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td colspan="2" style="height: 8px; background-color: #ceeff8;">
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                   <a href="http://www.zdianpu.com/help/view/6.htm" target="_blank" style="color:Red;">如何申请？</a>&nbsp;支付宝合作者身份（PID）</td>
                <td class="tdContent">
                    <asp:TextBox ID="aliPayID" runat="server" CssClass="inputTextIME" Width="500px"></asp:TextBox>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    支付宝安全校验码（Key）</td>
                <td class="tdContent">
                    <asp:TextBox ID="aliPayKey" runat="server" CssClass="inputTextIME" 
                        Width="500px" Height="40px" TextMode="MultiLine"></asp:TextBox>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    支付宝签约支付宝账号</td>
                <td class="tdContent">
                    <asp:TextBox ID="aliPayEmail" runat="server" CssClass="inputTextIME" 
                        Width="500px"></asp:TextBox>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    支付宝结算费率
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="aliPayFee" runat="server" CssClass="inputTextIME" Width="50px"></asp:TextBox>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator2"
                        runat="server" ControlToValidate="aliPayFee" ErrorMessage="*"></asp:RequiredFieldValidator>
                    &nbsp;如 1.2% 就填写0.012
                    <asp:RegularExpressionValidator SetFocusOnError="True" ID="aliPayRegularExp" runat="server"
                        ControlToValidate="aliPayFee" ErrorMessage="RegularExpressionValidator" ForeColor="#FF3300"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    支付宝支付方式</td>
                <td class="tdContent">
                    <asp:RadioButtonList ID="alipayType" runat="server" RepeatDirection="Horizontal" 
                        RepeatLayout="Flow">
                        <asp:ListItem Value="0">即时到账</asp:ListItem>
                        <asp:ListItem Value="1">担保交易</asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator19"
                        runat="server" ControlToValidate="alipayType" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="height: 8px; background-color: #ceeff8;">
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    查看教员/学员费用
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="telViewMoney" runat="server" CssClass="inputTextIME" 
                        Width="50px"></asp:TextBox>
                    &nbsp;元人民币<strong> 注：</strong>设置为0元表示关闭此功能，-1表示公开联系方式即免费。
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator16"
                        runat="server" ControlToValidate="telViewMoney" ErrorMessage="*"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator  SetFocusOnError="True"  ID="telMoneyRegularExpressionValidator" 
            runat="server" ControlToValidate="telViewMoney" 
            ErrorMessage="RegularExpressionValidator" ForeColor="#FF3300"></asp:RegularExpressionValidator> &nbsp;</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    教员预约功能</td>
                <td class="tdContent">
                    <asp:RadioButtonList ID="orderList" runat="server" RepeatDirection="Horizontal" 
                        RepeatLayout="Flow">
                        <asp:ListItem Value="1">开启</asp:ListItem>
                        <asp:ListItem Value="0">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator17"
                        runat="server" ControlToValidate="orderList" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    强制发布信息</td>
                <td class="tdContent">
                    <asp:RadioButtonList ID="openWin" runat="server" RepeatDirection="Horizontal" 
                        RepeatLayout="Flow">
                        <asp:ListItem Value="1">开启</asp:ListItem>
                        <asp:ListItem Value="0">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator20"
                        runat="server" ControlToValidate="openWin" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    新会员注册送钱功能</td>
                <td class="tdContent">
                    <asp:TextBox ID="userMoney" runat="server" CssClass="inputTextIME" 
                        Width="50px"></asp:TextBox>
                    &nbsp;元人民币<strong> 注：</strong>设置为0元表示不赠送
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator18"
                        runat="server" ControlToValidate="userMoney" ErrorMessage="*"></asp:RequiredFieldValidator>
        <asp:RegularExpressionValidator  SetFocusOnError="True"  ID="userMoneyRegularExpressionValidator" 
            runat="server" ControlToValidate="userMoney" 
            ErrorMessage="RegularExpressionValidator" ForeColor="#FF3300"></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td colspan="2" style="height: 8px; background-color: #ceeff8;">
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    <a href="http://www.zdianpu.com/help/view/66.htm" target="_blank" style="color:Red;">如何申请？</a>&nbsp;邮局SMTP
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="mailSmtp" runat="server" CssClass="inputTextIME" Width="500px" MaxLength="100"></asp:TextBox>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator13"
                        runat="server" ControlToValidate="mailSmtp" ErrorMessage="*"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="tdTitle">
                    邮箱地址
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="mailAdd" runat="server" CssClass="inputTextIME" Width="500px" MaxLength="100"></asp:TextBox>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    邮箱密码
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="mailPass" runat="server" CssClass="inputTextIME" Width="500px" MaxLength="100"></asp:TextBox>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    会员邮箱验证</td>
                <td class="tdContent">
                    <asp:RadioButtonList ID="emailCheck" runat="server" RepeatDirection="Horizontal" 
                        RepeatLayout="Flow">
                        <asp:ListItem Value="1">开启</asp:ListItem>
                        <asp:ListItem Value="0">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator21"
                        runat="server" ControlToValidate="emailCheck" ErrorMessage="*"></asp:RequiredFieldValidator>
                &nbsp;注：会员注册后，必须通过验证后，才可以操作会员相关功能；</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    建议使用邮局
                </td>
                <td class="tdContent">
                    <asp:TextBox ID="emailRegs" runat="server" CssClass="inputText" Width="98%" Height="60px"
                        TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator SetFocusOnError="True" ForeColor="#ff3300" ID="RequiredFieldValidator6"
                        runat="server" ControlToValidate="emailRegs" ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                    通知邮箱</td>
                <td class="tdContent">
                    <asp:TextBox ID="tzMail" runat="server" CssClass="inputTextIME" Width="200px" 
                        MaxLength="100"></asp:TextBox>
                &nbsp; 监控审核类信息，推荐手机邮箱</td>
            </tr>
            <tr>
                <td colspan="2" style="height: 8px; background-color: #ceeff8;">
                </td>
            </tr>
            <tr>
                <td class="tdTitle">
                </td>
                <td class="tdContent">
                    <asp:Button ID="sysSet" runat="server" Text="设置完成" CssClass="inputBottom" OnClick="sysSet_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
