set_cred($servername,$dbusername,$dbpassword); $db->db_connect(); $db->select_db($dbname); $data = new Sitecontrol($db); $katimage = $data->get_katimage($_GET['id']); /*$katname = $data->getnamefromkat($_GET['id'], $lang); $katloopdata = $data->getsistersbyid($_GET['id'], $lang); $katlooparray = array(); while ($row = mysql_fetch_array($katloopdata)){ array_push($katlooparray, array($row["id"], $row["name"])); } for ($i=0; $i < count($katlooparray); $i++){ if ($katlooparray[$i][0] == $_GET['id']){ if($i==0){ $prelink = $katlooparray[(count($katlooparray)-1)][1]; $prelinkid = $katlooparray[(count($katlooparray)-1)][0]; $nextlink = $katlooparray[$i+1][1]; $nextlinkid = $katlooparray[$i+1][0]; }elseif ($i == count($katlooparray)-1) { $prelink = $katlooparray[$i-1][1]; $prelinkid = $katlooparray[$i-1][0]; $nextlink = $katlooparray[0][1]; $nextlinkid = $katlooparray[0][0]; }else{ $prelink = $katlooparray[$i-1][1]; $prelinkid = $katlooparray[$i-1][0]; $nextlink = $katlooparray[$i+1][1]; $nextlinkid = $katlooparray[$i+1][0]; } } } */ If (!$_GET["pos"]){ $pos=1; $_GET["pos"] = 1; }else{ $pos=$_GET["pos"]; } $pagedata = $data->getmultipagepage($_GET['id'],$pos ); $pagedata = extract(mysql_fetch_array($pagedata)); $getpagenum = $data->getpagenum($_GET['id']); if ($_GET["pos"] == 1){ $nextpos = ($_GET["pos"]+1); $prevpos = $getpagenum; }elseif ($_GET["pos"] == $getpagenum ){ $nextpos = 1; $prevpos = ($_GET["pos"]-1); }else{ $nextpos = ($_GET["pos"]+1); $prevpos = ($_GET["pos"]-1); } if ($getpagenum ==1){ $nextpos = 1; $prevpos = 1; } if ($_SESSION['lang'] == 'DE'){ $image_lo = $imageDE_lo; $image_r = $imageDE_r; $image_l = $imageDE_l; $text_l = $TextDE_l; $text_lu = $TextDE_lu; $text_r = $TextDE_r; } if ($_SESSION['lang'] == 'EN'){ $image_lo = $imageEN_lo; $image_r = $imageEN_r; $image_l = $imageEN_l; $text_l = $TextEN_l; $text_lu = $TextEN_lu; $text_r = $TextEN_r; } if ($image_lo){ $image_lo = 'Ilse Schrottenbach'; } if ($image_l){ $image_l = 'Ilse Schrottenbach'; } if ($image_r != ''){ $content = 'Ilse Schrottenbach'; }else{ $content = '
'.$text_r.'
'; } if ($_SESSION['lang'] == "DE"){ $katname = "IMPRESSUM"; $linkbak = "‹ ZURÜCK ZUR ÜBERSICHT" ; $linkimpressum = "IMPRESSUM"; }else{ $katname = "IMPRINT"; $linkbak = "‹ BACK TO OVERVIEW" ; $linkimpressum = "IMPRINT"; } ?> Ilse Schrottenbach
 
 
  << / >>  
HOME |