*/
/*
* Require files and ensure environment.
*/
require_once __DIR__ . "/inc/functions.php";
ensureEnvironment(); // Ensure existence of system files.
$translations = loadLanguage($settings['defaultLang']); // Load translations.
ensureBackendEnv(); // Ensure session is started etc.
$pages = loadPages(); // Load overview of pages.
/*
* Load data.
*/
/*
* Output
*/
echo printBackendHead($settings, $translations['start'], $translations['start'], $settings['logo']);
echo printBackendHeader($translations['start'], $translations['helpStart']);
echo '
';
echo printBackendNav($translations);
echo '
';
echo printStaticPagePart("welcomeMsg", "section"); // Print aside (if need be)
echo '
' . $translations['aboutThisSite'] . '
' . $translations['numberOfPages'] . ' |
' . (string)count($pages) . ' |
' . $translations['numberOfPublicPages'] . ' |
' . (string)count(loadPublicPages()) . ' |
' . $translations['phpVersion'] . ' |
PHP ' . (string)phpversion() . ' |
' . $translations['aboutMDCMS'] . '
' . $translations['aboutMDCMS_content'] . '
';
echo '
';
echo printBackendEnd();
?>