Discuz.Web/space/manage/usercontrols/ajaxtopnewpost.ascx

(完整代码) 1KB

<%@ 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>");
}%>	

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。