{if $get.act == "" || $get.act == "index" || $get.act == "article_list" || $get.act == "article_show" || $get.act == "quicklaunch" || $get.act == "pm_in" || $get.act == "pm_out" || $get.act == "pm_send" || $get.act == "amend" || $get.act == "prompt"}

- 管理首页
  - 管理首页
  {if $admin.ag_fileallow.article_list == "1"}
  - 内部公告
  {/if}

{if $admin.ag_fileallow.quicklaunch == "1"}

- 快速启动
  {if $admin.ag_fileallow.quicklaunch == "1"} {foreach name=quicklaunch from=$quicklaunch item=item}
  - {$item.name|str_entag:'space,br'}
  {/foreach} {/if}

{/if} {if $admin.ag_fileallow.pm_in == "1" || $admin.ag_fileallow.pm_out == "1" || $admin.ag_fileallow.pm_send == "1"}

- 短信发送
  {if $admin.ag_fileallow.pm_in == "1"}
  - 收件箱{if $member.cp_pm_in_total_record_noread > "0"}[未读:{$member.cp_pm_in_total_record_noread}]{/if}
  {/if} {if $admin.ag_fileallow.pm_out == "1"}
  - 发件箱
  {/if} {if $admin.ag_fileallow.pm_send == "1"}
  - 写短信
  {/if}

{/if} {if $admin.ag_fileallow.amend == "1"}

- 其他设置
  {if $admin.ag_fileallow.amend == "1"}
  - 我的资料
  {/if}

{/if} {/if} {if $get.act == "index_channel" || $get.act == "channel" || $get.act == "trans" || $get.act == "trans_group" || $get.act == "manage" || $get.act == "setmodel"} {if $admin.ag_fileallow.channel == "1"}

- 频道栏目 {if $admin.ag_fileallow.channel == "1"}{/if}
  {if $admin.ag_fileallow.channel == "1"} {foreach name=channel_top from=$channel_top item=channel_top}
  - {if $admin.ag_privilege.channel == "1" || ($admin.ag_privilege.channel == "3" && $channel_top.channel_manage_admin_id != "")} {$channel_top.name|str_entag:'space,br'}
  {else} {$channel_top.name|str_entag:'space,br'}
{/if} {/foreach} {/if}

{/if} {if $admin.ag_fileallow.setmodel == "1"}

- 模型管理 {if $admin.ag_fileallow.setmodel == "1"}{/if}
  {if $admin.ag_fileallow.setmodel == "1"} {foreach name=setmodel_list from=$setmodel_list item=setmodel_list}
  - {$setmodel_list.name|str_entag:'space,br'}
  {/foreach} {/if}

{/if} {if $admin.ag_fileallow.trans == "1" || $admin.ag_fileallow.trans_group == "1"}

- 横向分类管理
  {if $admin.ag_fileallow.trans == "1"}
  - 横向分类值
  {/if} {if $admin.ag_fileallow.trans_group == "1"}
  - 横向分类组
  {/if}

{/if} {/if} {if $get.act == "index_content" || $get.act == "content"} {if $admin.ag_fileallow.content == "1"}

- 内容管理
  {if $admin.ag_fileallow.content == "1"} {foreach name=channel_top from=$channel_top item=channel_top}
  - {if $admin.ag_privilege.content == "1" || ($admin.ag_privilege.content == "3" && $channel_top.channel_manage_admin_id != "")} {$channel_top.name|str_entag:'space,br'}
  {else} {$channel_top.name|str_entag:'space,br'}
{/if} {/foreach} {/if}

{/if} {/if} {if $get.act == "index_member" || $get.act == "member" || $get.act == "member_group" || $get.act == "admin" || $get.act == "admin_group" || $get.act == "forbid_ip"} {if $admin.ag_fileallow.member == "1" || $admin.ag_fileallow.member_group == "1"}

- 会员管理
  {if $admin.ag_fileallow.member == "1"}
  - 会员管理
  {/if} {if $admin.ag_fileallow.member_group == "1"}
  - 会员群组设定
  {/if}

{/if} {if $admin.ag_fileallow.admin == "1" || $admin.ag_fileallow.admin_group == "1"}

- 管理员群组设定
  {if $admin.ag_fileallow.admin == "1"}
  - 管理员管理
  {/if} {if $admin.ag_fileallow.admin_group == "1"}
  - 管理员群组设定
  {/if}

{/if} {if $admin.ag_fileallow.forbid_ip == "1"}

- 屏蔽管理
  {if $admin.ag_fileallow.forbid_ip == "1"}
  - 禁止IP
  {/if}

{/if} {/if} {if $get.act == "index_config" || $get.act == "set_config" || $get.act == "set_select"} {if $admin.ag_fileallow.set_config == "1"}

