<{if $xoops_isadmin}> <{/if}> <{$xoops_sitename}> <{php}> global $xoopsDB,$xoopsModule; $modhandler = &xoops_gethandler('module'); $xoopsModule = &$modhandler->getByDirname("tad_themes"); $config_handler = & xoops_gethandler('config'); $xoopsModuleConfig = & $config_handler->getConfigsByCat(0, $xoopsModule->getVar('mid')); if($xoopsModuleConfig['auto_mainmenu']=="1"){ echo "
"; } <{/php}> <{if $xoops_isadmin}> <{if $xoops_dirname=="" || $xoops_dirname=="system"}> <{else}> <{/if}> <{/if}>