Discuz.Web/templates/default3.1/posttopic.htm

(开头部分) 10KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%template _header%>
<%if {infloat}!=1%>
<div id="nav">
	<div class="wrap s_clear">
		<a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <%if {forum.Pathlist}!=""%>{ShowForumAspxRewrite(forum.Pathlist.Trim(),forumid,forumpageid)}  &raquo; <%/if%><strong>
			<%if {type}=="bonus"%>
				发表新悬赏
			<%else if {type}=="poll"%>
				发表新投票
			<%else if {type}=="debate"%>
				发起新辩论
			<%else%>
		       发表新主题
			<%/if%></strong>
	</div>
</div>
<%/if%>
<script type="text/javascript" reload="1">
var postminchars = parseInt('{config.minpostsize}');
var postmaxchars = parseInt('{config.maxpostsize}');
var disablepostctrl = parseInt('{disablepost}');
var forumpath = "{forumpath}";
var posturl=forumpath+'posttopic.aspx?forumid={forumid}&forumpage={forumpageid}';
var postaction='{rooturl}posttopic.aspx?infloat=1&forumid={forumid}&'
function closenewthread()
{
		if($('floatwin_newthread'))
        $('floatwin_newthread').parentNode.removeChild($('floatwin_newthread')); 
		if($('floatwin_newthread_mask'))
		 $('floatwin_newthread_mask').parentNode.removeChild($('floatwin_newthread_mask'));
}



</script>

<%if page_err==0%>
<%if {ispost}%>
	<%if {infloat}==1%>	
       <%if {fromindex}!=1%>
	     <%if {needaudit}%>
		 <script type="text/javascript">
			$('returnmessage').className='';
			//submithandle_newthread('forumdisplay.php?fid=5', '非常感谢,管理员设置了需要对新主题进行审核,现在将转入主题列表,您的帖子通过审核后将被显示出来。');
            floatwin('open_confirm', -1,390,130);
		    $('floatwin_confirm').innerHTML='<div><h3 class="float_ctrl"><em id="floatwin_confirm_title">提示信息</em><span><a href="javascript:;" class="float_close" onclick="floatwinreset = 1;floatwin(\'close_confirm\');">&nbsp;</a></span></h3></div><div id="floatwin_confirm_content">非常感谢,管理员设置了需要对新主题进行审核,现在将转入主题列表,您的帖子通过审核后将被显示出来。<br><button onclick="location.href=\'{rooturl}{msgbox_url}\';floatwin(\'close_confirm\')">确定</button></div>'
            floatwinreset = 1;
	        closeEditorwin();
		 </script>
		    

		 <%else%>
		 <script type="text/javascript">
			$('returnmessage').className='';
			location.href='{rooturl}{msgbox_url}';	
		</script>
		 <%/if%>
		
	   <%/if%>
	<%else%>
后面还有 206 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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