<?php $memoryPeak = sprintf('%.4f', memory_get_peak_usage() / 1024 / 1024); $memoryFinal = sprintf('%.4f', memory_get_usage() / 1024 / 1024); $scriptTime = ae_Timer::stop('total'); $filter = array('ORDER BY' => 'ca_title ASC'); $caList = new ae_CategoryList($filter, array(), FALSE); ?> <footer class="main-footer"> <div> <h6>Kategorien</h6> <ul class="categories"> <?php while ($ca = $caList->next()) { ?> <li><a href="<?php echo $ca->getLink(); ?> "><?php echo $ca->getTitle(); ?> </a></li> <?php } ?> </ul> </div> <div> <h6>Seiten</h6>
if (ini_get('register_globals')) { ini_set('register_globals', 0); } // URL constant $protocol = 'http://'; if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) { $protocol = 'https://'; } $url = $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']; $url = explode('/', $url); array_pop($url); if (defined('IS_RSS')) { array_pop($url); } $url = $protocol . implode('/', $url) . '/'; define('URL', $url); unset($url); // Initialize some needed classes ae_Timer::start('total'); ae_Log::init($logSettings); if (ae_Database::connect($dbSettings) === FALSE) { $path = 'themes/error-msg-db.php'; $path = file_exists($path) ? $path : '../' . $path; include $path; exit; } ae_Security::init($securitySettings); ae_Settings::load(); // Constants used in themes and the RSS feed define('THEME', ae_Settings::get('theme')); define('THEME_PATH', URL . 'themes/' . THEME . '/');