main_msg_list.aspx
上传用户:woolgirl
上传日期:2020-04-18
资源大小:243k
文件大小:4k
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="main_msg_list.aspx.cs" Inherits="main_msg_list" %>
- <%@Register TagPrefix="Adleyliu" TagName="head" Src="head.ascx"%>
- <%@Register TagPrefix="Adleyliu" TagName="Copyright" Src="../copyright.ascx"%>
- <%@Register TagPrefix="Adleyliu" Namespace="Wuqi.Webdiyer" Assembly="aspnetpager"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>所有留言</title>
- </head>
- <body>
- <div style="width:778px;">
- <Adleyliu:head ID="head" runat="server"/>
- <form runat="server">
-
-
-
- <asp:Repeater id="repeater" runat="server" EnableViewState="true">
- <HeaderTemplate>
- <div id="Pback">
- <div id="Pline">
- <div id="Picon"> </div>
- <div id="Ppage">
- <strong>所有留言</strong>
-
- [<a href=main_msg_list.aspx?action=0>未回复留言</a>]
- [<a href=main_msg_list.aspx>已回复留言</a>]
- [<a href=main_msg_add.aspx >添加留言</a>]
- [<a href=Default.aspx>返回首页</a>]
- </div>
- <div id="Pfont">
-
- </div>
- </div>
- </div>
- </HeaderTemplate>
-
- <ItemTemplate>
- <div class='ct'>
- <div class='cta'><strong> 标题:<%#DataBinder.Eval(Container.DataItem, "yl_title")%></strong></div>
- <div class='ctb'>
- <a href=main_msg_save.aspx?id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>回复</a>
- <a href=main_msg_save.aspx?action=del&id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>删除</a>
- </div>
- </div>
- <div class='cl'>
- <div class='clc'>
- <%#DataBinder.Eval(Container.DataItem, "yl_body")%>
- <div class=review>
- <%#DataBinder.Eval(Container.DataItem, "yl_uidHF")%>
- </div>
- </div>
-
- <div class='clinfo'>
- <img src="skins/1/FACE/<%#DataBinder.Eval(Container.DataItem, "yl_face")%>" border=0 />
- </div>
- <div class='clin'>
- <div class='lefts'><strong> </strong></div>
- <div class='rights'><strong> 发表:</strong><%#DataBinder.Eval(Container.DataItem, "yl_name")%> <strong>时间:</strong>[ <%#DataBinder.Eval(Container.DataItem, "yl_adddate")%> ]</div>
- </div>
-
- </div>
- </ItemTemplate>
- <AlternatingItemTemplate>
- <div class='ct'>
- <div class='cta'><strong> 标题:<%#DataBinder.Eval(Container.DataItem, "yl_title")%></strong></div>
- <div class='ctb'>
- <a href=main_msg_save.aspx?action=re&id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>回复</a>
- <a href=main_msg_save.aspx?action=del&id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>删除</a>
- </div>
- </div>
- <div class='cl'>
- <div class='clc'>
- <%#DataBinder.Eval(Container.DataItem, "yl_body")%>
- <div class=review>
- <%#DataBinder.Eval(Container.DataItem, "yl_uidHF")%>
- </div>
- </div>
-
- <div class='clinfo'>
- <img src="skins/1/FACE/<%#DataBinder.Eval(Container.DataItem, "yl_face")%>" border=0 />
- </div>
- <div class='clin'>
- <div class='lefts'><strong> </strong></div>
- <div class='rights'><strong> 发表:</strong><%#DataBinder.Eval(Container.DataItem, "yl_name")%> <strong>时间:</strong>[ <%#DataBinder.Eval(Container.DataItem, "yl_adddate")%> ]</div>
- </div>
-
- </div>
- </AlternatingItemTemplate>
- <FooterTemplate>
- </FooterTemplate>
- </asp:Repeater>
-
- <div class='cl'>
- <div class='clinfo'>
- (当前页数:<asp:Label id="cindex" runat="server" CssClass="infolabel"/>)/
- (剩余页数:<asp:Label id="pagesleft" runat="server" CssClass="infolabel"/>)--
- (每页显示记录数:<asp:Label id="pagesize" runat="server" CssClass="infolabel"/>)/
- (剩 余 记 录 数:<asp:Label id="recordsleft" runat="server" CssClass="infolabel"/>)--
- (记录总数:<asp:label id="rcount" runat="server" CssClass="infolabel"/>)/
- (总 页 数:<asp:Label id="pcount" runat="server" CssClass="infolabel"/>)
- </div>
- <div class='clin'>
- <div class='lefts'><strong> </strong></div>
- <div class='rights'>
- <Adleyliu:AspNetPager id="pager" runat="server" OnPageChanged="ChangePage" HorizontalAlign="right" CssClass="mypager" PageSize="10" NumericButtonCount="8" FirstPageText="首页" LastPageText="末页" PrevPageText="上页" NextPageText="下页" PagingButtonSpacing="12" NumericButtonTextFormatString="[ {0} ]"/>
- </div>
- </div>
- </div>
- </form>
- <Adleyliu:Copyright ID="Copyright1" runat="server"/>
- </div>
- </body>
- </html>