{php} $widget = Bizsystem::GetObject('menu.widget.MainTabMenu'); if($widget->m_GlobalSearchRule && $widget->m_SearchRule){ $searchRule = $widget->m_GlobalSearchRule ." and ". $widget->m_SearchRule; }else{ $searchRule = $widget->m_SearchRule; } $menu_count = $widget->getDataObj()->directfetch($searchRule)->count(); $menu_item_width = 115; $menu_width = ($menu_count * $menu_item_width)."px"; $this->assign('menu_count', $menu_count); {/php}

- {t}My Account{/t}
- {t}Help{/t}
- {t}Logout{/t}

{if $menu_count >5} {/if}
{if $menu_count >5} {/if}
{php}echo Bizsystem::GetObject('menu.widget.BreadcrumbMenu')->render();{/php}
{include file="system_appbuilder_btn.tpl.html"}
{php}echo Bizsystem::GetObject('system.widget.SwitchUserWidget')->render();{/php}
{if $menu_count >5}
{/if}