<%@ page language="C#" autoeventwireup="true" inherits="Search, v5star.Web" enableviewstate="false" %>

<!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 href="/template/default/style/search.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript">
    function doso(st){ 
    location.href='Search.aspx?wd='+document.getElementById("KeyWord"+st).value;
}
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table cellspacing="0" cellpadding="0" width="100%" align="center">
            <tbody>
                <tr>
                    <td style="padding-left: 8px; width: 137px; height: 80px;" valign="middle">
                    </td>
                    <td style="height: 80px">
                        &nbsp;&nbsp;&nbsp;</td>
                    <td valign="middle" style="height: 80px; width: 100%;">
                        <table cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <input id="KeyWord1" type="text" class="textbox" value="<%=this.Query %>" onkeydown="if (event.keyCode==13) {doso(1);}" />
                                </td>
                                <td>
                                    <input id="Button1" type="button" value="搜一下" class="buttom" onclick="doso(1)" />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="height: 80px">
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
        </p>
        <table style="background-color: #e7e6f2; height: 25px;" cellspacing="0" cellpadding="0"
            width="100%" align="center" border="0">
            <tr>
                <td>
                    &nbsp;&nbsp;<a style="color: #000000" onclick="h(this,'http://www.v5star.com')" href="#">设为主页</a></td>
                <td align="right">
                    搜索一下，找到相关网页<%=total%>篇，用时<%= duration.TotalSeconds.ToString("f3")%>秒&nbsp;&nbsp;&nbsp;&nbsp;</td>
            </tr>
        </table>
        <br />
        <table cellspacing="0" cellpadding="0" width="20%" align="right" border="0">
            <tr>
                <td style="padding-right: 10px" align="left">
                    <br />
                    <div id="ADDiv" style="border-left: 1px solid #e1e1e1; padding-left: 10px;">
                        广告招租
                        <br />
                        如果你的搜索没有结果，可以给我来信：web(at)v5star.com

<p><script type="text/javascript"><!--
google_ad_client = "pub-2953450431029830";
/* 160x600, 创建于 10-7-2 */
google_ad_slot = "4994979782";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
                    </div>
                </td>
            </tr>
        </table>
        <div style="width: 70%; margin-left: 20px;">
            <asp:Repeater ID="SearchResult" runat="server">
                <ItemTemplate>
                    <p>
                        <a href="<%# DataBinder.Eval(Container.DataItem, "url")%>" target="_blank"><span
                            class="titletxt">
                            <%# DataBinder.Eval(Container.DataItem, "title")%>
                        </span></a>
                        <br>
                        <span class="sample">
                            <%# DataBinder.Eval(Container.DataItem, "intro")%>
                        </span>
                        <br>
                        <span class="path">
                            <%# DataBinder.Eval(Container.DataItem, "url")%>
                            <%# DataBinder.Eval(Container.DataItem, "date")%>
                        </span>
                    </p>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div>
            <aspx:CutePager ID="CutePager1" runat="server" AlwaysShow="True" CustomInfoTextAlign="NotSet"
                HorizontalAlign="Center" ShowDisabledButtons="False" ShowFirstLast="False" ShowInputBox="Never"
                ShowNavigationToolTip="True" SubmitButtonText="GO" OnPageChanged="CutePager1_PageChanged"
                UrlPaging="True">
            </aspx:CutePager>
        </div>
        <table style="margin-left: 25px;" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <input id="KeyWord2" type="text" class="textbox" style="" value="<%=this.Query %>"
                            onkeydown="if (event.keyCode==13) {doso(2);}" />
                    </td>
                    <td>
                        <input id="Button3" type="button" value="搜一下" class="buttom" onclick="doso(2)" />
                        </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div style="margin: 0px auto; text-align: center; background-color: #e5e5e6;">
            &copy;2009&nbsp; www.v5star.com <span>此内容系本系统根据您的指令自动搜索的结果，不代表本站赞成被搜索网站的内容或立场</span></div>
    </form>
</body>
</html>
