📄 view-postflatviewprint.ascx
字号:
<%@ Control Language="C#" %>
<%@ Import Namespace="CommunityServer" %>
<%@ Import Namespace="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<%@ Import Namespace="CommunityServer.Discussions.Controls" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<body>
<div id="header">
<h1><asp:Label ID="PostSubject" Runat="server" /></h1>
<h3><asp:Label ID="ForumName" Runat="server" /></h3>
<asp:dropdownlist id="SortOrder" Runat="server" Visible="False" AutoPostBack="True">
<asp:ListItem Value="0">Oldest to newest</asp:ListItem>
<asp:ListItem Value="1">Newest to oldest</asp:ListItem>
</asp:dropdownlist>
<asp:Repeater ID="PostRepeater" Runat="server">
<ItemTemplate>
<h3><asp:Literal runat="server" ID="Subject" /></h3>
<hr>
<asp:Literal runat="server" ID="Username" />
<%# Formatter.FormatDatePost (((ForumPost) Container.DataItem).PostDate) %>
<br>
<CSD:PostView runat="server" ID="PostView"/>
</ItemTemplate>
</asp:Repeater>
<table cellpadding="3" cellspacing="0" width="100%">
<tr>
<td valign="top">
<asp:PlaceHolder runat="server" ID="PagingArea" >
<table align="right" class="tableBorder" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td valign="middle" class="column" nowrap>
<CS:CurrentPage Cssclass="columnText" id="CurrentPage" runat="server" />
</td>
<td valign="middle" align="right" class="column" nowrap>
<CS:Pager id="Pager" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</asp:PlaceHolder>
</td>
</tr>
</table>
<CS:Ads Zone="StandardBottom" runat="server" ID="Ads2"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -