\n"; // If no navigation have been done if ( !$_GET['nav'] ) { print "
Welcome
\n"; print "
\n"; print "
Welcome to my gallery of game pictures. These pages have been put up for my friends to see pictures of the games we have done together. Feel free to browse them all. If you have an additional picture to on or more of the events, please send me the info on how to get them. You can E-mail me by clicking the link \"Contact Webmaster\" to the left.
\n"; print "
\n"; } // If navigated to the L2-title else if ( $_GET['nav'] == "L2" ) { // If no navigation have been made to an archieve, links to the archieves will be written if ( !$_GET['dir'] ) { print "
Lineage II
\n"; print "
\n"; print "
Click here to see the worldmap.
\n"; print "\n"; print "
\n"; print "
\n"; } // If navigated to an existing archieve if ( isset($_GET['dir']) && file_exists($dir.'/'.$subdir.'/tn/tn_001.jpg') ) { print "
"; if ( $_GET['dir'] == "2007-04-24" ) { echo "Lineage II >> Most recent party"; } else if ( $_GET['dir'] == "2007-04-18" ) { echo "Lineage II >> First party to \"Catacomb of the Heretic\""; } else if ( $_GET['dir'] == "2007-04-13-16" ) { echo "Lineage II >> Startup pictures"; } else { // Means an archieve exists, but not defined in this file header("location: ./?error=404"); } print "
\n"; include('inc_gallery_viewer.php'); } // If navigation have been made to a non-existing archieve, HTTP 404 else if ( isset($_GET['dir']) && !file_exists($dir.'/'.$subdir.'/tn/tn_001.jpg') ) { header("location: ./?error=404"); } } // If navigated to the WoW-title else if ( $_GET['nav'] == "WoW" ) { // If no navigation have been made to an archieve, links to the archieves will be written if ( !$_GET['dir'] ) { print "
World of Warcraft
\n"; print "
\n"; print "

"; print "\n"; print "
\n"; print "
\n"; } // If navigated to an existing archieve if ( isset($_GET['dir']) && file_exists($dir.'/'.$subdir.'/tn/tn_001.jpg') ) { print "
"; if ( $_GET['dir'] == "WoW" ) { echo "World of Warcraft >> A little collection of pictures"; } else { // Means an archieve exists, but not defined in this file header("location: ./?error=404"); } print "
\n"; include('inc_gallery_viewer.php'); } // If navigation have been made to a non-existing archieve, HTTP 404 else if ( isset($_GET['dir']) && !file_exists($dir.'/'.$subdir.'/tn/tn_001.jpg') ) { header("location: ./?error=404"); } } // If navigated to the DOOM3-title else if ( $_GET['nav'] == "DOOM3" ) { // If no navigation have been made to an archieve, only write the title if ( !$_GET['dir'] ) { print "
DOOM3
\n"; print "
\n"; print "

"; print "\n"; print "
\n"; print "
\n"; } // If navigated to an existing archieve if ( isset($_GET['dir']) && file_exists($dir.'/'.$subdir.'/tn/tn_001.jpg') ) { print "
"; if ( $_GET['dir'] == "walkthrough" ) { echo "DOOM3 >> Walkthrough from start to end."; } else if ( $_GET['dir'] == "2007-04-13-16" ) { echo "DOOM3 >> Fun"; } else { // Means an archieve exists, but not defined in this file header("location: ./?error=404"); } print "
\n"; include('inc_gallery_viewer.php'); } // If navigation have been made to a non-existing archieve, HTTP 404 else if ( isset($_GET['dir']) && !file_exists($dir.'/'.$subdir.'/tn/tn_001.jpg') ) { header("location: ./?error=404"); } } // If navigated to the "Contact Webmaster" page else if ( $_GET['nav'] == "contact" ) { // Make a cookie with the users resolution-info $callget_res_page_name = $REQUEST_URI; $GLOBALS[callget_res_page_name] = $callget_res_page_name; include("script_get_resolution.php"); // If no errors have been reported if ( !$_GET['error'] ) { print "
Contact webmaster
\n"; print "
\n"; print "
Here you can send the webmaster messages. This feature have been added by the webmaster to receive feedback on the site. If you have any questions please use this feature.

Please note that you need to submit your real E-mail-address, so the webmaster can get back to you on the matter. Your E-mail-address will be hidden, handled with caution, and will not be kept for any reasons.

\n"; print "
\n"; print "
\n"; print "
\n"; print "
\n"; print "\n"; print "
\n"; print "
\n"; print "
\n"; print "
\n"; } else if ( isset($_GET['error']) ) { print "
Contact webmaster - Error
\n"; if ( $_GET['status'] == "success" ) { print "
print "
You have to write a valid E-mail-address, so the webmaster have the possibility to write you back on the issue.
Please note that your E-mail-address will not be shared, saved or misused in any form.
\n"; print "
\n"; } else if ( $_GET['status'] == "error" ) { print "
print "
Your message was successfully sent and the webmaster will contact you on the matter as quick as possible.
\n"; print "
\n"; } } } print "\n"; ?>