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

📄 articles_articlesection.ascx

📁 C#邮件代码库,用于邮件发送
💻 ASCX
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%--
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="Notify me when a new item is added" Runat="Server"/></div>


<table cellpadding="0" cellspacing="0" border="0" Width="100%">
<tr>
    <td align="left" valign="top">
      <community:SectionTitle CssClass="ArticleSection_SectionTitle" Runat="Server" />
    </td>
</tr>
<tr>
    <td>
    <community:PageHeader runat="Server"/>
    </td>
</tr>
<tr>
    <td>
    <community:Sorter id="Sorter" align="right" runat="Server">
      <ListItem Text="Default Order" value="Default" />
      <ListItem Text="Date Posted" value="Date Created"/>
      <ListItem Text="Title" value="Title"/>
      <ListItem Text="Popularity" value="ViewCount"/>
      <ListItem Text="Topic" value="Topic" />
      <ListItem Text="Author" value="Author" />
      <ListItem Text="Rating" 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>Posted by <community:ItemAuthor  CssClass="ArticleSection_ListAuthorLink" Runat="Server"/>
                on <community:ItemDateCreated Runat="Server" />
            </td>
        </tr>
        <tr>
            <td class="ArticleSection_ListItem2">
                <community:ItemBriefDescription CssClass="ArticleSection_ListBriefDescription" Runat="Server" />
                <p>
                (<community:ItemReadMoreLink Text="Read More..." CssClass="ArticleSection_ListReadMoreLink" Runat="Server"/> &nbsp; <community:ItemCommentCount id="lblCommentCount" Text="comments" Runat="Server"/>)
                <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>No articles are currently listed.</i>
    </p>
    </NoContentTemplate>


    </community:ContentList>
    
    </td>
</tr>
<tr>
    <td>
    <community:PageFooter runat="Server"/>
    </td>
</tr>
<tr>
    <td>
    <span class="Content"><community:ArticleEditContent AddText="Add Article" ModerateText="Moderate Articles" Runat="Server" /></span>
    </td>
</tr>
</table>

⌨️ 快捷键说明

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