session_start(); require_once "version.php"; require_once "config.php"; require_once "db-prefs.php"; require_once "functions.php"; $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME); if (!SINGLE_USER_MODE) { if (!USE_HTTP_AUTH) { if (!$_SESSION["uid"]) { header("Location: login.php"); exit; } } else { authenticate_user($link); } } else { $_SESSION["uid"] = 1; $_SESSION["name"] = "admin"; } ?>
|
||||
if (get_pref($link, 'ENABLE_LABELS')) { ?> } ?> if ($_SESSION["access_level"] >= 10) { ?> } ?> |
Loading, please wait... |
if (get_pref($link, 'DISPLAY_FOOTER')) { ?>
|||
Tiny-Tiny RSS v= VERSION ?> © 2005 Andrew Dolgov
if (WEB_DEMO_MODE) { ?>
Running in demo mode, some functionality is disabled. } ?> |
} ?>