- 系统设置
  {if $admin.ag_fileallow.set_config == "1"} {foreach name=config_sort from=$config_sort item=config_sort}
  - {$config_sort.cs_name|str_entag:'space,br'}
  {/foreach} {/if}

{/if} {if $admin.ag_fileallow.set_select == "1"}

- 系统选项
  {if $admin.ag_fileallow.set_select == "1"} {foreach name=select_sort from=$select_sort key=key item=item}
  - {$item}
  {/foreach} {/if}

{/if} {/if} {if $get.act == "index_tool" || $get.act == "article" || $get.act == "datum" || $get.act == "template" || $get.act == "admin_template" || $get.act == "language" || $get.act == "admin_language" || $get.act == "clean_compile" || $get.act == "clean_cache" || $get.act == "clean_db" || $get.act == "clean_content_cover" || $get.act == "clean_content_attach" || $get.act == "clean_article_cover" || $get.act == "clean_article_attach" || $get.act == "clean_datum_cover" || $get.act == "clean_datum_attach"} {if $admin.ag_fileallow.article == "1" || $admin.ag_fileallow.datum == "1"}

- 附加模块
  {if $admin.ag_fileallow.article == "1"}
  - 内部公告管理
  {/if} {if $admin.ag_fileallow.datum == "1"}
  - 资料仓库管理
  {/if}

{/if} {if $admin.ag_fileallow.template == "1" || $admin.ag_fileallow.admin_template == "1"}

- 模板设定
  {if $admin.ag_fileallow.template == "1"}
  - 前台模板设定
  {/if}
  {if $admin.ag_fileallow.admin_template == "1"}
  - 后台模板设定
  {/if}

{/if} {if $admin.ag_fileallow.language == "1" || $admin.ag_fileallow.admin_language == "1"}

- 语言设定
  {if $admin.ag_fileallow.language == "1"}
  - 前台语言设定
  {/if}
  {if $admin.ag_fileallow.admin_language == "1"}
  - 后台语言设定
  {/if}

{/if} {if $admin.ag_fileallow.clean_compile == "1" || $admin.ag_fileallow.clean_cache == "1" || $admin.ag_fileallow.clean_db == "1" || $admin.ag_fileallow.clean_content_cover == "1" || $admin.ag_fileallow.clean_content_attach == "1" || $admin.ag_fileallow.clean_article_cover == "1" || $admin.ag_fileallow.clean_article_attach == "1" || $admin.ag_fileallow.clean_datum_cover == "1" || $admin.ag_fileallow.clean_datum_attach == "1"}

- 清空缓存
  {if $admin.ag_fileallow.clean_compile == "1"}
  - 清空模板缓存
  {/if} {if $admin.ag_fileallow.clean_cache == "1"}
  - 清空页面缓存
  {/if} {if $admin.ag_fileallow.clean_db == "1"}
  - 清空数据库缓存
  {/if} {if $admin.ag_fileallow.clean_content_cover == "1"}
  - 清空发布内容封面缓存
  {/if} {if $admin.ag_fileallow.clean_content_attach == "1"}
  - 清空发布内容附件缓存
  {/if} {if $admin.ag_fileallow.clean_article_cover == "1"}
  - 清空内部公告封面缓存
  {/if} {if $admin.ag_fileallow.clean_article_attach == "1"}
  - 清空内部公告附件缓存
  {/if} {if $admin.ag_fileallow.clean_datum_cover == "1"}
  - 清空资料仓库封面缓存
  {/if} {if $admin.ag_fileallow.clean_datum_attach == "1"}
  - 清空资料仓库附件缓存
  {/if}

{/if} {/if} {if $get.act == "index_datum_show" || $get.act == "datum_show"} {if $admin.ag_fileallow.datum_show == "1"}

- 资料仓库
  {if $admin.ag_fileallow.datum_show == "1"} {foreach name=datum_list from=$datum_list item=datum_list}
  - {$datum_list.phrase|str_entag:'space,br'}
  {/foreach} {/if}

{/if} {/if} {if $get.act == "index_help" || $get.act == "help_system" || $get.act == "help_frame" || $get.act == "help_template" || $get.act == "help_skill"} {if $admin.ag_fileallow.help_system == "1" || $admin.ag_fileallow.help_frame == "1" || $admin.ag_fileallow.help_template == "1" || $admin.ag_fileallow.help_skill == "1"}

- 帮助支持
  {if $admin.ag_fileallow.help_system == "1"}
  - 系统介绍
  {/if} {if $admin.ag_fileallow.help_frame == "1"}
  - 系统架构
  {/if} {if $admin.ag_fileallow.help_template == "1"}
  - 模板标签
  {/if} {if $admin.ag_fileallow.help_skill == "1"}
  - 使用技巧
  {/if}

{/if} {/if}