Here you see a virtual tour of Bomax

"; $sDir = "virtualtour/"; $oDir = dir($sDir); $mappen = array(); while(($sCurrent = $oDir->read()) !== false) { if(is_dir($sDir.$sCurrent)) { if($sCurrent != ".." AND $sCurrent != ".") { $mappen[] = $sCurrent; } } } natcasesort($mappen); $mappen_reverse = array_reverse($mappen); echo ""; } elseif(isset($_GET['dir']) AND isset($_GET['file'])) { $file_title = explode(".", $_GET['file']); echo "
"; echo "\""

Back to the gallery

"; } else { echo "

" . ucfirst(stripslashes($_GET['dir'])) . "

"; $handle = opendir('virtualtour/' . stripslashes($_GET['dir']) . '/'); ?>
"; while(false!==($file = readdir($handle))) { if($file != "." AND $file != ".." AND $file != "Thumbs.db") { $ext = explode(".",$file); if($ext[1] == "gif") { $ext[1] = "jpg"; } $file_title = explode(".", $_GET['file']); echo " \""\n"; } } ?>


Back to the index

"; } ?>