{extend name="../../admin/view/public/admin_base"} {block name='title'}{$pageTitle?:'后台管理'}-{$moduleInfo['name'] ? $moduleInfo['name'] : ($websiteSets['name']?:'星数引擎')}{/block} {block name='header'}
{if $isSystem}
{$websiteSets['name']?:'星数引擎'}
{else/} {if !empty($moduleInfo['logo'])} {else} {/if}
{$moduleInfo['name']}
{/if}

{if $isSystem}
{else} {if in_array($userInfo['role'],['owner','manager','operator']) }
- 切换应用
{/if} {/if}

{if $isSystem}
- 系统设置
- 系统升级
{else} {if in_array($userInfo['role'],['owner','manager']) && !$isSystem}
- 商户设置
- 权限管理
{/if} {/if}
- {if $isSystem} {$userInfo['username']} {else} {$account['name']?:'星数引擎'}（{$userInfo['username']}） {/if}

{/block} {block name='menus'}
{if empty($selSystemNav)} {if !empty($menusList['submenu']['items'])}
{/if} {/if} {/block} {block name='copyright'} {if !empty($moduleInfo['copyright'])}
{else} {if !empty($websiteSets['copyright'])}
{/if} {/if} {/block} {block name='script'} {/block}