<%set (string){special} = DNTRequest.GetString("type").ToLower();%>
<%if {special}=="" && {topic.special}>0%>
<%if {topic.special}==1 %><%set {special} = "poll"%><%/if%>
<%if {topic.special}==2 || {topic.special}==3%><%set {special} = "bonus"%><%/if%>
<%if {topic.special}==4%><%set {special} = "debate"%><%/if%>
<%/if%>
<%set (bool){adveditor} = ({special}!="" || {topic.special}>0)&&{isfirstpost}%>
<%set (string){action} = pagename.Replace("post","").Replace(".aspx","").Replace("topic","newthread")%>
<%set (string){actiontitle} = ""%>
<%if {pagename}=="posttopic.aspx"%>
<%if {special}=="bonus"%>
<%set {actiontitle} = "发布悬赏"%>
<%else if {special}=="poll"%>
<%set {actiontitle} = "发布投票"%>
<%else if {special}=="debate"%>
<%set {actiontitle} = "发布辩论"%>
<%else%>
<%set {actiontitle} = "发新主题"%>
<%/if%>
<%else if {pagename}=="postreply.aspx"%>
<%set (int){postlayer} = DNTRequest.GetInt("postlayer", -1)%>
<%set (string){replyposter} = Utils.HtmlEncode(DNTRequest.GetString("poster"))%>
<%if {postlayer}>0%>
<%set {actiontitle} = "回复帖子"%>
<%else%>
<%set {actiontitle} = "回复主题"%>
<%/if%>
<%else if {pagename}=="editpost.aspx"%>
<%set {actiontitle} = "编辑帖子"%>
<%/if%>
<%set (char){comma} = ','%>
<%set (string){editorid} = "e"%>
<%set (int){thumbwidth} = 400%>
<%set (int){thumbheight} = 300%>
{actiontitle}<%if {needaudit}%>需审核<%/if%>
<%if {special}=="" && {isfirstpost}%>
<%/if%>
<%if {forum.applytopictype}==1 && {topictypeselectoptions}!=""&&{isfirstpost}%>
<%/if%>
<%if !{isfirstpost} && ({topic.special==4}||{special}=="debate")%>
<%/if%>
<%if {action}=="reply" || {postinfo.layer}>0%>
(可选)
<%/if%>标题最多为60个字符<%if {canhtmltitle}%>
高级编辑<%/if%>
<%if {canhtmltitle}%>
<%/if%>
<%if {adveditor}%>
<%/if%>
<%template _subeditor%>
<%if {pagename}=="posttopic.aspx" || ({pagename}=="editpost.aspx"&&{isfirstpost})%>
<%if {enabletag}%>
<%/if%>
<%/if%>
<%if {postinfo.layer}==0 && {forum.applytopictype}==1%>
<%/if%>
<%if {userinfo.Spaceid}>0 && {special}==""&&{action}=="newthread"&&{config.enablespace}==1%> 添加到个人空间<%/if%>
<%if {isseccode}%>
<%template _vcode%><%/if%>