<%if {topic.identify}>0 && {post.id}==1%>
<%/if%>
<%if {post.layer}!=0%>
{post.title}
<%/if%>
<%if {post.id}==1%>
<%if {topic.special}!=2 && {topic.special}!=3%>{post.message} <%/if%>
<%else%>
{post.message}
<%/if%>
<%if {post.id}==1 && {enabletag}%>
<%set (int){hastag} = Topics.GetMagicValue(topic.Magic, MagicType.TopicTag)%>
<%if {hastag}==1%>
<%else%>
<%/if%>
<%/if%>
<%if {attachmentlist.count}>0%>
<%set (int){currentattachcount} = 0%>
<%loop (ShowtopicPageAttachmentInfo) attachtemp attachmentlist%>
<%if {attachtemp.pid}=={post.pid}%>
<%set {currentattachcount} = {currentattachcount} + 1%>
<%/if%>
<%/loop%>
<%if {currentattachcount}>0%>
<%set (int){getattachperm} = attachmentlist[0].Getattachperm%>
<%if {getattachperm}==1%>
<%loop (ShowtopicPageAttachmentInfo) attachment attachmentlist%>
<%if {attachment.pid}=={post.pid}%>
<%if {attachment.allowread}==1%>
<%template _attachmentinfo%>
<%else%>
<%if {userid>0}%>
你的下载权限 {usergroupinfo.readaccess} 低于此附件所需权限 {attachment.readperm}, 你无权查看此附件
<%else%>
附件:
你需要登录才可以下载或查看附件。没有帐号? 注册
<%/if%>
<%/if%>
<%/if%>
<%/loop%>
<%else%>
附件:
您需要登录才可以下载或查看附件。没有帐号? 注册
<%/if%>
<%/if%>
<%/if%>
<%if {post.ratetimes}>0%>
<%template _ratelog%>
<%/if%>
<%if {post.id}==1%>
<%if {topic.special}==2 || {topic.special}==3%>
<%if {topic.special}==2%>
<%else%>
<%/if%>
{topic.price}{userextcreditsinfo.unit}{userextcreditsinfo.name}
<%/if%>
<%if {topic.special}==3%>
<%set (bool){isshowbest} = false%>
<%set (bool){isshowvaluable} = false%>
<%loop (BonusLogInfo) bonuslog bonuslogs%>
<%if {bonuslog.isbest}==2%>
<%if !{isshowbest}%>
最佳答案
<%set {isshowbest} = true%>
<%/if%>
<%else%>
<%if !{isshowvaluable}%>
有价值答案
<%set {isshowvaluable} = true%>
<%/if%>
<%/if%>
<%set (string){answeravatarurl}=Avatars.GetAvatarUrl(bonuslog.Answerid) %>
<%set {aspxrewriteurl} = this.UserInfoAspxRewrite({bonuslog.answerid})%>
<%set (string) {unit} = scoreunit[ bonuslog.Extid ]%>
<%set (string) {name} = score[ bonuslog.Extid ]%>
{bonuslog.answername}({name}:{bonuslog.bonus}{unit})
查看完整内容
<%getsubstring({bonuslog.Message,100,"..."})%>
<%/loop%>
<%else if {topic.special}==4%>
正方观点
{debateexpand.positiveopinion}
反方观点
{debateexpand.negativeopinion}
<%/if%>
<%template _poll%>
<%/if%>