<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="soulManager.aspx.cs" Inherits="LoveWeb.Admin.soulManager" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>显示所有详细文章</h1>
<table>
 <asp:DataList ID="DataList1" runat="server" CssClass="zitidaxiao">
        <ItemTemplate>
            <table width="394" border="0" align="center">
  <tr>
    <td colspan="2">标题:<%# 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 colspan="2">内容:<%# GetPartString(Eval("arti_contents").ToString(),50)%></td>
  </tr>
  <tr>
    <td colspan="2" align="right"><a href="soulViewManager.aspx?id=<%# Eval("arti_id") %>">
        查看全文</a></td>
  </tr>
</table>
        </ItemTemplate>
    </asp:DataList>
    <tr>
        <td>
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" 
                FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
                onpagechanged="AspNetPager1_PageChanged" PageSize="5" PrevPageText="上一页" 
                CssClass="paginator" CurrentPageButtonClass="cpb">
            </webdiyer:AspNetPager>
        </td>
    </tr>
</table>


</asp:Content>
