\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 "
"; else 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"); } } print "\n"; ?>