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

(开头部分) 26KB

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

<%template _header%>
<script type="text/javascript">
var templatepath = "{templatepath}";
var postminchars = parseInt({config.minpostsize});
var postmaxchars = parseInt({config.maxpostsize});
var disablepostctrl = parseInt({disablepostctrl});
var forumpath = "{forumpath}";
</script>
<%if {enabletag}%>
<script type="text/javascript" src="cache/tag/closedtags.txt"></script>
<script type="text/javascript" src="cache/tag/colorfultags.txt"></script>
<%/if%>
<script type="text/javascript"  src="{jsdir}/template_showtopic.js"></script>
<script type="text/javascript" src="{jsdir}/ajax.js"></script>
<%if page_err==0%>
<div id="nav">
	<div class="wrap s_clear">
		<a id="forumlist" href="{forumpath}" <%if {config.forumjump}==1%>onmouseover="showMenu(this.id);" onmouseout="showMenu(this.id);"<%/if%> class="title">{config.forumtitle}</a>  &raquo; {ShowForumAspxRewrite(forum.Pathlist.Trim(),forumid,forumpageid)}
			<%set (int){ishtmltitle} = Topics.GetMagicValue(topic.Magic, MagicType.HtmlTitle)%>
			<%if {ishtmltitle}==1%>
				  &raquo; <strong>{Topics.GetHtmlTitle(topic.Tid)}</strong>
			<%else%>
				  &raquo; <strong>{topic.Title.Trim()}</strong>
			<%/if%>
	</div>
</div>
<%set (int){loopi}=1%>
<%set (int) {valuablepostcount} = 0%>
<%set (int) {valuelesspostcount} = 0 %>
<%loop (ShowbonusPagePostInfo) post postlist%>
    <%if {post.id}!=1 && {post.isbest}==1%>
        <%set {valuablepostcount} = {valuablepostcount}+1%>
    <%/if%>
    <%if {post.id}!=1 && {post.isbest}==0%>
        <%set {valuelesspostcount} = {valuelesspostcount}+1%>
    <%/if%>
	<%if {post.id}==1%>
<div class="wrap s_clear thread" id="wrap">
<div class="main viewthread">
	<div id="forumheader" class="s_clear">
		<h1>
		<%if {forum.applytopictype}==1 && {forum.topictypeprefix}==1%>
			{topictypes}&nbsp;
		<%/if%>
		{post.title}
		<%set {aspxrewriteurl} = this.ShowTopicAspxRewrite({topic.tid},0)%>
		</h1>
		<p class="forumstats"><a title="点击查看原始版本" href="{aspxrewriteurl}">返回悬赏主题</a></p>
		<p class="channelinfo f_clear">
		已解决 - <a href="#bestpost">最佳答案</a>  悬赏价格: 金钱 <strong>{topic.price}</strong>
		</p>
	</div>
	<div id="postsContainer" style="margin-bottom:10px;">
	<table cellspacing="0" cellpadding="0" summary="悬赏主题"  class="topic_table">
		<tr>
		<td class="postauthor">
			<%if {post.posterid}!=-1%>
			<!-- member menu -->
			<div class="popupmenu_popup userinfopanel" id="{post.posterid}{loopi}" style="display:none; clip: rect(auto auto auto auto); position: absolute;" initialized ctrlkey="userinfo2">
				<div class="popavatar">
后面还有 566 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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