<%@ page language="VB" autoeventwireup="false" inherits="parrot_admin_Customer_auto, App_Web_admin_customer_auto.aspx.25f04327" %>
<!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>
    <title>智能交谈管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<link href="css/button.css" rel="stylesheet" type="text/css" />

<script charset="utf-8" src="../kindeditor/kindeditor.js" type="text/javascript"></script>
<script charset="utf-8" src="../kindeditor/lang/zh_CN.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    var editor;
    KindEditor.ready(function (K) {
        editor = K.create('textarea[name="add_auto_txt"]', {
            resizeType: 0,
            newlineTag: "br",
            allowPreviewEmoticons: false,
            allowImageUpload: false,
			items:
			[
        'source', 'undo', 'redo', 'preview', 'print', 'template', 'code', 'cut', 'copy', 'paste','plainpaste', 'wordpaste', 'justifyleft', 'justifycenter', 'justifyright','justifyfull', '/',
	 'insertorderedlist','insertunorderedlist', 'indent', 'outdent', 'clearhtml', 'fullscreen','formatblock', 'fontname', 'fontsize', 'forecolor', 'hilitecolor', 'bold','italic', 'underline', 'strikethrough', '/',
          'lineheight','removeformat', 'image','flash', 'media', 'insertfile', 'table', 'hr', 'emoticons', 'baidumap', 'pagebreak','anchor', 'link', 'unlink'
]

        });

    });
		</script>

<script language="javascript" type="text/javascript">

    function CheckAll(form) //传一个表单作参数
    {
        for (var i = 0; i < form.elements.length; i++) //对这个表单里的元素进行循环
        {
            var e = form.elements[i]; //一个一个元素判断
            if (e.Name != "auto_id" && e.disabled != true) //如果该元素的name属性为chkAll并且disabled!=true.即:该控件可用时.
                e.checked = form.chkAll.checked; //控元素的checked与当前选中的控件checked保持一致.即:全选/全不选.
        }
    }

    </script>


</head>
    <body>
<form id="form1" runat="server">

<table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
          <tr>
            <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
              <tr>
                <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                  
                  <tr>
                    <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                      <tr>
                        <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                        <td valign="bottom" class="huise12">智能交谈管理</td>
                        <td valign="bottom" align="right" class="huise12">(关键字A|关键字B) 检索关键字支持正则表达式输入</td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          
          
        </table></td>
      </tr>
    </table></td>

  </tr>
</table> 

   
   <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>添加新记录</strong></legend>

   <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
     
     <tr>
       <td width="21%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">检索关键字：</td>
       <td height="25"><asp:TextBox ID="add_auto_key" runat="server" 
               CssClass="text_autox22_cccccc" MaxLength="50" Width="430px"></asp:TextBox></td>
     </tr>
     <tr>
       <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">关键字对应回复：</td>
       <td height="25"><asp:TextBox ID="add_auto_txt"  runat="server" CssClass="text_autox22_cccccc"  TextMode="MultiLine" Height="304px" Width="434px"></asp:TextBox></td>
     </tr>
     
     <tr>
       <td height="30" align="center" bgcolor="#F6F6F6"><span 
                                                  class="wuse12"><a href="?">新建</a></span></td>
       <td height="25">
           <asp:Button ID="add_auto_ok" runat="server" CssClass="btn1_mouseout" 
               Text=" 添加记录 " />     
           <asp:Button ID="up_auto_ok" runat="server" CssClass="btn_2k3" Text=" 修改记录 "  
               Enabled="False" />     
           <asp:Label ID="add_auto_ts" runat="server" CssClass="hongse12"></asp:Label></td>
     </tr>
   </table>
  </fieldset>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>已建立的记录</strong></legend>

<table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#F6F6F6" style="margin-top:5px;">
  <tr>
    <td width="21" height="22" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><input name="chkAll" type="checkbox" id="chkAll" onclick="CheckAll(this.form)" value="checkbox" style="border:0" /></td>
    <td align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">检索关键字：</td>
    <td width="15%" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">添加时间</td>
    <td width="15%" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">管理</td>
  </tr>
  <asp:Repeater ID="data_auto" runat="server">
    <ItemTemplate>
      <tr onmouseover="this.bgColor='#DBDBDB';" onmouseout="this.bgColor='#ffffff';" bgcolor="#ffffff" >
        <td height="30" class="wuse12"><input name="auto_id" type="checkbox" id="auto_id" value="<%#Eval("auto_id")%>" /></td>
        <td class="wuse12"><%# Eval("auto_key")%></td>
        <td align="center" class="wuse12"><%# Eval("auto_time")%></td>
        <td align="center" class="wuse12"><a href="?up_auto=True&auto_id=<%#Eval("auto_id")%>">修改</a></td>
      </tr>
    </ItemTemplate>
  </asp:Repeater>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30"><span class="wuse12"><asp:Button CssClass="btn1_mouseout" 
            ID="delete_auto_ok" runat="server" Text="批量删除"/>
    </span></td>
  </tr>
  <tr>
    <td height="30" align="center">
        <asp:Label ID="web_page" runat="server"></asp:Label>      </td>
  </tr>
</table>
</fieldset>
    </form>

	</body>
    </html>