{php $market=pdo_fetch("select * from " . tablename('vp_market') . " where uniacid=:uniacid ", array(':uniacid' => $_W['uniacid']));} {php $market['menus']=iunserializer($market['menus']);} {php $menu_urls=array('index'=>$this->createMobileUrl('index'),'shops'=>$this->createMobileUrl('index',array('cmd'=>'shops')),'follows'=>$this->createMobileUrl('index',array('cmd'=>'follows')));} {loop $market['menus'] $_menu} {if $_menu['status']>0} {if in_array($_menu['code'],array('index','shops','follows'))}
{if $menu==$_menu['code']} {else} {/if}
{if $menu==$_menu['code']}

{$_menu['name']}

{else}

{$_menu['name']}

{/if}
{else}

{$_menu['name']}

{/if} {/if} {/loop} {if $mine['admin']>0 || $mine['staff']>0 }

员工

{/if}