back

'; } //----------------------- if (!$bundle && !$kuenstler && !$kid && !$bid) $kuenstler = 1; if ($kid || $kuenstler) $db = "pd_kuenstler"; else $db = "pd_bundle"; if ($kuenstler) { $query = "SELECT * FROM $db order by kname"; $result = safe_query($query); while ($row = mysql_fetch_object($result)) { $nm = $row->kname; $kid = $row->kid; echo '
  '.$nm.'  

'; } } elseif ($kid && !$bid) { //BACK $blink = "index.php?kuenstler=1"; bform ($blink); // $query = "SELECT * FROM $db WHERE kid=$kid"; $result = safe_query($query); $row = mysql_fetch_object($result); $nm = $row->kname; $bio = $row->bio; $www = $row->internet; // echo '
  '.$nm.' '.$www.'  

'; $query = "SELECT bname, bid, covertn FROM pd_bundle WHERE kid=$kid"; $result = safe_query($query); while ($row = mysql_fetch_object($result)) { $nm = $row->bname; $id = $row->bid; if($id){ echo ' '; } $row = mysql_fetch_object($result); $nm = $row->bname; $id = $row->bid; if($id){ echo ' '; } } echo '
  Discography
 '.$nm.'   '.$nm.'
  

  Biography
  '.nl2br($bio).'  

'; } elseif ($bid) { //BACK $blink = "index.php?kid=$kid"; bform ($blink); // $query = "SELECT * FROM pd_bundle b, pd_bundle_art ba WHERE bid=$bid AND b.aid=ba.aid"; $result = safe_query($query); $row = mysql_fetch_object($result); $nm = $row->bname; $art = $row->art; $jahr = $row->jahr; $titel = $row->titel; $order = $row->order; echo '
'; if($titel) { echo ''; } echo '
  '.$nm.'  
 

Releasedate
'.datum($jahr).'

Kind
'.$art.'

'; if($order) { echo 'Buy online
Amazon '; } echo '
Tracklist

'.ereg_replace("\n", "\n
", $titel).'
'; } ?>