⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 skin-viewentry.ascx

📁 community server 源码
💻 ASCX
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="FileGalleries" Namespace="CommunityServer.Files.Controls" Assembly="CommunityServer.Files" %>
<%@ Import Namespace="CommunityServer.Components" %>

<FileGalleries:EntryDetails runat="server">
	<SkinTemplate>
	
<FileGalleries:InlineTagEditor runat="server" id="InlineTagEditor" LinkCssClass="CommonTextButton" CssClass="CommonInlineTagEditor" />
	
<div class="CommonContentArea">
    <CS:AdPart runat = "Server" contentname="StandardTop" ID="ap">
	    <CS:Ads Zone="StandardTop" runat="server" id="ad" />
	</CS:AdPart>
	<h2 class="CommonTitle"><FileGalleries:FileThumbnail runat="server" id="Thumbnail1" /> <asp:Literal id="Name" runat="server" /></h2>
	<div class="CommonContent">
		<div style="padding-bottom: 8px;">
			<FileGalleries:FileGalleryImageButton ButtonType="Download" runat="server" ID="Filegalleryimagebutton1" />
			<CS:ThreadSubscribeLinkButton runat="server" id="SubscribeButton" UseImages="true" TrackingResourceName="PostFlatView_EnableThreadTrackingOn" NotTrackingResourceName="PostFlatView_EnableThreadTrackingOff" />
			<CS:FavoritePopupMenu runat="server" id="FavoritePopupMenu" ActiveButtonCssClass="CommonImageTextButtonHighlight" InactiveButtonCssClass="CommonImageTextButton" InnerButtonCssClass="CommonButtonInnerContentDown" />
			<CS:ContactPopupMenu runat="server" id="ContactPopupMenu" ActiveButtonCssClass="CommonImageTextButtonHighlight" InactiveButtonCssClass="CommonImageTextButton" InnerButtonCssClass="CommonButtonInnerContentDown" />
			<FileGalleries:FileGalleryImageButton ButtonType="Edit" runat="server" ID="Filegalleryimagebutton2" />
			<FileGalleries:FileGalleryImageButton ButtonType="Delete" runat="server" ID="Filegalleryimagebutton3" />
		</div>
		<div class="FileFileArea">
			<div class="FileFileTitle"><FileGalleries:ResourceControl runat="server" ResourceName="Files_FileDetails" ID="Resourcecontrol10" NAME="Resourcecontrol5"/></div>
			<div class="FileFilePropertiesArea">
				<table cellpadding="0" cellspacing="0" border="0" width="100%">
					<tr>
						<td class="FilePropertyName"><FileGalleries:ResourceControl id="Resourcelabel2" runat="server" ResourceName="Files_PortalEntryListing_FieldDownloads" />:</td>
						<td class="FileProperty"><asp:Literal ID="DownloadCount" Runat="server" /></td>
						<td class="FilePropertyName"><FileGalleries:ResourceControl id="Resourcelabel6" runat="server" ResourceName="Files_PortalEntryListing_FieldFileSize" />:</td>
						<td class="FileProperty"><asp:Literal ID="FileSize" Runat="server" /></td>
					</tr>
					<tr>
						<td class="FilePropertyName"><FileGalleries:ResourceControl id="Resourcelabel7" runat="server" ResourceName="Files_PortalEntryListing_FieldPostedBy" />:</td>
						<td class="FileProperty"><asp:Literal id="PostAuthor" Runat="server" /></td>
						<td class="FilePropertyName"><FileGalleries:ResourceControl id="Resourcelabel3" runat="server" ResourceName="Files_PortalEntryListing_FieldViews" />:</td>
						<td class="FileProperty"><asp:Literal id="ViewCount" runat="server" /></td>
					</tr>
					<tr>
						<td class="FilePropertyName"><FileGalleries:ResourceControl id="Resourcelabel1" runat="server" ResourceName="Files_PortalEntryListing_FieldDateAdded" />:</td>
						<td class="FileProperty"><asp:Literal ID="DateAdded" Runat="server" /></td>
						<td colspan="2" class="FileProperty"><FileGalleries:EntryRatePost id="RatePost" runat="server"  CssClass="CommonRateControl" ReadOnlyCssClass="CommonRateControlReadOnly" ActiveCssClass="CommonRateControlActive" ImagesBaseUrl="~/Themes/default/images/common/" /></td>
					</tr>
				</table>
			</div>
			<div class="FileFileDescriptionArea">
				<asp:Literal id="Description" runat="server" />
				<p />
				<div><CS:InlineTagEditorPanel runat="server" id="InlineTagEditorPanel" InlineEditorID="InlineTagEditor" /></div>
			</div>
		</div>
	</SkinTemplate>
