query("SET NAMES 'utf8'"); if(!$db->connected) { include("./include/database_problem.php"); exit; } /* Specifies whatever or not there should be a right menu on this page! */ $show_right_menu = true; /* Create the class object in order to manage the site cookie */ $coo = new Cookies_Manager_Class("UserCookie"); /* Start session management! Make at the following global variables available: SESSION_VERIFIED_USER[] (profile_id, username, password, user_level, first_name, middel_name, last_name) SESSION_VERIFIED_ADMIN[] (admin_id, username, password, admin_level, first_name, middel_name, last_name) */ start_page_session(); /* Call this method in order to check for auto login and so if auto_login is set! NOTICE that this method must have a pointer to the cookie as an argument!*/ check_for_autologin($coo); /* Call the method get_language in order to find out what language the page scould be in! NOTICE! that the method take one argument (the pointer og the cookie object)*/ $page_language = get_language($coo); /* Get left/right sitemenu picture url*/ $left_sitemenu_picture_id = get_left_sitemenu_picture_id(); if ($show_right_menu) { $right_sitemenu_picture_id = get_right_sitemenu_picture_id($left_sitemenu_picture_id); } /* Get standard "GET" variables */ if (!$page_id = @$_GET['id']) { $page_id = 'index';} if (!$page_mode = @$_GET['mode']) { $page_mode = '';} if (!$page_option = @$_GET['op']) { $page_option = '';} if (!$referer_url = @$_GET['rurl']) { $referer_url = ''; } /* Rettet */ #if (!$page_id = @$_GET['id']) { $page_id = 'index';} #if (!$page_mode = @$_GET['mode']) { $page_mode = '';} #if (!$page_option = @$_GET['op']) { $page_option = '';} #if (!$referer_url = @$_GET['rurl']) { $referer_url = ''; } /**********************************************************************************/ /****************************** Special Initialising ******************************/ /**********************************************************************************/ srand(make_seed()); $forside_banner_valgt = rand(1,8); if($forside_banner_valgt == 1) { $rullende_banner = true; } else{ $rullende_banner = false; } // $rullende_banner = false; /**********************************************************************************/ /************************************ Functions ***********************************/ /**********************************************************************************/ /**********************************************************************************/ /*********************************** Page Start ***********************************/ /**********************************************************************************/ ?>
|
";
gui_banner("other", 7);
echo " "; */ include("./include/menu_items_dofbasen_index.php"); echo " "; echo " ";
srand(make_seed());
$randval = rand(1,4);
if($randval < 2) {
gui_banner("other", 76);
} else {
gui_banner("other", 74);
}
echo " "; echo " ";
gui_banner("other", 75);
echo " "; include("./include/menu_items_tracker.php"); echo " "; ?> |