main_msg_list.aspx
上传用户:woolgirl
上传日期:2020-04-18
资源大小:243k
文件大小:4k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="main_msg_list.aspx.cs" Inherits="main_msg_list" %>
  2. <%@Register TagPrefix="Adleyliu" TagName="head" Src="head.ascx"%>
  3. <%@Register TagPrefix="Adleyliu" TagName="Copyright" Src="../copyright.ascx"%>
  4. <%@Register TagPrefix="Adleyliu" Namespace="Wuqi.Webdiyer" Assembly="aspnetpager"%>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml" >
  7. <head runat="server">
  8.     <title>所有留言</title>
  9. </head> 
  10. <body>
  11. <div style="width:778px;">
  12. <Adleyliu:head ID="head" runat="server"/>
  13.   <form runat="server">
  14.  
  15.  
  16.  
  17. <asp:Repeater id="repeater" runat="server" EnableViewState="true">
  18. <HeaderTemplate>
  19. <div id="Pback">
  20. <div id="Pline">
  21. <div id="Picon">&nbsp;&nbsp;</div>
  22. <div id="Ppage">
  23. <strong>所有留言</strong>
  24.     &nbsp;[<a href=main_msg_list.aspx?action=0>未回复留言</a>]
  25. &nbsp;[<a href=main_msg_list.aspx>已回复留言</a>]
  26. &nbsp;[<a href=main_msg_add.aspx >添加留言</a>]
  27. &nbsp;[<a href=Default.aspx>返回首页</a>]
  28. </div>
  29. <div id="Pfont">
  30. </div>
  31. </div>
  32. </div>
  33. </HeaderTemplate>
  34.     
  35. <ItemTemplate>
  36.   <div class='ct'>
  37.     <div class='cta'><strong>&nbsp;标题:<%#DataBinder.Eval(Container.DataItem, "yl_title")%></strong></div>
  38.     <div class='ctb'>
  39.      &nbsp;<a href=main_msg_save.aspx?id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>回复</a>
  40.      &nbsp;<a href=main_msg_save.aspx?action=del&id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>删除</a>
  41.     </div>
  42.   </div>
  43.   <div class='cl'>
  44.     <div class='clc'>
  45.     <%#DataBinder.Eval(Container.DataItem, "yl_body")%>
  46.     <div class=review>
  47.     <%#DataBinder.Eval(Container.DataItem, "yl_uidHF")%>
  48.     </div>
  49.     </div>
  50.   
  51. <div class='clinfo'>
  52. <img src="skins/1/FACE/<%#DataBinder.Eval(Container.DataItem, "yl_face")%>" border=0 />
  53. </div>
  54.     <div class='clin'>
  55.       <div class='lefts'><strong>&nbsp;</strong></div>
  56.       <div class='rights'><strong>&nbsp;发表:</strong><%#DataBinder.Eval(Container.DataItem, "yl_name")%>&nbsp;<strong>时间:</strong>[ <%#DataBinder.Eval(Container.DataItem, "yl_adddate")%> ]</div>
  57.     </div>
  58.     
  59.   </div>
  60. </ItemTemplate>
  61. <AlternatingItemTemplate>
  62.   <div class='ct'>
  63.     <div class='cta'><strong>&nbsp;标题:<%#DataBinder.Eval(Container.DataItem, "yl_title")%></strong></div>
  64.     <div class='ctb'>
  65.      &nbsp;<a href=main_msg_save.aspx?action=re&id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>回复</a>
  66.      &nbsp;<a href=main_msg_save.aspx?action=del&id=<%#DataBinder.Eval(Container.DataItem, "yl_id")%>>删除</a>
  67.     </div>
  68.   </div>
  69.   <div class='cl'>
  70.     <div class='clc'>
  71.     <%#DataBinder.Eval(Container.DataItem, "yl_body")%>
  72.     <div class=review>
  73.     <%#DataBinder.Eval(Container.DataItem, "yl_uidHF")%>
  74.     </div>
  75.     </div>
  76.     
  77. <div class='clinfo'>
  78. <img src="skins/1/FACE/<%#DataBinder.Eval(Container.DataItem, "yl_face")%>" border=0 />
  79. </div>
  80.     <div class='clin'>
  81.       <div class='lefts'><strong>&nbsp;</strong></div>
  82.       <div class='rights'><strong>&nbsp;发表:</strong><%#DataBinder.Eval(Container.DataItem, "yl_name")%>&nbsp;<strong>时间:</strong>[ <%#DataBinder.Eval(Container.DataItem, "yl_adddate")%> ]</div>
  83.     </div>
  84.     
  85.   </div>
  86. </AlternatingItemTemplate>
  87. <FooterTemplate>
  88. </FooterTemplate>
  89. </asp:Repeater>
  90.   
  91.   <div class='cl'>
  92.     <div class='clinfo'>
  93. (当前页数:<asp:Label id="cindex" runat="server" CssClass="infolabel"/>)/
  94. (剩余页数:<asp:Label id="pagesleft" runat="server" CssClass="infolabel"/>)--
  95. (每页显示记录数:<asp:Label id="pagesize" runat="server" CssClass="infolabel"/>)/
  96. (剩 余 记 录 数:<asp:Label id="recordsleft" runat="server" CssClass="infolabel"/>)--
  97. (记录总数:<asp:label id="rcount" runat="server" CssClass="infolabel"/>)/
  98. (总 页 数:<asp:Label id="pcount" runat="server" CssClass="infolabel"/>)
  99. </div>
  100.     <div class='clin'>
  101.       <div class='lefts'><strong>&nbsp;</strong></div>
  102.       <div class='rights'>
  103. <Adleyliu:AspNetPager id="pager" runat="server" OnPageChanged="ChangePage" HorizontalAlign="right" CssClass="mypager" PageSize="10" NumericButtonCount="8" FirstPageText="首页" LastPageText="末页" PrevPageText="上页" NextPageText="下页" PagingButtonSpacing="12" NumericButtonTextFormatString="[&nbsp;{0}&nbsp;]"/>
  104.     </div>
  105.     </div>
  106.   </div>
  107.     </form>
  108. <Adleyliu:Copyright ID="Copyright1" runat="server"/>
  109. </div>
  110. </body>
  111. </html>