Backup/Discuz.Web/templates/default/posttopic.htm
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%template _header%>
<script type="text/javascript" src="{jsdir}/bbcode.js"></script>
<script type="text/javascript" src="{jsdir}/editor.js"></script>
<%if {infloat}!=1%>
<div class="wrap cl pageinfo">
<div id="nav">
<%if {usergroupinfo.allowsearch}>0%>
<%template _quicksearch%>
<%/if%>
<a href="{config.forumurl}" class="title">{config.forumtitle}</a> » <%if {forum.Pathlist}!=""%>{ShowForumAspxRewrite(forum.Pathlist.Trim(),forumid,forumpageid)} » <%/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}&'
</script>
<%if page_err==0%>
<%if {ispost}%>
<%if {infloat}==1%>
{msgbox_text}
<%else%>
<%template _msgbox%>
<%/if%>
<%else%>
<div class="wrap cl post">
<script type="text/javascript">
function geteditormessage(theform)
{
var message = wysiwyg ? html2bbcode(getEditorContents()) : (!theform.parseurloff.checked ? parseurl(theform.message.value) : theform.message.value);
theform.message.value = message;
}
</script>
<form method="post" name="postform" id="postform" action="" enctype="multipart/form-data" onsubmit="return validate(this);">
<%csharp%>
string formatNow = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
<%/csharp%>
<%set (int){postid} = 0%>
<input type="hidden" name="posttime" id="posttime" value="{formatNow}" />
<%template _post%>
<%template _postattachments%>
<%if {adveditor}%>
<div id="specialposttable" style="display: none;">
<%if {type}=="bonus"%>
<div class="exfm cl">
<label for="rewardprice">悬赏价格:</label>
<input name="topicprice" type="text" class="txt" id="topicprice" value="{usergroupinfo.minbonusprice}" size="5" maxlength="5" onkeyup="getrealprice(this.value)"/>
后面还有 125 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
