📄 view-postflatview.ascx
字号:
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Discussions.Controls" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer" %>
<%@ Control Language="C#" %>
<div id="BodyHead">
<h2><asp:Label ID="ForumName" Runat="server" /></h2>
<asp:Label CssClass="h2Desc" ID="ThreadStats" Runat="server" />
<div class="breadCrumb"><CSD:BreadCrumb ShowHome="true" runat="server" ID="Breadcrumb3"/></div>
<div class="adTop"><CS:Ads Zone="StandardTop" runat="server" ID="Ads1"/></div>
</div>
<P>
<table cellpadding="1" cellspacing="0" width="100%">
<tr>
<td>
<table cellpadding="3" cellspacing="0" border="0" width="100%">
<tr>
<td align="left" class="txt3">
<!--
<CSD:ForumImageButton ButtonType="NewPost" runat="server" ID="NewPostButtonUp" />
<CSD:ForumImageButton ButtonType="Poll" runat="server" ID="Poll"/>
-->
<CSD:ForumImageButton ButtonType="Print" runat="server" ID="Print" OpenInNewWindow="true" />
<CS:SearchRedirect SkinFileName="Skin-SearchForum.ascx" ID="SearchRedirect" runat="server" />
<CSD:RatePost id="RatePost" runat="server" />
<CSD:ThreadSubscribeLinkButton runat="server" ID="Threadsubscribelinkbutton1" />
</td>
<td align="right">
<table border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="right" class="txt3">
<CS:ResourceLabel runat="server" ResourceName="PostView_SortPostsLabel" ID="Resourcelabel1"/> <asp:dropdownlist id="SortOrder" Runat="server" AutoPostBack="True">
<asp:ListItem Value="0">Oldest to newest</asp:ListItem>
<asp:ListItem Value="1">Newest to oldest</asp:ListItem>
</asp:dropdownlist>
</td>
<td align="right">
<CSD:ForumImageButton ButtonType="PreviousTopic" ID="PrevThread" runat="server" />
<CSD:ForumImageButton ID="NextThread" ButtonType="NextTopic" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<asp:Repeater ID="PostRepeater" Runat="server">
<ItemTemplate>
<table cellpadding="5" cellspacing="0" width="100%">
<tr>
<td>
<table class="tableBorder" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2">
<table align="left" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="threadSeparator" colspan="2" valign="middle">
<a runat="server" id="PostAnchor"></a>
<span class="dateText">
<CS:ThemedImage runat="server" border="0" ImageUrl="/images/icon_post_show.gif" ID="Themedimage1" /> <%# Formatter.FormatDatePost (((ForumPost) Container.DataItem).PostDate) %>
</span>
</td>
</tr>
<tr>
<td class="fh" rowspan="2" align="center" valign="top" width="180" nowrap>
<div style="padding-top: 4px;">
<CS:UserOnlineStatus runat="server" ID="OnlineStatus" />
<b>
<asp:Literal runat="server" ID="Username" /></b>
<CS:UserAvatar runat="server" Border="1" PadImage="True" ID="Avatar" />
<span class="txt2">
<br />
<CS:PostIcons runat="server" ID="PostIcon" />
<CS:UserAttribute FormatString="<br />{0}" Attribute="Joined" runat="server" ID="JoinedAttribute" />
<CS:UserAttribute FormatString="<br />{0}" Attribute="Location" runat="server" ID="LocationAttribute" />
<CS:UserAttribute FormatString="<br />{0}" Attribute="Posts" runat="server" ID="PostsAttribute" />
<CS:RoleIcons runat="server" ID="RoleIcon" />
</span>
</td>
<td class="f" width="100%" height="10" valign="top">
<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td align="left" valign="top" nowrap>
<span class="txt2">
<asp:Literal runat="server" ID="Emoticon" />
<b>
<asp:Literal runat="server" ID="Subject" /></b><br />
<CSD:PostAttachment runat="server" ID="PostAttachment" />
</span>
</td>
</tr>
<tr>
<td align="right" height="25" >
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" class="txt3">
<CS:ResourceLabel runat="server" ResourceName="PostView_ThreadStatusLabel" ID="ThreadStatusLabel"/> <CSD:StatusDropDownList runat="server" id="ThreadStatus" />
</td>
<td align="right">
<CSD:ForumImageButton runat="server" ButtonType="Reply" id="ReplyButton" />
<CSD:ForumImageButton runat="server" ButtonType="Quote" id="QuoteButton" />
<CSD:ForumImageButton runat="server" ButtonType="Delete" id="DeleteButton" />
<CSD:ForumImageButton runat="server" ButtonType="Edit" id="EditButton" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<CSD:ModerationMenu runat="server" ID="ModerationMenu" SkinFileName="Moderation\Skin-ModeratePost.ascx" />
</td>
</tr>
<tr>
<td valign="top" class="fh3a">
<table align="left" width="100%" cellpadding="0" cellspacing="2" border="0">
<tr>
<td rowspan="2" width="1">
<CS:SpacerImage runat="server" Height="100px" Width="1px" ID="Spacerimage1" />
</td>
<td colspan="3" width="100%" valign="top" class="txt4" style="padding-top: 4px;">
<table align="left" width="90%" cellpadding="0" cellspacing="0">
<tr>
<td class="txt3" align="left" valign="top">
<CSD:PostView runat="server" ID="PostView" />
<br />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="bottom" width="100%">
<CSD:PostImageButtons runat="server" ID="ButtonsForPoster" />
</td>
<td width="*" valign="bottom" align="right" class="txt5" nowrap>
<asp:Literal runat="server" ID="PostIPAddress" />
</td>
<td width="10" valign="bottom" align="right" class="txt5" nowrap>
<asp:Hyperlink runat="server" ID="ReportLink" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
<AlternatingItemTemplate>
<table cellpadding="5" cellspacing="0" width="100%">
<tr>
<td>
<table class="tableBorder" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td colspan="2">
<table align="left" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="threadSeparator" colspan="2" valign="middle">
<a runat="server" id="PostAnchor"></a>
<span class="dateText">
<CS:ThemedImage runat="server" border="0" ImageUrl="/images/icon_post_show.gif" /> <%# Formatter.FormatDatePost (((ForumPost) Container.DataItem).PostDate) %>
</span>
</td>
</tr>
<tr>
<td class="fh" rowspan="2" align="center" valign="top" width="180" nowrap>
<div style="padding-top: 4px;">
<CS:UserOnlineStatus runat="server" ID="OnlineStatus" />
<b>
<asp:Literal runat="server" ID="Username" /></b>
<CS:UserAvatar runat="server" Border="1" PadImage="True" ID="Avatar" />
<span class="txt2">
<br />
<CS:PostIcons runat="server" ID="PostIcon" />
<CS:UserAttribute FormatString="<br />{0}" Attribute="Joined" runat="server" ID="JoinedAttribute" />
<CS:UserAttribute FormatString="<br />{0}" Attribute="Location" runat="server" ID="LocationAttribute" />
<CS:UserAttribute FormatString="<br />{0}" Attribute="Posts" runat="server" ID="PostsAttribute" />
<CS:RoleIcons runat="server" ID="RoleIcon" />
</span>
</div>
</td>
<td class="f" width="100%" valign="top" height="10">
<table width="100%" cellpadding="2" cellspacing="0">
<tr>
<td align="left" valign="top" nowrap>
<span class="txt2">
<asp:Literal runat="server" ID="Emoticon" />
<b>
<asp:Literal runat="server" ID="Subject" /></b><br />
<CSD:PostAttachment runat="server" ID="PostAttachment" />
</span>
</td>
</tr>
<tr>
<td align="right" height="25" >
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" class="txt3">
<CS:ResourceLabel runat="server" ResourceName="PostView_ThreadStatusLabel" ID="ThreadStatusLabel"/> <CSD:StatusDropDownList runat="server" id="ThreadStatus" />
</td>
<td align="right">
<CSD:ForumImageButton runat="server" ButtonType="Reply" id="ReplyButton" />
<CSD:ForumImageButton runat="server" ButtonType="Quote" id="QuoteButton" />
<CSD:ForumImageButton runat="server" ButtonType="Delete" id="DeleteButton" />
<CSD:ForumImageButton runat="server" ButtonType="Edit" id="EditButton" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<CSD:ModerationMenu runat="server" ID="ModerationMenu" SkinFileName="Moderation\Skin-ModeratePost.ascx" />
</td>
</tr>
<tr>
<td height="100" valign="top" class="fh3">
<table align="left" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td rowspan="2" width="1">
<CS:SpacerImage runat="server" Height="100px" Width="1px" />
</td>
<td colspan="3" width="100%" valign="top" style="padding-top: 4px;">
<table align="left" width="90%" cellpadding="0" cellspacing="0">
<tr>
<td class="txt3" align="left" valign="top">
<CSD:PostView runat="server" ID="PostView" />
<br />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="bottom" width="100%">
<CSD:PostImageButtons runat="server" ID="ButtonsForPoster" />
</td>
<td width="*" valign="bottom" align="right" class="txt5" nowrap>
<asp:Literal runat="server" ID="PostIPAddress" />
</td>
<td width="10" valign="bottom" align="right" class="txt5" nowrap>
<asp:Hyperlink runat="server" ID="ReportLink" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</AlternatingItemTemplate>
</asp:Repeater>
<table cellpadding="3" cellspacing="0" width="100%">
<tr>
<td valign="top" align="left" width="10"></td>
<td valign="top">
<asp:PlaceHolder runat="server" ID="PagingArea">
<TABLE class="tableBorder" cellSpacing="0" cellPadding="0" align="right">
<TR>
<TD>
<TABLE cellSpacing="0" cellPadding="2" width="100%">
<TR>
<TD class="column" vAlign="middle" noWrap>
<CS:CurrentPage id="CurrentPage" runat="server" Cssclass="columnText"></CS:CurrentPage>
</TD>
<TD class="column" vAlign="middle" noWrap align="right">
<CS:Pager id="Pager" runat="server"></CS:Pager></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</asp:PlaceHolder>
</td>
</tr>
</table>
<table cellpadding="3" cellspacing="2" width="100%">
<tr>
<td valign="top" align="left" class="txt4">
<CSD:BreadCrumb ShowHome="true" runat="server" ID="Breadcrumb2" />
</td>
<td valign="top" align="right" class="txt5" nowrap>
<CSD:JumpDropDownList CssClass="txt1" runat="server" ID="Jumpdropdownlist1" />
</td>
</tr>
</table>
<div align="center"><CS:Ads Zone="StandardBottom" runat="server" ID="Ads2" /></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -