connection) { exit('
A connection to the database could not be established and/or the specified database could not be found.
'); } $admin = new $module($db); $admin->get['a'] = $module; $admin->sets = $admin->get_settings($set); $admin->modules = $modules; $admin->user_cl = new $admin->modules['user']($admin); $admin->user = $admin->user_cl->login(); $admin->lang = $admin->get_lang($admin->user['user_language'], $admin->get['a']); $server_load = $admin->get_load(); if (!isset($admin->get['skin'])) { $admin->skin = $admin->user['skin_dir']; } else { $admin->skin = $admin->get['skin']; } $admin->init(); $output = $admin->execute(); $title = isset($pdns->title) ? $pdns->title : $admin->name .' Admin CP'; $time_now = explode(' ', microtime()); $time_exec = round(($time_now[1] + $time_now[0]) - $time_start, 4); if (!$admin->nohtml) { $admin_main = $output . eval($admin->template('ADMIN_COPYRIGHT')); echo eval($admin->template('ADMIN_INDEX')); } else { echo $output; } ?>