<%@ Page Language="C#" MasterPageFile="~/Admin/MainPage.Master" AutoEventWireup="true" CodeBehind="ThirdDataSet.aspx.cs" Inherits="PPFOR.Admin.Sys.WebConfig.ThirdDataSet" Title="第三方整合" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PPFOR_mainContent" runat="server">
<form id="form1" action="ThirdDataSet.aspx" method="post" runat="server">
<table width="100%" cellpadding="0" cellspacing="0" border="0" class="fortable">
<thead>
    <tr>
    <td colspan="2">第三方整合设置</td>
    </tr>
</thead>
    <tr>
        <td style="width:15%" align="right">整合项目名称：</td>
        <td>
            <asp:Label ID="PPFOR_name" runat="server"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="right">是否开启：</td>
        <td>
            <asp:RadioButtonList ID="PPFOR_enable" runat="server" CssClass="innertable" RepeatDirection="Horizontal">
            <asp:ListItem Text="开启" Value="true"></asp:ListItem>
            <asp:ListItem Text="关闭" Value="false" Selected="True"></asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
    <tr>
        <td align="right">访问URL：</td>
        <td>
            <asp:TextBox ID="PPFOR_url" MaxLength="255" runat="server" Width="300px"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" SetFocusOnError="true" ValidationExpression="^http://([\w-]+\.)+[\w-]+(:[\d]+)?(/[\w-./?%&=]*)?$" Display="Dynamic" ControlToValidate="PPFOR_url"><br />URL格式不符合</asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td align="right">API Key：</td>
        <td>
            <asp:TextBox ID="PPFOR_apiKey" MaxLength="255" runat="server" Width="300px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="right">密匙：</td>
        <td>
            <asp:TextBox ID="PPFOR_secret" MaxLength="255" runat="server" Width="300px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td align="right">Cookie域：</td>
        <td>
            <asp:TextBox ID="PPFOR_domain" MaxLength="255" runat="server" Width="300px"></asp:TextBox><br />论坛网站bbs.website.com与主站www.website.com的Cookie域为".website.com"
        </td>
    </tr>   
    <tr>
        <td align="right">同步数据的URL地址：</td>
        <td>
            <asp:Label ID="PPFOR_shareAddress" runat="server"></asp:Label><br />
        </td>
    </tr> 
    <tr>
        <td colspan="2" align="center" style="height:30px; display:none">
            <asp:Button ID="PPFOR_saveSetting" runat="server" CssClass="inputbutton" Text="保存设置" OnClick="PPFOR_saveSettingClick" />
            <input type="reset" id="reset1" value="重置" class="inputbutton" onmouseover="this.className='inputbutton_hover'" onmouseout="this.className='inputbutton'"/><br />
           <asp:Label ID="PPFOR_goBackToList" runat="server"></asp:Label>
            <script type="text/javascript">              
              addButtonArray("<%= PPFOR_saveSetting.ClientID %>","reset1","goBack");
            </script> 
        </td>
    </tr> 
</table> 
</form>        
</asp:Content>
