<%@ Page Language="C#" MasterPageFile="~/index.Master"  AutoEventWireup="true" CodeBehind="Thanks.aspx.cs" Inherits="LoveWeb.Thanks" %>



<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">


   

    
    <div >
    <div id=thanks1>
    <h4>国内新闻</h4>
    <asp:DataList ID="DataList1" runat="server" style="text-align: left">
            <ItemTemplate>
                <table width="475">
                    <tr>
                        <td id="left" class="ll">
                    <a href="ThanksView.aspx?id=<%# Eval("newsid") %>"><%# GetPartString(Eval("title").ToString(),20)%>
</span></a>                        </td>
                        <td  class="shijian" >
                           <span><%# Eval("newstime") %></span>                        </td>
                    </tr>
                </table>
        </ItemTemplate>
        </asp:DataList>    
    
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" 
        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
        onpagechanged="AspNetPager1_PageChanged" PrevPageText="上一页" 
        CssClass="paginator" CurrentPageButtonClass="cpb" CurrentPageButtonPosition="Center">
    </webdiyer:AspNetPager>
    </div>
<div id="guojinews">
  <h4>国际新闻</h4>
  
    <asp:DataList ID="DataList2" runat="server" style="text-align: left">
            <ItemTemplate>
                <table width="475">
                    <tr>
                        <td id="left" class="ll">
                    <a href="ThanksView.aspx?id=<%# Eval("newsid") %>"><%# GetPartString(Eval("title").ToString(),20)%>
</span></a>                        </td>
                        <td  class="shijian" >
                           <span><%# Eval("newstime") %></span>                        </td>
                    </tr>
                </table>
        </ItemTemplate>
        </asp:DataList>  
    
    <webdiyer:AspNetPager ID="AspNetPager2" runat="server" AlwaysShow="True" 
        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
        onpagechanged="AspNetPager2_PageChanged" PrevPageText="上一页" 
        CssClass="paginator" CurrentPageButtonClass="cpb" 
        CurrentPageButtonPosition="Center">
    </webdiyer:AspNetPager>
    </div>
    </div>
</asp:Content>