</FileGalleries:EntryDetails>


<FileGalleries:CommentListing runat="server">
	<SkinTemplate>
		
<div class="FileCommentsArea">
	<div class="FileCommentsTitle"><FileGalleries:ResourceControl runat="server" ResourceName="Files_UserComments" ID="Resourcecontrol8" NAME="Resourcecontrol5"/></div>
	<div class="FileCommentsContent">

	<CS:RepeaterPlusNone id="Comments" runat="server">
		<HeaderTemplate>
			<table cellpadding="0" cellspacing="0" border="0" width="100%"
		</HeaderTemplate>
		<ItemTemplate>
			<tr valign="top">
			<td class="FileCommentArea FileCommentAvatar">
				<CS:UserAvatar runat="server" Border="1" PadImage="False" id="Avatar" />&nbsp;
			</td>
			<td class="FileCommentArea FileCommentContent" width="100%">
				<h4 class="FileCommentHeader"><asp:PlaceHolder id="ComWho" runat="server" /> 
				<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_Said" ID="Resourcecontrol11" /></h4>
				<div class="FileCommentText"><asp:Literal id="ComBody" runat="server" /></div>
				<div class="FileCommentFooter">
					<asp:Literal id="ComDate" runat="server" />
					<asp:LinkButton ID="ApproveButton" Runat="server" />
					<asp:LinkButton ID="DeleteButton" Runat="server" />
				</div>
			</td>
			</tr>
		</ItemTemplate>
		<NoneTemplate>
			<tr><td colspan="2" class="FileCommentArea FileCommentContent">
				<FileGalleries:ResourceControl runat="server" ResourceName="Files_NoComments" ID="Resourcecontrol9" NAME="Resourcecontrol5"/>
			</td></tr>
		</NoneTemplate>
		<FooterTemplate>
			</table>
		</FooterTemplate>
	</CS:RepeaterPlusNone>

	<asp:PlaceHolder ID="AddCommentArea" Runat="server">
		<div class="CommonFormArea">
			<h4 class="CommonFormTitle"><FileGalleries:ResourceControl runat="server" ResourceName="CommentListing_AddComment2" ID="Resourcecontrol2" /></h4>
			<asp:PlaceHolder id="AnonymousUser" runat="server">
				<div class="CommonFormFieldName"><FileGalleries:ResourceControl runat="server" ResourceName="CommentListing_Name" ID="Resourcecontrol3" NAME="Resourcecontrol3"/> <em>(<CS:ResourceControl runat="server" ResourceName="Required" ID="Resourcecontrol5"/>)</em></div>
				<div class="CommonFormField"><asp:TextBox id="CommentName" runat="server" Columns="40" MaxLength="256" /></div>
			</asp:PlaceHolder>
			
			<div class="CommonFormFieldName"><FileGalleries:ResourceControl runat="server" ResourceName="CommentListing_Website" ID="Resourcecontrol4" NAME="Resourcecontrol4"/> <em>(<CS:ResourceControl runat="server" ResourceName="Optional" ID="Resourcecontrol1"/>)</em></div>
			<div class="CommonFormField"><asp:TextBox id="CommentWebsite" runat="server" Columns="60" MaxLength="256" /></div>

			<div class="CommonFormFieldName"><FileGalleries:ResourceControl runat="server" ResourceName="CommentListing_Body" ID="Resourcecontrol6" NAME="Resourcecontrol6"/> <em>(<CS:ResourceControl runat="server" ResourceName="Required" ID="Resourcecontrol7"/>)</em><asp:Label ID="CommentBodyErrMsg" Runat="server" CssClass="CommonValidationWarning" Visible="false">*</asp:Label></div>
			<div class="CommonFormField"><asp:TextBox id="CommentBody" runat="server" Columns="60" Rows="8" MaxLength="3000" TextMode="MultiLine" /></div>

			<asp:LinkButton runat="server" id="CommentSubmit" CssClass="CommonTextButton"></asp:LinkButton>
		</div>
	</asp:PlaceHolder>


	</div>
		<CS:AdPart runat = "Server" contentname="StandardBottom" ID="ap2">
	    <CS:Ads Zone="StandardBottom" runat="server" id="ad2" />
	</CS:AdPart>
</div>

	</SkinTemplate>
</FileGalleries:CommentListing>

<%--
<div class="CommonJumpArea">
	<FileGalleries:jumpdropdownlist runat="server" ID="Jumpdropdownlist1" NAME="Jumpdropdownlist1"/>
</div>
--%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -