{
include "cookies.php";
include "redirect.php";
include "constants.php";
include "opendb.php";
include "error.php";
include "query.php";
include "preheader.php";
print "
" . $sitename . "\n";
include "header.php";
print "
" . $sitename . "
\n";
if (checkCookie ()) {
// The cookie is valid, show the user page
include "user-page.php";
} else {
include "login.php";
}
include "footer.php";
}
?>