<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Module_Search" %>

<!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="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Eoyoo.FormControl.js"></script>
    <script type="text/javascript" src="Script/Module_Search.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="FormControl" action="<%=getFormUrl %>" method="post" enctype="multipart/form-data">
    <div class="wrapper-div">
	<!-- 添加栏目 -->
    	<div class="title1">
        	<div class="right">
            	<span class="title-ico f_right titico3 X"> Ctrl + S 快捷保存</span>
            	<span class="title-ico titico5 F B">智能搜索模型配置</span>
            </div>
        </div>
        
        <!-- 表单 -->
        <div class="tbox_form">
            <p>
                <label class="name">是否开放搜索:</label>
                <label class="checkbox">
            	    <input id="issearch_chk" name="issearch_chk" <%=_issearch==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否开发站内智能搜索功能</span>
            </p>
            <p>
                <label class="name">是否统计搜索行为:</label>
                <label class="checkbox">
            	    <input id="isvisit_chk" name="isvisit_chk" <%=_isvisit==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否统计搜索行为（关闭之后减少服务器负担）</span>
            </p>
            <p>
                <label class="name">是否搜索补全:</label>
                <label class="checkbox">
            	    <input id="iskeysupply_chk" name="iskeysupply_chk" <%=_iskeysupply==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否启用搜索关键词下拉补全功能</span>
            </p>
            <p>
                <label class="name">是否显示相关搜索:</label>
                <label class="checkbox">
            	    <input id="isrelated_chk" name="isrelated_chk" <%=_isrelated==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否显示相关关键字搜索</span>
            </p>
            <p>
                <label class="name">是否自动生成Tag:</label>
                <label class="checkbox">
            	    <input id="istag_chk" name="istag_chk" <%=_istag==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否自动生成Tag索引页（搜索结果不为0的时候）</span>
            </p>
            <p>
                <label class="name">是否开发搜索反馈:</label>
                <label class="checkbox">
            	    <input id="isfeedback_chk" name="isfeedback_chk" <%=_isfeedback==true?"checked=checked":"" %> type="checkbox" value="0" />
                </label>
                <span class="point ico-remind V">是否开放搜索结果反馈提交</span>
            </p>
            <p>
                <label class="name">每页显示结果数量:</label>
                <input id="listcount_txt" class="input200 isNumber" value="<%=_listcount%>" name="listcount_txt" type="text" />
                <span class="point ico-remind V">每页显示搜索结果数量</span>
            </p>
            <p>
                <label class="name">结果排序方式:</label>
                <label class="checkbox">
            	    <select id="listorder_select" name="listorder_select" tabindex="1" class="select">
                      <option <%=_listorder=="addtime desc,id asc"?"selected=selected":"" %> value="addtime desc,id asc">添加时间最新在前面</option>
                      <option <%=_listorder=="addtime asc,id asc"?"selected=selected":"" %> value="addtime asc,id asc">添加时间最旧在前面</option>
                      <option <%=_listorder=="updatetime desc,addtime desc"?"selected=selected":"" %> value="updatetime desc,addtime desc">更新时间最新在前面</option>
                      <option <%=_listorder=="updatetime asc,addtime desc"?"selected=selected":"" %> value="updatetime asc,addtime desc">更新时间最旧在前面</option>
                      <option <%=_listorder=="clicks desc,id asc"?"selected=selected":"" %> value="clicks desc,id asc">点击数最多在前面</option>
                      <option <%=_listorder=="clicks asc,id asc"?"selected=selected":"" %> value="clicks asc,id asc">点击数最少在前面</option>
                    </select>
                </label>
                <span class="point ico-remind V">搜索默认排序方式</span>
            </p>
            <hr />

            <label class="name">&nbsp;</label> <input type="submit" class="bule-btn W" value="确定保存" />
            <span></span>
        </div>
        <!-- end 表单 -->
    <!-- end 添加栏目 -->
</div>
    </form>
</body>
</html>
