Application version string */ /* Path settings */ $strPattern = '(admin/[^/]*.php)'; $preRelPath = preg_replace($strPattern, '', filter_input(INPUT_SERVER, 'PHP_SELF')); $preBasePath = preg_replace($strPattern, '', filter_input(INPUT_SERVER, 'SCRIPT_FILENAME')); /* Define common variables */ $prePageId = 7; $preContent = 'admin/mainpages.htm.tpl'; /* Include preprocessing file */ require $preBasePath . 'functions/prepend_adm.php'; /* Include content */ $conttp->setVariable('TITLE', translate('Administration')); $conttp->parse('header'); $conttp->show('header'); $conttp->setVariable('DESC', translate('Functions to administrate NagiosQL V3')); $conttp->parse('main'); $conttp->show('main'); /* Include Footer */ $maintp->setVariable('VERSION_INFO', "NagiosQL $setFileVersion"); $maintp->parse('footer'); $maintp->show('footer');