{php include pubTemplate("header")}
{php doAction('group_topic_top')}

# {if $strTopic['label']}{tsTitle($strTopic['label'])}{/if}{if $strTopic[typeid] !='0'}[{$strTopic[type][typename]}]{/if}{$strTopic[title]}

{$strTopic[user][username]}
发表于 {php echo date('Y-m-d H:i:s',$strTopic[addtime])}
{$strTopic['count_comment']}
{$strTopic['count_view']}
{if $TS_USER[userid] == $strTopic[userid] || $TS_USER[userid]==$strGroup[userid] ||$strGroupUser[isadmin]=="1" || $TS_USER[isadmin]=="1"}
{if $TS_USER[userid]==$strGroup[userid] ||$strGroupUser[isadmin]=="1" || $TS_USER[isadmin]=="1"} 标注 {if $strTopic['isaudit']=='1'}审核{else}取消审核{/if} {if $strTopic[istop]=='0'}置顶{else}取消置顶{/if} {if $strTopic['isrecommend']=='0'}推荐{else}取消推荐{/if} {if $strTopic[isposts]==0}精华{else}取消精华{/if} 移动 {/if} 编辑 删除
{/if}
{loop $strTopic[tags] $key $item} {$item[tagname]} {/loop}
{if $page == '1'}
{$strTopic['content']} {if $strTopic['photos']} {loop $strTopic['photos'] $key $item}

{/loop} {/if} {$tpUrl}
{if $strTopic['iscommentshow']==1 && $isComment==0 && $strTopic['userid']!=intval($TS_USER['userid'])} {else} {if $TS_APP['istopicvideo']} {if $arrVideo}
{loop $arrVideo $key $item}

{if $item['siteid']==1 || $item['siteid']==2 || $item['siteid']==3}
{/if}

{/loop}
{/if} {if $TS_USER['userid']==$strTopic['userid'] || $TS_USER['isadmin']==1}
插入视频
{/if} {/if} {if $TS_APP['istopicattach']} {if $arrAttach}

{loop $arrAttach $key $item}
- {tsTitle($item['attachname'])} - {$item['count_down']}次下载 - 需{$item['score']}积分
{/loop}

{if $TS_USER['userid']==$strTopic['userid'] || $TS_USER['isadmin']==1}
上传/选择附件
{/if}
{else} {if $TS_USER['userid']==$strTopic['userid'] || $TS_USER['isadmin']==1}
上传/选择附件
{/if} {/if} {/if} {/if}
{php doAction('group_topic_footer')}
{php doAction('gobad','468') }
最后修改 {php echo date('Y-m-d H:i:s',$strTopic[uptime])}
{$strTopic['count_comment']}
{$strTopic['count_view']}
{if $TS_USER[userid] == $strTopic[userid] || $TS_USER[userid]==$strGroup[userid] ||$strGroupUser[isadmin]=="1" || $TS_USER[isadmin]=="1"}
{if $TS_USER[userid]==$strGroup[userid] ||$strGroupUser[isadmin]=="1" || $TS_USER[isadmin]=="1"} 标注 {if $strTopic['isaudit']=='1'}审核{else}取消审核{/if} {if $strTopic[istop]=='0'}置顶{else}取消置顶{/if} {if $strTopic['isrecommend']=='0'}推荐{else}取消推荐{/if} {if $strTopic[isposts]==0}精华{else}取消精华{/if} 移动 {/if} 编辑 删除
{/if}
{/if}
用户评论{if $strTopic['count_comment']} ({$strTopic['count_comment']}){/if}
{if $arrTopicComment}

{loop $arrTopicComment $key $item}

- #### {php echo date('Y-m-d H:i:s',$item[addtime])} {$item[user][username]} $item[l]#

  {if $item[referid] !='0'}
  {$item[recomment][user][username]}：{$item[recomment][content]}
  {/if}

  {if $item['ispublic'] && $item['userid']==$TS_USER['userid'] || $item['ispublic'] && $strTopic['userid']==$TS_USER['userid']} {$item[content]} {elseif $item['ispublic'] && $item['userid']!=$TS_USER['userid'] || $item['ispublic'] && $strTopic['userid']!=$TS_USER['userid']}

  评论内容不公开显示！
  {else} {$item[content]} {/if} {if $TS_APP['istopicattach']} {if $item['attach']}
  {loop $item['attach'] $akey $aitem}
  - {tsTitle($aitem['attachname'])} - {$aitem['count_down']}次下载 - 需{$aitem['score']}积分
  {/loop}
  {/if} {/if}
  {if $strGroupUser} 回复 {/if} {if $TS_USER[userid] == $strGroup[userid] || $TS_USER[userid] == $item[userid] || $strGroupUser[isadmin]==1 || $TS_USER[isadmin]==1} 删除 {/if}

  提交 取消

{/loop}

{$pageUrl}
{/if}
{if intval($TS_USER[userid])==0}
登录 | 注册
{elseif $strGroupUser==''}
不是本组成员不能回应此贴哦！

加入小组

{elseif $strTopic[iscomment] == 1 && $strTopic[userid] != $TS_USER[userid]}
本帖除作者外不允许任何人评论
{elseif $strTopic[isclose]=='1'}
该帖子已被关闭，无法评论
{else}
{if $TS_SITE['isauthcode']} {/if}
是否公开：公开 不公开
{/if}
推荐帖子

{loop $arrRecommendTopic $key $item}
- {$item['title']}
{/loop}

本组热门帖子

{loop $arrGroupHotTopic $key $item}
- {$item['title']}
{/loop}

最新帖子

{loop $newTopic $key $item}
- {php echo tsTitle($item[title])}
{/loop}

热门帖子

{loop $arrHotTopic $key $item}
- {$item['title']}
{/loop}

##### 标注

请输入标注内容(最多8个字符):
{php doAction('tseditor','mini')} {php include pubTemplate("footer")}