<%@ page language="C#" autoeventwireup="true" inherits="admin_kf_sitekf, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<!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">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> 在线客服参数设置
            </td>
        </tr>
    </table>
    <table class="tabs" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td id="TabTitle0" class="title6" onclick="ShowTabs(0)">
                基本信息
            </td>
            <td id="TabTitle1" class="title5" onclick="ShowTabs(1)">
                自助答疑
            </td>
            <td class="titleline">
                &nbsp;
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" border="0" align="center">
        <tbody id="Tabs0">
            <tr>
                <td class="bqleft">
                    在线客服状态：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsOnline" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="True" Selected="True">开启</asp:ListItem>
                        <asp:ListItem Value="False">关闭</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    客服人员接收消息规则：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="IsMessage" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1">随机接收</asp:ListItem>
                        <asp:ListItem Value="2" Selected="True">顺序接收</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    刷新页面是否保存记录：
                </td>
                <td class="bqright">
                    <asp:RadioButtonList ID="ClearMessage" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Value="False">清空记录</asp:ListItem>
                        <asp:ListItem Value="True" Selected="True">保存记录</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    文件生成目录：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtFolder" runat="server" CssClass="in1" Columns="20"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    机器人聊天界面：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtRobotTemplate" runat="server" CssClass="in1" Columns="40"></asp:TextBox><input id="Button3" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtRobotTemplate',650,450,'')" /><font
                        color="#ff0066">*</font>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    客服人员聊天界面：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtPeopleTemplate" runat="server" CssClass="in1" Columns="40"></asp:TextBox><input id="Button4" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtPeopleTemplate',650,450,'')" /><font
                        color="#ff0066">*</font>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    信息窗口宽度：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtWidth" runat="server" CssClass="in1" Columns="10"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    信息窗口高度：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtHeight" runat="server" CssClass="in1" Columns="10"></asp:TextBox>
                </td>
            </tr>
        </tbody>
        <tbody id="Tabs1" style="display: none">
            <tr>
                <td class="bqleft">
                    机器人名称：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtRobotName" runat="server" CssClass="in1"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    默认欢迎语：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtRobotWelcome" runat="server" CssClass="in1" Columns="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    无关键词数据时显示语：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtRobotNotLanguage" runat="server" CssClass="in1" Columns="70"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    字数大于：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtWordCount" runat="server" CssClass="in1" Columns="10"></asp:TextBox>时，显示URL链接
                </td>
            </tr>
            <tr>
                <td class="bqleft">
                    显示URL模板：
                </td>
                <td class="bqright">
                    <asp:TextBox ID="txtUrlTemplate" runat="server" CssClass="in1" Columns="40"></asp:TextBox><input id="Button2" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtUrlTemplate',650,450,'')" /><font
                        color="#ff0066">*</font>
                    <br />在模板中插入:<br />{D_Title}获取标题 {D_Content}内容 {D_Click}访问次数 {D_AddTime}添加时间
                </td>
            </tr>
        </tbody>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button1" runat="server" Text=" 确认 " CssClass="btn radius30 pad_0_30" onclick="Button1_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
