fetch(); $page_id[0] = $start['id']; } $aktdat = mktime(); // $footer_data = Query("select * from ".$DB_PFX."_struktur where kat = 5 and typ=2 order by sort"); $menu1_data = Query("select * from ".$DB_PFX."_struktur where (kat = 49 and status = 2) order by sort"); ################# Dierig Addon ################## if(!$page_id[1]){ $content_data = Query("select * from ".$DB_PFX."_content where page_id = {$page_id[0]} order by sort"); $content_addon_data = Query("select * from ".$DB_PFX."_page_addons where page_id = {$page_id[0]} order by id"); }else{ $content_data = Query("select * from ".$DB_PFX."_content where page_id = {$page_id[1]} order by sort"); $content_addon_data = Query("select * from ".$DB_PFX."_page_addons where page_id = {$page_id[1]} order by id"); } while($content_addon = $content_addon_data->fetch()){ $boxzahl = $content_addon['name']; if($content_addon['name'] ==7) { $boxsitename = $content_addon['wert_varchar']; }else{ $boxname = 'box'.$boxzahl; if($content_addon['name'] == $boxzahl){ $farbcode = strstr($content_addon['wert_varchar'],'#'); if($farbcode != false){ $farbe[$boxname] = 'style="background-color:'.$content_addon['wert_varchar'].'"';}else{ $urlcheck = valid_url($content_addon['wert_varchar']); if($urlcheck != 'fehler'){ $url[$boxname] = $urlcheck; $zoomiurl = str_replace('.jpg','/',$urlcheck); $zoomiurl = str_replace('http://web11.lx12.ihr-host.de/','/',$zoomiurl); $linkurl[$boxname] = CONF_rootpath.'ext/zoomify/zoomify.php?zoomify_pic='.$zoomiurl.'&TB_iframe=true&height=455&width=755&KeepThis=true'; }} $realurl[$boxname] = $content_addon['wert_url']; }}} $content_katsel_data = Query("select kat from ".$DB_PFX."_struktur where id = {$page_id[0]} order by sort"); $content_katsel = $content_katsel_data->fetch(); $content_katsel = $content_katsel['kat']; $content_katsel2_data = Query("select ukat from ".$DB_PFX."_struktur where id = $content_katsel order by sort"); $content_katsel2 = $content_katsel2_data->fetch(); $content_katsel2 = $content_katsel2['ukat']; ###### Berechnung vor und zurückpfeile ################## $zahlplus =1; // hauptmenu id der jeweiligen sprache = content_katsel2 if($content_katsel2 == 49) { $content_kat_data = Query("select * from ".$DB_PFX."_struktur where kat = $content_katsel order by sort"); while($content_kat = $content_kat_data->fetch()){ $pfeillinks[$zahlplus] =$content_kat['id']; if($content_kat['id'] == $page_id[0]){ $pfeileaktiv =1; $jetztzahl = $zahlplus; } $zahlplus = $zahlplus+1; } $vorzahl = $jetztzahl -1; $weiterzahl = $jetztzahl +1; $zahlletzte = $zahlplus -1; $pfeillinksvor = $pfeillinks[$vorzahl]; if(!$pfeillinksvor) { $pfeillinksvor = $pfeillinks[$zahlletzte]; } $pfeillinksweiter = $pfeillinks[$weiterzahl]; if(!$pfeillinksweiter) { $pfeillinksweiter = $pfeillinks[1]; } } if($content_katsel ==75) { $zuid = 70; } if($content_katsel ==72) { $zuid = 71; } if($content_katsel ==81) { $zuid = 80; } if($content_katsel ==85) { $zuid = 86; } if($content_katsel ==93) { $zuid = 92; } ################# Dierig Addon ################## while ($content1 = $content_data->fetch()){ if($content1['modul'] == 'news'){ $content_id = $content1['content_id']; $news_data = Query("select * from ".$DB_PFX."_news where kat = $content_id and datum <= $aktdat and (abldat >= $aktdat or abldat =0) order by datum DESC"); $content.= ''; while ($news = $news_data->fetch()) { $content .= ''; } $content .= '
n1

'.date(d.'.'.m.'.'.Y,$news['datum']).'

'.$news['name'].'

'.$news['inhalt'].'

   
'; } if($content1['modul'] == 'downloads'){ $content_id = $content1['content_id']; $news_data = Query("select * from ".$DB_PFX."_downloads where kat = $content_id order by id DESC"); $content .= '
Downloads
'; while ($news = $news_data->fetch()) { $content .= '
'.$news['name'].'
';} } if($content1['modul'] == 'links'){ $content_id = $content1['content_id']; $news_data = Query("select * from ".$DB_PFX."_links where kat = $content_id"); $news_data2 = Query("select * from ".$DB_PFX."_links where kat = 15"); $news_data3 = Query("select * from ".$DB_PFX."_links where kat = 16"); $content .= ''; while ($news = $news_data->fetch()) { $content .=''; } $content .= '
Deutschland
'.$news['name'].' '.$news['url'].'


'; $content .= ' '; while ($news = $news_data2->fetch()) { $content .=''; } $content .= '
Österreich
'.$news['name'].' '.$news['url'].'


'; $content .= ' '; while ($news = $news_data3->fetch()) { $content .=''; } $content .= '
Schweiz
'.$news['name'].' '.$news['url'].'


'; } if(!$content1['modul'] and $content1['content']){ $content .= $content1['content']; } if($content1['modul'] == "film"){ $flvplayer =1; $flvfile = $content1['content']; } } $content = ereg_replace('/!k_mover_popup!','javascript:anfahrt()',$content); ?> Andreas Dierig Glasgestaltung - fascinating unique items made of glass
id="box1">'; }else{ if($url['box1']){ echo ' '; }} ?>
id="box2">'; }else{ if($url['box2']){ echo ' '; }} ?>
id="box3">'; }else{ if($url['box3']){ echo ' '; }} ?>
Andreas Dierig Glasgestaltung
id="box4">'; }else{ if($url['box4']){ echo ' '; }} ?>
id="box5">'; }else{ if($url['box5']){ echo ' '; }} ?>
id="box6">'; }else{ if($url['box6']){ echo ' '; }} ?>

Flashplayer muss installiert sein um dieses Video zu sehen.