<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="SearchEasy.SiteSearch.index" %>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="author" content="http://www.searcheasy.net" />
<title>站内搜索引擎</title>
<link rel="stylesheet" type="text/css" href="/images/search_index_v1.css"/>
<script type="text/javascript" src="/images/jquery.min.js"></script>
<script type="text/javascript" src="/images/jquery-ui.min.js"></script>
</head>
 
<body>
<div class="doc" id="home">
<form method="get" action="/search.aspx" onsubmit="return ValidateForm();">
	<div class="logo"><div class="img"><asp:Literal runat="server" ID="ltlHomeLogo" /></div></div>
    <div class="input" id="q-input">
    <span class="kw">
    <input type="text" id="kwq" class="text" name="q" x-webkit-speech="" x-webkit-grammar="builtin:translate" /></span><input type="submit" class="btn-search" value="" />
    <br /> <br /> <br />
    <span style="FONT-SIZE: 12px;COLOR: #333333;"><%= GetLatestSearchKeyWords("最新搜索：{0}")%> </span><br /><br />
    <span style="FONT-SIZE: 12px;COLOR: #333333;"><%= GetHotSearchKeyWords("最热搜索：{0}")%> </span>
    </div>
</form>
    <div style="text-align:center">
     <%= SearchAd %>
    </div>
    <div class="footer">
        <p class="links"></p>
        <p class="copyright_en"><asp:Literal runat="server" ID="ltlCopyRight" /></p>
        <p class="copyright_zh"><asp:Literal runat="server" ID="ltlPoweredBy" /></p>
    </div>
</div>
<script language="javascript" type="text/javascript">
function ValidateForm()
{
   var q = $("#kwq").val() ;
   if (q == "")
   {
       alert("请输入搜索关键词！");
       return false ;
   }
   
   return true ;
}
</script>
<asp:Literal runat="server" ID="ltlSearchSuggestionJs" />
</body>
</html>
 


