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

📄 discuss_discusssection.ascx

📁 一个ASP.NET下的中文内容管理和社区系统
💻 ASCX
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<community:SectionTitle CssClass="ArticleSection_SectionTitle" runat="Server"/>
<br />
<community:PageHeader runat="Server" />
<div align="right">
<community:Notify Text="Notify me of new threads" runat="Server" />
</div>
<p>
<community:AddContent Text="New Thread" ImageUrl="~/Communities/Common/Images/Discuss/NewThread.gif" NavigateUrl="Discuss_AddPost.aspx" Runat="Server"/>
</p>
<community:ContentList id="ContentList" width="100%" runat="Server">
    <HeaderTemplate>
    <table width="100%" class="discussTable" cellspacing="1">
    <tr>
        <th colspan="2" nowrap="nowrap">Thread</th>    
        <th nowrap="nowrap">Started By</th>
        <th nowrap="nowrap">Replies</th>
        <th nowrap="nowrap">Views</th>
        <th nowrap="nowrap">Last Post</th>
    </tr>
    </HeaderTemplate>
    
    <ItemTemplate>
    <tr>
        <td class="discussCell"><community:ItemDiscussIcon PopularCount="40" runat="Server"/></td>
        <td class="discussCell"><community:ItemTitleLink runat="Server"/></td>
        <td class="discussCellHiLite"><community:ItemAuthor runat="Server"/></td>
        <td class="discussCellHiLite"><community:ItemCommentCount runat="Server"/></td>
        <td class="discussCellHiLite"><community:ItemViewCount runat="Server"/></td>
        <td class="discussCellHiLite" align="center">
            <community:ItemDiscussPinnedPost text="Pinned Post" runat="Server" />
            <community:ItemDiscussDateCommented dateformatstring="{0:g}" DisplayTimeZone="true" runat="Server"/>
            <br />by <community:ItemDiscussLastCommentUsername runat="Server" />
        </td>
    </tr>
    </ItemTemplate>
    
    <FooterTemplate>
    </table>
    </FooterTemplate>
    
    <NoContentTemplate>
        There are currently no posts.
    </NoContentTemplate>
</community:ContentList>



<community:PageFooter runat="Server" />

<p>
<span class="Content"><community:DiscussEditContent AddText="New Thread" ModerateText="Moderate Posts" Runat="Server" /></span>
</p>

⌨️ 快捷键说明

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