<%@ Control Language="C#" %>
<%@ 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" %>

<CSD:InlineTagEditor runat="server" id="InlineTagEditor" LinkCssClass="CommonTextButton" CssClass="CommonInlineTagEditor" />

<div class="CommonContentArea">
	<div class="CommonBreadCrumbArea"><CSD:BreadCrumb ShowHome="true" runat="server" id="Breadcrumb3"/></div>
	<CS:AdPart runat = "Server" contentname="StandardTop" ID="Adpart1">
	    <CS:Ads Zone="StandardTop" runat="server" id="Ads1" />
	</CS:AdPart>
	<h2 class="CommonTitle"><asp:Label ID="ForumName" Runat="server" /></h2>
	<div class="CommonContent">

		<ul class="ForumPostList">
			<li>
				<div class="ForumPostArea">
					<h4 class="ForumPostHeader">
						<table cellpadding="0" cellspacing="0" border="0" width="100%">
							<tr valign="middle">
								<td align="left"><a runat="server" id="PostAnchor"><CS:ThemedImage runat="server" border="0" ImageUrl="/images/icon_post_show.gif" id="Themedimage1" /></a>&nbsp;<asp:Literal ID="PostDate" Runat="server" /></td>
								<td align="right"><CSD:RatePost id="RatePost" runat="server" visible="false"  CssClass="CommonRateControl" ReadOnlyCssClass="CommonRateControlReadOnly" ActiveCssClass="CommonRateControlActive" ImagesBaseUrl="~/Themes/default/images/common/" /></td>
							</tr>
						</table>
					</h4>
					<table cellspacing="0" cellpadding="0" border="0" width="100%">
						<tr valign=top>
							<td rowspan="2" class="ForumPostUserArea">
								<div class="ForumPostUserContent">
								<ul class="ForumPostUserPropertyList">
									<li class="ForumPostUserName">
										<CS:UserOnlineStatus runat="server" id="OnlineStatus" />
										<asp:Literal runat="server" id="Username" />
									</li>
									<li class="ForumPostUserAvatar">
										<CS:UserAvatar runat="server" Border="1" PadImage="False" id="Avatar" />
									</li>
									<li class="ForumPostUserIcons">
										<CS:PostIcons runat="server" id="PostIcon" />
									</li>
									<li class="ForumPostUserAttribute">
										<CS:UserAttribute FormatString="{0}" Attribute="Joined" runat="server" id="JoinedAttribute" />
									</li>
									<li class="ForumPostUserAttribute">
										<CS:UserAttribute FormatString="{0}" Attribute="Location" runat="server" id="LocationAttribute" />
									</li>
									<li class="ForumPostUserAttribute">
										<CS:UserAttribute FormatString="{0}" Attribute="Posts" runat="server" id="PostsAttribute" />
									</li>
									<li class="ForumPostUserAttribute">
										<CS:UserAttribute FormatString="{0}" Attribute="Points" runat="server" id="PointsAttribute" />
									</li>
									<li class="ForumPostRoleIcons">
										<CS:RoleIcons runat="server" id="RoleIcon" EnablePadding="false"/>
									</li>
								</ul>
								</div>
							</td>
							<td class="ForumPostContentArea">
								<div class="ForumPostTitleArea">
									<h4 class="ForumPostTitle">
										<asp:Literal runat="server" id="Emoticon" />
										<asp:Literal runat="server" id="Subject" />
									</h4>
									
									<div class="ForumPostAttachment">
										<CSD:PostAttachment runat="server" id="PostAttachment" />
									</div>

									<div class="ForumPostButtons">
										<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" />
										<cs:favoritepopupmenu id="FavoritePopupMenu" runat="server" activebuttoncssclass="CommonImageTextButtonHighlight" inactivebuttoncssclass="CommonImageTextButton" innerbuttoncssclass="CommonButtonInnerContentDown" />
										<cs:contactpopupmenu id="ContactPopupMenu" runat="server" activebuttoncssclass="CommonImageTextButtonHighlight" inactivebuttoncssclass="CommonImageTextButton" innerbuttoncssclass="CommonButtonInnerContentDown" />
										<csd:moderationpopupmenu id="ModerationPopupMenu" runat="server" activebuttoncssclass="CommonTextButtonHighlight" inactivebuttoncssclass="CommonTextButton" innerbuttoncssclass="CommonButtonInnerContentDown" />
									</div>
								</div>

								
								<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%" style="table-layout: fixed;">
									<tr><td>
									<div class="ForumPostBodyArea">
									<div class="ForumPostContentText" id = "PostViewWrapper" runat="server">
										<CSD:PostView runat="server" id="PostView" />
									</div>
									</div>
									</td></tr>
								</table>
							</td>
						</tr>
						<tr valign="bottom">
							<td class="ForumPostFooterArea">	
								<div>
									<CS:InlineTagEditorPanel runat="server" id="InlineTagEditorPanel" InlineEditorID="InlineTagEditor" />
								</div>								
								<ul class="ForumPostStatistics CommonPrintHidden" style="clear: both;">
									<CS:ListItemLiteral runat = "Server" id = "PostPoints" />
									<CS:ListItemLiteral runat = "Server" id = "PostIPAddress" />
									<CS:ListItemLink runat = "Server" id = "ReportLink" />
									<CS:ListItemLink runat = "Server" id = "quickReplyLink" />
								</ul>
							</td>
						</tr>
					</table>
				</div>
			</li>
		</ul>
		
		<asp:HyperLink ID="ThreadLink" Runat="server" CssClass="CommonTextButton" />
	</div>
	<CS:AdPart runat = "Server" contentname="StandardBottom" ID="Adpart2">
	    <CS:Ads Zone="StandardBottom" runat="server" id="Ads3" />
	</CS:AdPart>
</div>
