{extend name="$theme_block" /} {block name="main"}
{if $redirect_message}
{foreach $redirect_message as $key => $message}
{$message|raw}
{/foreach}
{/if}

{$topic_info.title} {if $user_id} {/if}

{if $topic_info['description']}

{:str_cut(strip_tags(htmlspecialchars_decode($topic_info['description'])),0,100)} {if mb_strlen(strip_tags($topic_info['description']))>=100} {:L('查看详情')} {/if}

{/if}

{:L('共 %s 讨论',$topic_info['discuss'])},{:L('7天新增 %s 个讨论',$topic_info['discuss_week'])},{:L('30天新增 %s 个讨论',$topic_info['discuss_month'])}

{if $type!='about'} {:widget('common/lists',['item_type'=>$type,'sort'=>$sort,'topic_ids'=>[$topic_info['id']]])} {else/}
{:htmlspecialchars_decode($topic_info['description'])}
{/if}
{:hook('sidebarTop')} {if $user_id && ($user_info['group_id']==1 || $user_info['group_id']==2 || $user_info['permission']['topic_manager']=='Y')}

{:L('话题管理')}

{/if} {if $topic_info['relation_topics'] || ($user_id && ($user_info['group_id']==1 || $user_info['group_id']==2 || $user_info['permission']['topic_manager']=='Y'))}

{:L('相关话题')}

{if $user_id && ($user_info['group_id']==1 || $user_info['group_id']==2 || $user_info['permission']['topic_manager']=='Y')} {:L('修改')}   {/if}
    {volist name="$topic_info['relation_topics']" id="v"} {/volist} {if $topic_info['relation_topics']} {/if}
{/if}

{:L('相关知识章节')}

{:L('查看知识地图')}
{if !empty($archive_chapters)} {foreach $archive_chapters as $chapter} {/foreach} {else/}
{:L('当前话题还没有沉淀出明确的知识章节,可先从知识地图继续检索相关资料。')}
{:L('前往知识地图')}
{/if}
{if $top_parent_topic || $parent_topic || $child_topics}
{if $top_parent_topic}
{:L('根话题')}
{$top_parent_topic.title}
{/if} {if $parent_topic}
{:L('父话题')}
{$parent_topic.title}
{/if} {if $child_topics}
{:L('子话题')}
{foreach $child_topics as $topic} {$topic.title} {/foreach}
{/if}
{/if} {if $focus_user}

{:L('%s 人关注该话题',$topic_info['focus'])}

    {foreach $focus_user as $k=>$v}
  • {$v.nick_name}
  • {/foreach}
{/if} {:widget('sidebar/hotTopic',['uid'=>$user_id])} {:hook('sidebarBottom')}
{/block}