<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.Web._AspxCode" %>
<!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>智能搜索 - <%=_siteT %></title>
    <meta name="keywords" content="<%=_siteK %>" />
    <meta name="description" content="<%=_siteD %>" />
    <meta name="author" content="<%=_siteUrl%>" />
    <meta name="copyright" content="<%=_corpName %>" />
    <meta name="searchtitle" content="<%=_corpInfo %>" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="<%=rootPath %>/Style/Children.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" type="image/x-ico" href="<%=rootPath %>/favicon.ico" />
    <script src="<%=rootPath %>/Script/Jquery.js" type="text/javascript"></script>
    <script src="<%=rootPath %>/Script/Common.js" type="text/javascript"></script>
    <script src="<%=rootPath %>/Script/Search.js" type="text/javascript"></script>
</head>
<body>
<!--#include virtual= "Contain/Header.htm"-->
<!-- main -->
<div class="wrapper">

    <div class="f_left layer_696">
        <div class="global_box">
            <h2>
        	    <span class="cn">智能搜索</span>
                <span class="en">SEARCH</span>
            </h2>
            <div class="box_gap">
                <div class="clear-6"></div>
                <div class="searchsupply">
                    输入搜索关键字：<input class="global_text" style="width:252px;" id="searchKey_text" value="<%=searchkey=="0"?"":searchkey %>" type="text" />
                    <input class="global_btn" id="searchBtn" sitesuffix="<%=_siteSuffix %>" value="智能搜索" type="button" />
                    <ul class="list" id="supplyBox" style="left:96px;"></ul>
                </div>
                <div class="clear-6"></div>
            </div>
        </div>
        <div class="global_box">
            <h2>
        	    <span class="cn">检索结果数</span>
                <span class="en"><span class="R B"> ( <%=_PageCount%> )</span></span>
                <ul class="global_tabs">
                    <li><a <%=searchmodule=="0"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"0") %>">全部</a></li>
                    <li><a <%=searchmodule=="1"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"1") %>">单页</a></li>
                    <li><a <%=searchmodule=="2"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"2") %>">图册</a></li>
                    <li><a <%=searchmodule=="3"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"3") %>">文章</a></li>
                    <li><a <%=searchmodule=="4"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"4") %>">产品</a></li>
                    <li><a <%=searchmodule=="5"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"5") %>">下载</a></li>
                    <li><a <%=searchmodule=="6"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"6") %>">视频</a></li>
                    <li><a <%=searchmodule=="7"?"class=active":"" %> href="<%=getSearchUrl(searchkey,"7") %>">人才</a></li>
                </ul>
            </h2>
            <div class="box_gap">
                   <!-- 搜索结果 -->
                    <ul class="search_list">
                        <%if (_searchListDat.Rows.Count > 0) %>
                        <%{ %>
                            <% foreach (System.Data.DataRow item in _searchListDat.Rows) %>
                            <% { %>
                                <li>
                                    <div class="line19 f_left G">
                                        <a href="<%=item["url"] %>" target="_blank" class="underline B H"><%=item["title"] %></a><br />
                                        <%=cutText(RemoveHtml(item["content"].ToString()),210,"..") %>
                                        <div class="clear-4"></div>
                                        <span class="Q"><%=item["url"] %> - <span class="V"><%=getTime2(item["addtime"].ToString())%></span></span> <a href="<%=item["url"] %>" target="_blank" class="R underline"> [详细了解]</a>
                                    </div>
                                    <div class="clear-0"></div>
                                </li>
                            <%} %>
                        <%}else{ %>
                            <%if (!EoyooCMS.CoreCalls.ModuleConfig._searchModuleIsSearch) %>
                            <%{ %>
                                <li><span class="V">搜索功能已关闭，请联系管理员</span></li>
                            <%}else{ %>
                                <li><span class="V">暂无搜索结果</span></li>
                            <%} %>
                        <%} %>
                    </ul>
                   <!-- end 搜索结果 -->
                <div class="clear-12"></div>
                <p class="PageBox">
                    <%=getSearchPagesInfo%>
                </p>
                <div class="clear-12"></div>
            </div>
        </div>
    </div>
    <!-- 右边 -->
    <div class="layer_276 f_right">
        <%if (EoyooCMS.CoreCalls.ModuleConfig._searchModuleIsRelated) %>
        <%{ %>
            <!-- 相关搜索 -->
            <div class="global_box">
                <h2>
                    <span class="cn">类似的搜索</span>
                    <span class="en">Recommend</span>
                </h2>
                <div class="box_gap">
                    <ul class="l_article">
                        <%if (_searchRelatedListDat.Rows.Count>0) %>
                        <%{ %>
                            <% foreach (System.Data.DataRow item in _searchRelatedListDat.Rows) %>
                            <%{ %>
                                <li><a href="<%=getSearchUrl(item["keyword"].ToString(),"0") %>"><%=item["keyword"]%></a> <span class="Q">(<%=item["result"]%>)</span></li>
                            <%} %>
                        <%}else{ %>
                            <li><span class="V">暂无相关搜索</span></li>
                        <%} %>
                    </ul>
                </div>
            </div>
            <!-- end 相关搜索 -->
            <div class="clear-0"></div>
        <%} %>
        <!-- 搜索反馈 -->
        <div class="global_box">
            <h2>
                <span class="cn">本次搜索结果反馈</span>
                <span class="en">Recommend</span>
            </h2>
            <div class="box_gap">
                本次搜索：<span class="F B"><%=searchkey=="0"?"":searchkey %></span>
                <div class="clear-6"></div>
                搜索结果：<span class="R B"><%=_PageCount%> 个</span>
                <div class="clear-6"></div>
                是否满意：<input type="radio" name="ismeet" value="0" /> 不满意 <input type="radio" checked="checked" name="ismeet" value="1" /> 满意
                <div class="clear-6"></div>
                建议意见：<textarea style="width:180px;" id="searchFeedbook_intro" class="global_text60"></textarea>
                <div class="clear-6"></div>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input class="global_btn m_right36" id="searchFeedbook_Btn" key="<%=searchkey=="0"?"":searchkey %>" result="<%=_PageCount%>" value="提交反馈" type="button" />
            </div>
        </div>
        <!-- end 搜索反馈 -->
        <div class="clear-0"></div>

    </div>

    <!-- end 右边 -->
    <div class="clear-0"></div>
</div>
<!-- end main -->
<!--#include virtual= "Contain/Footer.htm"-->
</body>
</html>
