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

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

<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div id="meiwenxinshan">
<h4>美文欣赏</h4>
    <asp:DataList ID="DataList1" runat="server" Width="479px" CssClass="juzhong">
        <ItemTemplate>
            <table width="475" border="0" align="center" class="xiabiankuang">
  <tr>
    <td class="titl"><%# Eval("arti_title")%></td>
  </tr>
  <tr>
    <td width="126" height="26">作者:<%# Eval("username")%></td>
    <td width="252" align="right"><%# Eval("arti_time")%>
    </td>
  </tr>
  <tr >
    <td class="zitia"><%# GetPartString(Eval("arti_contents").ToString(),100) %></td>
  </tr>
  <tr>
    <td colspan="2" align="right"><a href="SoulView.aspx?id=<%# Eval("arti_id") %>">查看全文</a></td>
  </tr>
</table>
        </ItemTemplate>
    </asp:DataList>
    </div>
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" 
        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
        CssClass="paginator" CurrentPageButtonClass="cpb" 
        onpagechanged="AspNetPager1_PageChanged" PageSize="5">
    </webdiyer:AspNetPager>
    </asp:Content>
<asp:Content ID="content3" runat="server" ContentPlaceHolderID="head">
    <link href="css/Soul.css" rel="stylesheet" type="text/css" />
</asp:Content>