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

📄 articles_articlesection.ascx

📁 倒奶CMS内容管理系统 v6.0 中文版 软件类别: .NET源码 / 全站系统 软件语言: 简体中文 授权方式: 共享版 文件大小: 7.21M 系统平台: ASP.NET+SQL
💻 ASCX
字号:
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="C#" %>
<%--
This skin is used for displaying the articles in the ArticleSection page. 
Modify the HTML content to modify the appearance of the page.
--%>
<div align="right"><community:Notify Text="有新文章时通知我" Runat="server" id="Notify1" /></div>
<table cellpadding="0" cellspacing="0" border="0" Width="100%">
	<tr>
		<td align="left" valign="top">
			<community:SectionTitle CssClass="ArticleSection_SectionTitle" Runat="server" id="SectionTitle1" />
		</td>
	</tr>
	<tr>
		<td>
			<community:PageHeader runat="server" id="PageHeader1" />
		</td>
	</tr>
	<tr>
		<td>
			<community:Sorter id="Sorter" align="right" runat="Server">
				<ListItem Text="默认顺序" value="Default" />
				<ListItem Text="发表日" value="Date Created" />
				<ListItem Text="标题" value="Title" />
				<ListItem Text="热门度" value="ViewCount" />
				<ListItem Text="话题" value="Topic" />
				<ListItem Text="作者" value="Author" />
				<ListItem Text="评级" value="Rating" />
			</community:Sorter>
			<br clear="all">
			<community:ContentList id="ContentList" PagerText="Page {0} of {1}" Width="100%" Runat="Server">
				<ItemTemplate>
					<table width="100%" cellspacing="0" cellpadding="5" class="ArticleSection_ListTable">
						<tr>
							<td bgcolor="#DCDDDE" class="ArticleSection_ListItem">
								<div align="right">
									<community:ItemTopic align="right" Runat="Server" />
								</div>
								<community:ItemHasRead runat="Server" />
								<community:ItemTitle CssClass="ArticleSection_ListTitle" Runat="Server" />
								<br>
								作者
								<community:ItemAuthor CssClass="ArticleSection_ListAuthorLink" Runat="Server" />
								发于
								<community:ItemDateCreated Runat="Server" />
							</td>
						</tr>
						<tr>
							<td class="ArticleSection_ListItem2">
								<community:ItemBriefDescription CssClass="ArticleSection_ListBriefDescription" Runat="Server" />
								<p>
									(
									<community:ItemReadMoreLink Text="详情..." CssClass="ArticleSection_ListReadMoreLink" Runat="Server" />
									&nbsp;| <font size="-1">
										<community:ItemCommentCount id="lblCommentCount" Text="comments" Runat="Server" /></font>)
									<community:ItemRating DisplayOnly="True" Runat="Server" />
								</p>
								<community:ItemEditContent EditUrl="Articles_EditArticle.aspx?id={0}" runat="Server" />
							</td>
						</tr>
					</table>
				</ItemTemplate>
				<SeparatorTemplate>
					<p>
				</SeparatorTemplate>
				<NoContentTemplate>
					<p class="ArticleSection_NoArticles">
						<i>现在还没有文章.</i>
					</p>
				</NoContentTemplate>
			</community:ContentList>
		</td>
	</tr>
	<tr>
		<td>
			<community:PageFooter runat="server" id="PageFooter1" />
		</td>
	</tr>
	<tr>
		<td>
			<span class="Content">
				<community:ArticleEditContent AddText="增加文章" ModerateText="Moderate Articles" Runat="server" id="ArticleEditContent1" />
			</span>
		</td>
	</tr>
</table>

⌨️ 快捷键说明

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