<%@ Page Language="C#" MasterPageFile="~/Includes/Main.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>
<%@ register Assembly="MagicAjax" Namespace="MagicAjax.UI.Controls" TagPrefix="ajax" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
<tr><td>
<table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="26" colspan="3"><table width="350"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="25"><img src="images/soso.gif" width="25" height="25" /></td>
              <td valign="middle">
                  <ajax:ajaxpanel ID="AjaxPanel1" runat="server">
                      
              <table  border="0" cellspacing="0" cellpadding="0"><tr>
              <td width="84" style="height: 22px">       
              <asp:dropdownlist id="ddl1" runat="server" OnSelectedIndexChanged="ddl1_SelectedIndexChanged" AutoPostBack="True">
        </asp:dropdownlist>             </td>
              <td width="80" style="height: 22px">
              <asp:dropdownlist id="ddl2" runat="server">
        </asp:dropdownlist>
              </td>
              </tr></table>
              </ajax:ajaxpanel>
              </td>
              <td width="30">内容</td>
              <td align="left" valign="middle"><input name="keyword" type="text" class="txt" size="4" onfocus="this.select();" value="搜索内容" />              </td>
              <td width="10" align="left" valign="middle">&nbsp;</td>
              <td width="54" align="left" valign="middle">
                  <asp:button ID="Btn_search" runat="server" Text="提交" OnClick="Btn_search_Click" />
               </td>
            </tr>
        </table></td>
      </tr>
      </table>
</td></tr>
<tr><td>
    <ajax:ajaxpanel ID="AjaxPanel2" runat="server">
    
<table>
<tr><td>
<asp:Repeater runat="server" ID="Rpt_news">
     <itemtemplate>     
      <table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr>
        <td width="20">
        <div align="center"><img src="images/dian_01.gif" width="9" height="6" /></div></td>
        <td width="240"><%#Eval("Title").ToString() %></td>
        <td align="center">
        <a style="color:#5195cb;" class="gold" title='<%#Eval("Title") %>' href='New_Info.aspx?nid=<%#Eval("NewID") %>'>
            详情..
        </td>
      </tr>
      </table>
      
      <table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="86" height="2" bgcolor="#5195CB"></td>
          <td width="264" height="2" bgcolor="#CCCCCC"></td>
        </tr>
      </table>
      
      <table width="350" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="240" valign="top"><br /><%--绑定图片--%>
          <img style="float:left;"  alt="新闻图片" src='images/uploadfiles/smallPic/<%#Eval("imagepath").ToString() %>' width="132" height="137" />
              <%#Eval("Summary").ToString() %>
          </td>
        </tr>
      </table>
      </itemtemplate></asp:Repeater>
</td></tr>
<tr><td>
<webdiyer:aspnetpager id="AspNetPager1" runat="server"
        CustomInfoTextAlign="Center" FirstPageText="首页" horizontalalign="Center"
        LastPageText="尾页" meta:resourceKey="AspNetPager1" NextPageText="下页" onpagechanged="AspNetPager1_PageChanged"
        PageSize="4" PrevPageText="前页"
        width="350px" NumericButtonCount="6" CssClass="anpager" CurrentPageButtonClass="cpb" ShowDisabledButtons="False" ShowPageIndexBox="Never">
    </webdiyer:aspnetpager>
</td></tr>
</table>

</ajax:ajaxpanel>
</td></tr>

</table>
</asp:Content>

