'; echo ('
'.$languageTITLE.'
'); if (isset($_GET['todo'])) $todo=$_GET['todo']; if(isset($_POST['todo'])) $todo=$_POST['todo']; if (!isset($todo)) $todo='showalben'; switch ($todo) { case 'showalbum': if (isset($_POST['album'])) showalbum($_POST['album']); else showalbum($_GET['album']); break; case 'showalben': showGallery($albenurl); break; case 'showPicture': showPicture($_GET['stelle'],$_GET['album']); break; case 'writeComment': writeComment($_POST['stelle'],$_POST['album'],$_POST['comment'],$_POST['username']); break; case 'startslideshow': $stelle=$_GET['stelle']; $album=$_GET['album']; $zeit=$_GET['zeit']; showPicture($stelle,$album); slideshow($stelle,$album,$zeit); break; case 'stopslideshow': showPicture($_GET['stelle'],$_GET['album']); break; case 'securealbum': $codefile='code.php'; include $codefile; if ($_POST['passwort']==$code) { $_SESSION['album']=$_POST['album']; showalbum($_POST['album']); } else echo('
'.$languageWRONGPW.'
'); break; } echo (' '); ?>