} //*** Load the Template Parse methods. require_once 'includes/inc.tplparse.php'; $strOutput .= parseHeader($cId, $eId, $cmd); if ($objLiveUser->isLoggedIn()) { if ($cmd == CMD_BROWSE) { $strOutput .= parseBrowse($cId, $eId, $cmd); } else { switch ($cId) { case NAV_ACCOUNT: $strOutput .= parseAccount($eId, $cmd); break; case NAV_TOOLS: $strOutput .= parseTools($eId, $cmd); break; } } } else { switch ($cId) { case NAV_ADMIN: $strOutput .= parseAdmin($eId, $cmd); break; default: $strOutput .= parseLogin(); } } $strOutput .= parseFooter($cId, $eId, $cmd); echo $strOutput; ?>
$strOutput .= parseMenu($intCatId, $strCommand); $strOutput .= parseSetting($intElmntId, $strCommand); break; case NAV_PCMS_LANGUAGES: require_once 'includes/inc.tplparse_language.php'; $strOutput .= parseMenu($intCatId, $strCommand); $strOutput .= parseLanguage($intElmntId, $strCommand); break; case NAV_PCMS_HELP: require_once 'includes/inc.tplparse_help.php'; $strOutput .= parseMenu($intCatId, $strCommand); $strOutput .= parseHelp($intElmntId, $strCommand); break; case NAV_PCMS_SEARCH: require_once 'includes/inc.tplparse_search.php'; $strOutput .= parseMenu($intCatId, $strCommand); $strOutput .= parseSearch($intElmntId, $strCommand); break; case NAV_PCMS_ELEMENTS: require_once 'includes/inc.tplparse_element.php'; $strOutput .= parseMenu($intCatId, $strCommand); $strOutput .= parsePages($intElmntId, $strCommand); break; default: $strOutput .= parseMenu($intCatId, $strCommand); $strOutput .= parseUndefined($intCatId, $strCommand); } //*** Parse the HTML Footer. $strOutput .= parseFooter(); echo $strOutput; //echo "<br /><br />Execution time: " . (microtime(true) - $start);