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

📄 skin-mythreadlist.ascx

📁 这是一个简单的论坛程序源码
💻 ASCX
字号:
<%@ Control Language="C#" Inherits="NetFocus.Web.Applications.Forum.MyThreadList, NetFocus.Web.Applications.Forum" AutoEventWireup="true" %>
<%@ Import Namespace="NetFocus.Web.Applications.Forum" %>

<fieldset>
	<legend>我发表的帖子</legend>	
			
    <asp:Repeater id="list" runat="server">
        <HeaderTemplate>
            <table border="0" cellpadding="0" cellspacing="0" class="AdminTable">
	            <thead>
		            <tr>
			            <th class="TitleCol">标题</th>
			            <th class="IsRecommendedCol">是否推荐</th>
			            <th class="CountCol">回复总数</th>
		            </tr>
	            </thead>
	            <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
			    <td class="TitleCol">
                    <a target="_blank" href="<%# SiteUrls.Instance().GetThreadUrl(((Thread)Container.DataItem).EntityId) %>"><%# ((Thread)Container.DataItem).Subject %></a>
			    </td>
			    <td class="IsRecommendedCol">
                    <%# ((Thread)Container.DataItem).ThreadType == 1 ? "是" : "否" %>
			    </td>			    
			    <td class="CountCol">
                    <%# ((Thread)Container.DataItem).TotalPosts %>
			    </td>			    
		    </tr>
        </ItemTemplate>
        <FooterTemplate>
			    </tbody>
	        </table>
        </FooterTemplate>
    </asp:Repeater>
    <div class="PagingWrapper">
        <asp:Panel Runat="server" align="right" CssClass="CommonPagingArea">
            <nwap:CurrentPage Cssclass="columnText" id="currentPage" runat="server" />
            <nwap:Pager id="pager" runat="server" PageSize="50" />
        </asp:Panel>
    </div>
</fieldset>

⌨️ 快捷键说明

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