findOneByUsername($username); if (! $q->count()) { echo "
User " . $_SERVER['REMOTE_USER'] . " needs an entry in the user table.
\n"; } else { $user_id = $user->getContactId(); $admin_level = $user->getAdmin(); if ($module) include_once("$lib_root/$module.php"); #else include_once("$lib_root/menu.php"); } include_once("$lib_root/footer.php"); ?>