{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} {loop $top_nav $nav} <li{if $nav['name'] == 'store'} class="active"{/if}> {$nav['title']} {/loop}

- {$_W['user']['username']}
  - 我的账号
  {if $_W['isfounder']}
  - 自动更新
  - 更新缓存
  {/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}