<%@ Page Language="C#" AutoEventWireup="false" validateRequest=false %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Import Namespace="Hishop.SystemServices" %>

<!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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
    <script type="text/javascript" src="../../utility/Calendar/WdatePicker.js" ></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>         
            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:TQOnlineServerSet, IDS_PageTitle %>" ></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="litManagerDisciption" runat="server" Text="<%$ Resources:TQOnlineServerSet, IDS_PageDesc %>" ></asp:Literal>
                </div>
            </div>
            <Hishop:TQOnlineServerSet ID="TQOnlineServerSet" runat="server">
                <SkinTemplate>
<div id="updateMsg"><Hishop:StatusMessage id="Status" runat="server" Visible="False" /></div> 
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
    <!--开启 TQ客服-->
    <tr>
        <td class="leftTD" style="width: 130px;">
            <asp:Label runat="server" Text="<%$ Resources:TQOnlineServerSet, IDS_Field_EnableTQ %>"></asp:Label>
        </td>
        <td class="rightTD">
            <Hishop:YesNoRadioButtonList ID="ynrblEnableTQ" runat="server">
            </Hishop:YesNoRadioButtonList>
        </td>
        <td class="rightTD">
            <div class="msgNormal">
                <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:TQOnlineServerSet, IDS_FrontMessage_EnableTQ %>" />
            </div>
        </td>
    </tr>
    <!--TQ代码-->
    <tr>
        <td class="leftTD" style="width: 130px;">
            <asp:Label ID="Label1" runat="server" Text="<%$ Resources:TQOnlineServerSet, IDS_Field_TQCode %>"></asp:Label>
        </td>
        <td class="rightTD">
            <asp:TextBox ID="txtTQCode" runat="server" Width="300" Height="100px" TextMode="MultiLine" ></asp:TextBox>
        </td>
        <td class="rightTD">
            <div id="txtTQCodeTip" runat="server">
            </div>
            <Hishop:ValidateTarget ContainerId="ValidatorContainer"
                runat="server" ControlToValidate="txtTQCode" Description="<%$ Resources:TQOnlineServerSet, IDS_FrontMessage_TQCode %>" Nullable="false">
                <Validators>
                    <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:TQOnlineServerSet, IDS_FrontMessageError_TQCode %>" LowerBound="1" UpperBound="2000" />
                </Validators>
            </Hishop:ValidateTarget>
        </td>
    </tr>
<!--按钮-->
    <tr>
        <td class="bottonLeftTD" style="width:160px;">&nbsp;</td>
        <td class="rightTD">
            <asp:Button ID="btnSet" OnClientClick="return PageIsValid();" runat="server" Text="<%$ Resources:TQOnlineServerSet, IDS_Field_btnSet %>"  CssClass="inp_L1"></asp:Button >
        </td>
        <td class="rightTD">&nbsp;</td>
    </tr>
</table> 
<div style="padding:10px;">
    <p>TQ代码获取步骤：</p>
    <p style="margin-top:6px;"><label>第一步：</label>注册TQ帐号(注册地址 <a href="http://qtt.tq.cn/prenewadmuser.do" target=_blank>http://qtt.tq.cn/prenewadmuser.do</a>)</p>
    <p style="margin-top:6px;"><label>第二步：</label>下载TQ (下载地址 <a href="http://qtt.tq.cn/download/download.htm" target=_blank>http://qtt.tq.cn/download/download.htm</a>)</p>
    <p style="margin-top:6px;"><label>第三步：</label>获取TQ代码 (获取地址 <a href="http://agent.tq.cn/selectstyle.do" target=_blank>http://agent.tq.cn/selectstyle.do</a>)</p>
</div>

                </SkinTemplate>
            </Hishop:TQOnlineServerSet>
        </div>
        <br />
        <div style="text-align:center">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright ID="SiteCopyright1" runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
