?? ajaxtopnewpost.ascx
字號:
?<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ajaxtopnewpost.ascx.cs" Inherits="Discuz.Space.Manage.ajaxtopnewpost" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import namespace="Discuz.Entity" %>
<%if(Discuz.Common.DNTRequest.GetString("load")!="true")
{
Response.Write(WriteLoadingDiv("loadajaxtopnewpost", "正在加載最新日志列表"));
}
else
{
if(hidetitle == 0)
{
Response.Write("<h2 class=\"modtitle\"><span class=\"modtitle_text\">最新日志列表</span></h2>");
}
Response.Write("<div class=\"dnt-newpost\"><ul class=\"ItemContent\">");
if(__spacepostinfos!=null)
{
foreach(SpacePostInfo __spacepostinfo in __spacepostinfos)
{%>
<li><a href="viewspacepost.aspx?postid=<%=__spacepostinfo.Postid%>&spaceid=<%=spaceid%>" title="<%=__spacepostinfo.Title%>" target="_blank"><% = __spacepostinfo.Title.Length>20?__spacepostinfo.Title.Substring(0,15)+"..":__spacepostinfo.Title%></a></li>
<%}
}
Response.Write("</ul></div>");
}%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -