<%if {topic.identify}>0 && {post.id}==1%>
<%/if%>
<%if {post.layer}!=0%>
{post.title}
<%/if%>
<%if {post.id}==1%>
{post.message}
<%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}==3%>
本帖得分:
<%loop (BonusLogInfo) bonuslog bonuslogs%>
<%if {bonuslog.bonus}>0%>
<%if {bonuslog[_id]}!=1%>
,
<%/if%>
<%set {aspxrewriteurl} = this.UserInfoAspxRewrite({bonuslog.answerid})%>
<%set (string) {unit} = scoreunit[ bonuslog.Extid ]%>
<%set (string) {name} = score[ bonuslog.Extid ]%>
{bonuslog.answername}({name}:{bonuslog.bonus}{unit})
<%/if%>
<%/loop%>
<%else if {topic.special}==4%>
正方观点
{debateexpand.positiveopinion}
反方观点
{debateexpand.negativeopinion}
<%/if%>
<%template _poll%>
<%if {topic.special}==2%>
悬赏金额: {userextcreditsinfo.name} {topic.price} {userextcreditsinfo.unit}
<%/if%>
<%/if%>