'); $query = "SELECT * FROM Impress WHERE eid=".$num.";"; $arowid = mysql_query($query); if ($arow = mysql_fetch_array($arowid)) { print('

'.$arow["Name"].'



'.$arow["Beschr"].'


Zum Anschauen auf das Bild klicken.         [ zurück ]

');} print('
'); // query the database $query = "SELECT * FROM Fotos WHERE NOT(Hide) AND ImpEid=".$num." ORDER BY InDatum desc;"; $arowid = mysql_query($query); $entriesCount = mysql_num_rows($arowid); // are there any entries? if (($arowid == 0) || (mysql_num_rows($arowid) == 0)) { print("

keine Einträge

"); }else { mysql_data_seek($arowid, 0); $nr = 0; while ($nr < $entriesCount ) { if (!$arow = mysql_fetch_array($arowid)) break; if($arow["Hide"]==0){ print('
'); $FtGr = ($arow["Fotogr"] == "") ? "" :'
Foto: '.htmlentities($arow["Fotogr"],ENT_QUOTES, ""); $JFS = $arow["UrlBig"]; //$JFS = str_replace("upload/Pic/" , "upload/Pic/JFS" , $JFS ); print(''); //print('

'); // print(''.$arow["Beschr"].''); print('
'); } $nr++; } print('
'); $Bquery = "select * from media where NOT(Hide) AND ImpEid = ".$num." ORDER BY InDatum desc;"; $browid = mysql_query($Bquery); $bentriesCount = mysql_num_rows($browid); // are there any entries? if (($browid == 0) || (mysql_num_rows($browid) == 0)) { // print("

keine Einträge

"); }else { print('
Musik und Videos : '); mysql_data_seek($browid, 0); $nr = 0; while ($nr < $bentriesCount ) { $brow = mysql_fetch_array($browid); print('
'); print(''.$brow["Titel"].'" rev="width: '.($brow["width"] + 55).'px; height: '.($brow["height"] + 64).'; scrolling: no;">
'.$brow["Interpret"].'

'.$brow["Titel"].'
'); }else{ print('http://img.youtube.com/vi/'.$brow["UrlMed"].'/2.jpg'); print('" style="width: 100px; height: 75px; ">
'.$brow["Interpret"].'

'.$brow["Titel"].'
'); } print('
'); $nr++; } print('
'); } mysql_data_seek($arowid, 0); if ($arow = mysql_fetch_array($arowid)){ if($arow["Hide"]==0){ //print(' //
'); // print('

'); // print('

'.$arow["Beschr"].'

'); // print('
'); } } print(' '); } } /*------------------------ ------------------------*/ /*------------------------ Main ------------------------*/ /*------------------------ ------------------------*/ global $scriptname, $entriesPerPage, $GFrom; // Start PHP Session; note ini_set("session.use_trans_sid", "1"); session_start(); // Turn off magic quotes set_magic_quotes_runtime(0); require("Jock/ThePage.inc"); require("Jock/php3guestrc.php"); // Get GET, POST, COOKIE Variables; init Session initSession(); importVariables(); // Print page header print($pageHeader1); print('Fotos'); print('
'); print('

Fotos und Videos

'); print($pageHeader3); $scriptname = "Galerie.php"; $entriesPerPage = 15; openDatabase(); switch ($act) { // view Galerie entry case "showI" : showI(); break; // Artikel listen default : viewPr(); break; } print($pageFooter);