query("SET NAMES 'utf8'"); /* 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 = ''; } /**********************************************************************************/ /************************************ Functions ***********************************/ /**********************************************************************************/ /**********************************************************************************/ /*********************************** Page Start ***********************************/ /**********************************************************************************/ ?>
|
|
"; } if ($page_language == "dk") { echo "Indtast venligt brugernavn og password og der vil blive oprettet en cookie så vi kan se du er logget ind. Bemærk! at denne service kun er for administratorer af ". SITE_NAME . "! "; } else { echo "Please enter your username and password and a cookie will be created in order to for us to know you are logged in. Please notice, that this service is for administrators of ". SITE_NAME . " only! "; } ?>
"; } if ($page_language == "dk") { echo "Indtast venligt brugernavn og password og der vil blive oprettet en cookie så vi kan se du er logget ind. Hvis du ikke allerede har oprettet en bruger profil på ". SITE_NAME . "? kan du gøre dette her. "; if(!strpos($rurl, "user.php?id=index")) { echo "Bemærk, efter du er logget ind, skal du klikke på Redigér din profil i venstre kolonne for at ændre din brugerprofil på Netfugl.dk. "; } } else { echo "Please enter your username and password and a cookie will be created in order to for us to know you are logged in. Unless you have already created a user profile at " . SITE_NAME . ", you can do so here. "; } ?>
"; echo " "; echo " "; echo "- - - - - - - - - - - - - - -"; echo " "; echo "The site is being updated and will be unavailable until July 12th."; echo " "; echo " "; echo " "; //include("./include/forms/forms_newuser.php"); break; case 'sendpassword' : gui_header("Glemt dit password eller brugernavn?", "Forgotten your password or username?"); echo " "; echo " "; echo " "; echo "- - - - - - - - - - - - - - -"; echo " "; echo "The site is being updated and will be unavailable until July 12th."; echo " "; echo " "; echo " "; ?> |