'; echo 'Galerien von SiN decade'; echo '
'; $abfrage = mysql_query("SELECT id FROM media_gallery"); $menge = mysql_num_rows($abfrage); echo 'Galerien: '.$menge.''; echo '
'; echo "
"; echo "
"; echo 'Videos von SiN decade'; echo '
'; $abfrage = mysql_query("SELECT id FROM media_youtube"); $menge = mysql_num_rows($abfrage); echo 'Videos: '.$menge.''; echo '
'; echo "
"; echo "
"; echo 'Presseinformationen von SiN decade'; echo '
'; $abfrage = mysql_query("SELECT id FROM media_dateien"); $menge = mysql_num_rows($abfrage); echo 'Downloads: '.$menge.''; echo '
'; echo '
'; } ?>
Übersicht Galerien'; echo '
'; $abfrage = "SELECT id, path, name, DATE_FORMAT(datum, '%d.%m.%Y') AS datum FROM media_gallery ORDER by id DESC"; $ergebnis = mysql_query($abfrage); while($row = mysql_fetch_object($ergebnis)) { echo "

path."/>".$row->name."

"; $thumbs = "images/gallery/".$row->path."/thumbs/"; $ext = ".jpg"; $verzeichnis = openDir($thumbs); $i = 1; $anzahl = 3; while ($file = readDir($verzeichnis)) { if ($file != "." && $file != "..") { echo '
'; if($i == $anzahl) { break; } } $i++; } closeDir($verzeichnis); echo "
"; echo "
"; echo "
"; echo "
"; echo "
"; echo "
"; } echo "
"; } if(isset($galerie)) { $abfrage = "SELECT id, path, name, DATE_FORMAT(datum, '%d.%m.%Y') AS datum FROM media_gallery WHERE path = '$galerie'"; $ergebnis = mysql_query($abfrage); while($row = mysql_fetch_object($ergebnis)) { echo '

'.$row->name.'

'; echo '
'; echo "

path."/>".$row->name."

"; echo "
\n"; $dir = "images/gallery/".$row->path."/"; } $ext = ".jpg"; $verzeichnis = openDir($dir); while ($file = readDir($verzeichnis)) { if ($file != "." && $file != ".." && $file != "thumbs") { echo '
'; } } closeDir($verzeichnis); echo " 
"; echo " 
"; echo " 
"; echo " 
"; } } elseif($id == presse) { echo "

Presseinformationen

"; echo ''; echo ''; $abfrage = "SELECT id, name, kategorie, groesse, ordner FROM media_dateien ORDER by name"; $ergebnis = mysql_query($abfrage); while($row = mysql_fetch_object($ergebnis)) { echo ""; } else { echo "
kategorie.".png\"/>"; } echo "
"; echo ""; echo ''; } echo '
"; if($row->kategorie == "jpg") { echo "ordner."\" rel=\"lightbox[roadtrip]\">"; $ordner = $row->ordner; $thumbs = str_replace(".jpg","",$ordner); echo "
".$row->name."
ordner."\">Download
'; echo '
'; echo '
'; echo '
'; } elseif($id == youtube) { echo '

Videos von SiN decade

'; echo "
"; $abfrage = "SELECT id, titel, beschreibung, youtube_link FROM media_youtube ORDER by id DESC"; $ergebnis = mysql_query($abfrage); while($row = mysql_fetch_object($ergebnis)) { echo "

".$row->titel."

"; echo $row->beschreibung; echo "
"; echo "
"; echo ''; echo "youtube_link."?version=1&feature=player_detailpage\">"; echo ''; echo "youtube_link."?version=1&feature=player_detailpage\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowScriptAccess=\"always\" width=\"450\" height=\"274\">"; echo ''; echo "
"; echo "
"; echo "
"; echo "
"; } } if(!isset($id)) { echo '

Verschiedene Medien

'; echo '
'; echo '

Galerien von SiN decade

'; echo '
'; echo 'media1  media2  media3'; $abfrage = mysql_query("SELECT id FROM media_gallery"); $menge = mysql_num_rows($abfrage); echo "
"; echo 'Galerien: '.$menge.''; echo '
'; echo "
"; echo "
"; echo "
"; echo '

Videos von SiN decade

'; echo '
'; echo 'video1  video2  video3'; $abfrage = mysql_query("SELECT id FROM media_youtube"); $menge = mysql_num_rows($abfrage); echo "
"; echo 'Videos: '.$menge.''; echo '
'; echo "
"; echo "
"; echo "
"; echo '

Presseinformationen von SiN decade

'; echo '
'; echo 'presse1  presse2  presse3'; $abfrage = mysql_query("SELECT id FROM media_dateien"); $menge = mysql_num_rows($abfrage); echo "
"; echo 'Downloads: '.$menge.''; echo '
'; } echo '
'; ?>