{template 'common/header-base'} {php $frames = buildframes(FRAME);_calc_current_frames($frames);}
{if $_W['template'] == 'black'}
商城
{loop $this->left_menus $key $menus} {if (($key == 'store_manage' || $key == 'store_payments') && !($_W['isfounder'] && !user_is_vice_founder()))} {php continue;} {/if}
{$menus['title']}

{loop $menus['menu'] $menu_key $menu} {if $key == 'store_goods' && !empty($_W['setting']['store'][$menu_key])} {php continue;} {/if}
- {$menu['title']}
{/loop}

{/loop}
{elseif $_W['template'] == 'classical'}
{if !empty($_W['uid'])}

{php global $top_nav} {php $nav_top_fold=array()} {php $nav_top_tiled=array()} {php $platform_url=url('account/display')} {php $nav_top_fold[] = array('name' => 'all', 'title'=>'全部', 'type' => 'all', 'url' => $platform_url)} {loop $top_nav $nav} {if in_array($nav['name'], array(ACCOUNT_TYPE_SIGN, WXAPP_TYPE_SIGN, WEBAPP_TYPE_SIGN, PHONEAPP_TYPE_SIGN, XZAPP_TYPE_SIGN, ALIAPP_TYPE_SIGN))} {php $nav_top_fold[]=$nav} {elseif in_array($nav['name'], array('platform', 'module', 'system', 'site'))} {php $nav_top_tiled_system[]=$nav} {elseif in_array($nav['name'], array('appmarket', 'store', 'help', 'advertisement'))} {php $nav_top_tiled_other[]=$nav} {elseif $nav['name']=='custom_help'} {php $nav_top_help=$nav} {else} {php $nav_top_tiled_other[]=$nav} {/if} {/loop} {loop $nav_top_tiled_system $nav}
- {$nav['title']}
{/loop} {loop $nav_top_tiled_other $nav}
- {$nav['title']}
{/loop}

- {$_W['user']['username']}
  - 我的账号
  {if permission_check_account_user('see_system_upgrade')}
  - 自动更新
  {/if} {if $_W['role'] != ACCOUNT_MANAGE_NAME_CLERK}
  - 更新缓存
  {/if}
  - 退出系统
{template 'common/header-notice'} {if !empty($nav_top_help)}
{/if} {php $frames_site = buildframes('site')} {php $workorder_nav=$frames_site['section']['workorder']['menu']['system_workorder']} {if $workorder_nav['is_display']} {if permission_check_account_user('see_workorder')}
{/if} {/if}

{else}

- 注册
- 登录

{/if}
{loop $this->left_menus $key $menus} {if (($key == 'store_manage' || $key == 'store_payments') && !($_W['isfounder'] && !user_is_vice_founder()))} {php continue;} {/if}
{$menus['title']}

{loop $menus['menu'] $menu_key $menu} {if $key == 'store_goods' && !empty($_W['setting']['store'][$menu_key])} {php continue;} {/if}
- {$menu['title']}
{/loop}

{/loop}
{else}
宽屏
商城
{loop $this->left_menus $key $menus} {if (($key == 'store_manage' || $key == 'store_payments') && !($_W['isfounder'] && !user_is_vice_founder()))} {php continue;} {/if}
{$menus['title']}

{loop $menus['menu'] $menu_key $menu} {if $key == 'store_goods' && !empty($_W['setting']['store'][$menu_key])} {php continue;} {/if}
- {$menu['title']}
{/loop}

{/loop}
{/if}