<%@ Page Title="" Language="C#" MasterPageFile="SiteAdmin.Master" AutoEventWireup="true" CodeBehind="taobaoke_set.aspx.cs" Inherits="FanXian.Web.admin.taobaoke_set" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>淘宝客设置</h2>
    <table>
        <tr>
            <td>阿里妈妈PID</td>
            <td>
                <asp:TextBox ID="txt_alimama_pid" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txt_alimama_pid">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>API地址</td>
            <td>
                <asp:TextBox ID="txt_taobaoke_app_url" runat="server" Columns="60"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txt_taobaoke_app_url">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>App Key</td>
            <td>
                <asp:TextBox ID="txt_taobaoke_app_key" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txt_taobaoke_app_key">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>App Secret</td>
            <td>
                <asp:TextBox ID="txt_taobaoke_app_secret" Columns="60" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txt_taobaoke_app_secret">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>阿里妈妈登录用户名</td>
            <td>
                <asp:TextBox ID="txt_taobaoke_nick_name" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txt_taobaoke_nick_name">请填写</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>禁止搜索关键词</td>
            <td>
                <asp:TextBox ID="txt_bad_words" runat="server" Columns="60" Rows="5" 
                    TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>支付佣金比例</td>
            <td>
                <asp:TextBox ID="txt_pay_pcnt" runat="server"></asp:TextBox>
                %
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txt_pay_pcnt">请填写</asp:RequiredFieldValidator>
                <br />
                建议在0.9以下，因为淘宝客会扣税。
            </td>
        </tr>
        <tr>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="提交修改" />
                <asp:Label ID="msg" ForeColor="Red" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
