home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / CMS / EaseSearch / EaseSearch.aspx next >
Text File  |  2004-06-04  |  5KB  |  119 lines

  1. <%@ Import Namespace="GoogleWebService" %>
  2. <%@ Page language="c#" Codebehind="EaseSearch.aspx.cs" AutoEventWireup="false" Inherits="EaseSoft.Utitlity.WebSearch" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5.   <HEAD>
  6.         <title>Search YourDomain.com</title>
  7. <META http-equiv=Content-Type content="text/html; charset=windows-1252">
  8.         <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  9.         <meta content="C#" name="CODE_LANGUAGE">
  10.         <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11.   </HEAD>
  12.     <body bgcolor="#ffffff" TOPMARGIN="0" leftmargin="0">
  13.         <a name="top"></a>
  14.         <table cellpadding="0" cellspacing="0" border="0" width="100%">
  15.             <tr valign="top">
  16.                 <td valign="top">
  17.                     <table cellpadding="0" cellspacing="0" border="0" width="100%">
  18.                         <tr valign="top">
  19.                             <td width="178" valign="top" id="donotprint" bgcolor="#f1f1f1" style="BORDER-RIGHT:#999999 1px solid">
  20.                             </td>
  21.                             <td width="100%">
  22.                                 <!-- contents start here -->
  23.                                 <!-- contents start here -->
  24.                                 <table cellpadding="10" cellspacing="0" border="0" width="100%">
  25.                                     <tr>
  26.                                         <td style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; PADDING-BOTTOM: 20px; PADDING-TOP: 11px" width="100%">
  27.                                             <table cellpadding="0" cellspacing="0" border="0" width="100%">
  28.                                                 <tr>
  29.                                                     <td>
  30.                                 <asp:Label id=GoogleKey runat="server" Visible="False">your license key from google</asp:Label>
  31.                                 <asp:Label id=Domain runat="server" Visible="False">yourdomain</asp:Label></td>
  32.                                                 </tr>
  33.                                                 <tr>
  34.                                                     <td></td>
  35.                                                 </tr>
  36.                                                 <tr>
  37.                                                     <td><h1>Search YourDomain.com</h1>
  38.                                                     </td>
  39.                                                 </tr>
  40.                                                 
  41.                                             </table>
  42.                                             <table cellpadding="0" cellspacing="0" border="0" width="100%">
  43.                                                 <tr>
  44.                                                     <td align="left" valign="top">
  45.                                                         <!-- -->
  46.                                                         <form id="frmSiteSearch" method="post" runat="server">
  47.                                                             <P><FONT face=宋体></FONT> </P>
  48.                                                             <P><asp:label id="Label2" runat="server" EnableViewState="False" Font-Size="Medium">Search for</asp:label><FONT face="宋体"> 
  49.                                                                 </FONT>
  50.                                                                 <asp:textbox id="SearWords" runat="server"></asp:textbox><asp:button id="Search" runat="server" Text="Search"></asp:button>  <asp:label id="Results" runat="server">Label</asp:label><BR>
  51.                                                                 <BR>
  52.                                                                 <asp:datalist id="DataList1" runat="server" Width="80%" BorderColor="Blue">
  53.                                                                     <SeparatorStyle ForeColor="Blue"></SeparatorStyle>
  54.                                                                     <ItemTemplate>
  55.                                                                         <table>
  56.                                                                             <tr>
  57.                                                                                 <td valign="top" width="15" rowspan="4">
  58.                                                                                     <%# DataBinder.Eval(Container.DataItem, "Order") %>
  59.                                                                                 </td>
  60.                                                                             </tr>
  61.                                                                             <tr>
  62.                                                                                 <td valign="top">
  63.                                                                                     <A href='<%# DataBinder.Eval(Container.DataItem, "URL") %>'>
  64.                                                                                         <%# DataBinder.Eval(Container.DataItem, "title") %>
  65.                                                                                     </A>
  66.                                                                                 </td>
  67.                                                                             </tr>
  68.                                                                             <tr>
  69.                                                                                 <td>
  70.                                                                                     <%# DataBinder.Eval(Container.DataItem, "snippet")  %>
  71.                                                                                 </td>
  72.                                                                             </tr>
  73.                                                                             <tr>
  74.                                                                                 <td>
  75.                                                                                     <A href='<%#DataBinder.Eval(Container.DataItem, "URL")%>'>
  76.                                                                                         <%#DataBinder.Eval(Container.DataItem,"URL")%>
  77.                                                                                         --<%# DataBinder.Eval(Container.DataItem,"cachedSize")%></A>
  78.                                                                                 </td>
  79.                                                                             </tr>
  80.                                                                             <tr height="2">
  81.                                                                                 <td> </td>
  82.                                                                             </tr>
  83.                                                                         </table>
  84.                                                                     </ItemTemplate>
  85.                                                                 </asp:datalist><p></p>
  86.                                                             <P><FONT face="宋体">
  87.                                                                     <table>
  88.                                                                         <TR>
  89.                                                                             <td>
  90.                                                                                 <asp:linkbutton id="PrevPage" runat="server">Previous</asp:linkbutton>
  91.                                                                             </td>
  92.                                                                             <td>
  93.                                                                                 <asp:datalist id="DataList2" runat="server" RepeatColumns="10" DESIGNTIMEDRAGDROP="689">
  94.                                                                                     <ItemTemplate>
  95.                                                                                         <asp:linkbutton Text='<%# DataBinder.Eval(Container.DataItem, "Key", "{0:d}") %>' CommandName="Select" style="color:darkred" runat="server" ID="Linkbutton1" NAME="Linkbutton1"/>
  96.                                                                                     </ItemTemplate>
  97.                                                                                 </asp:datalist>
  98.                                                                             </td>
  99.                                                                             <td><asp:linkbutton id="NextPage" runat="server" DESIGNTIMEDRAGDROP="691">Next</asp:linkbutton>
  100.                                                                             </td>
  101.                                                                         </TR>
  102.                                                                     </table>
  103.                                                         </FONT></form><p></p> 
  104.                                                         <!-- contents ends here--></td>
  105.                                                 </tr>
  106.                                             </table>
  107.                                         </td>
  108.                                     </tr>
  109.                                     <tr valign="top">
  110.                                     </tr>
  111.                                 </table>
  112.                             </td>
  113.                         </tr>
  114.                     </table>
  115.                 </td>
  116.             </tr>
  117.         </table>
  118.     </body>
  119. </HTML>