Termine in Chemnitz

´╗┐Leider keine Termine vorhanden


, a.idartlang AS idartlang FROM ".$cfg["tab"]["art_lang"]." AS a, ".$cfg["tab"]["cat_art"]." AS b, ".$cfg["tab"]["cat"]." AS c WHERE b.idcat = '".$db->f("idcat")."' AND c.idclient = '".$client."' AND c.idcat = b.idcat AND a.idart = b.idart AND a.idlang = '".$lang."'"; $db2->query($sql); #$db2->next_record(); $flag = false; while ($db2->next_record()&&!$flag) { if (isStartArticle($db2->f("idartlang"), $db->f("idcat"), $lang)) { $flag = true; $target = ( $db2->f("ext") == 0 ) ? '_self' : '_blank'; $navitems[$db->f("idcat")] = array("idcat" => $db->f("idcat"), "name" => $db->f("name"), "public" => $db->f("public"), "idcatlang" => $db->f("idcatlang"), "target" => $target); } } } /* Create Navigation Array */ if(($sel_idcat=='')||($sel_idcat=='0')){ $cApiClient = new cApiClient($client); $sel_idcat = $cApiClient->getProperty('navigation', 'idcat_homepage'); } nav($sel_idcat); /* Start Output buffer */ ob_start(); foreach ($navitems as $key => $data) { /* 1. Navigation level */ if (checkCatPermission($data['idcatlang'],$data['public'])) { $tpl->reset(); $tpl->set('d', 'NAME', $data['name']); $tpl->set('d', 'TARGET', $data['target']); $tpl->set('d', 'HREF', $sess->url('/'.$data['idcat'])); $tpl->next(); if ($idcat == $data['idcat']) { $tpl->generate('templates/navfirst_on.html'); }elseif(is_array($data['sub'])){ $tpl->generate('templates/navfirst_open.html'); } else { $tpl->generate('templates/navfirst_off.html'); } /* 2. Navigation level */ if (is_array($data['sub'])) { foreach ($data['sub'] as $key => $data) { if (checkCatPermission($data['idcatlang'],$data['public'])) { $tpl->reset(); $tpl->set('d', 'NAME', $data['name']); $tpl->set('d', 'TARGET', $data['target']); $tpl->set('d', 'HREF', $sess->url('/'.$data['idcat'])); $tpl->next(); if ($idcat == $data['idcat']) { $tpl->generate('templates/navsecond_on.html'); }elseif(is_array($data['sub'])){ $tpl->generate('templates/navsecond_open.html'); } else { $tpl->generate('templates/navsecond_off.html'); } /* 3. Navigation level */ if (is_array($data['sub'])) { foreach ($data['sub'] as $key => $data) { if (checkCatPermission($data['idcatlang'],$data['public'])) { $tpl->reset(); $tpl->set('d', 'NAME', $data['name']); $tpl->set('d', 'TARGET', $data['target']); $tpl->set('d', 'HREF', $sess->url('/'.$data['idcat'])); $tpl->next(); if ($idcat == $data['idcat']) { $tpl->generate('templates/navthird_on.html'); }elseif(is_array($data['sub'])){ $tpl->generate('templates/navthird_open.html'); } else { $tpl->generate('templates/navthird_off.html'); } /* 4. Navigation level */ if (is_array($data['sub'])) { foreach ($data['sub'] as $key => $data) { if (checkCatPermission($data['idcatlang'],$data['public'])) { $tpl->reset(); $tpl->set('d', 'NAME', $data['name']); $tpl->set('d', 'TARGET', $data['target']); $tpl->set('d', 'HREF', $sess->url('/'.$data['idcat'])); $tpl->next(); if ($idcat == $data['idcat']) { $tpl->generate('templates/navfourth_on.html'); }elseif(is_array($data['sub'])){ $tpl->generate('templates/navfourth_open.html'); } else { $tpl->generate('templates/navfourth_off.html'); } /* 5. Navigation level */ if (is_array($data['sub'])) { foreach ($data['sub'] as $key => $data) { if (checkCatPermission($data['idcatlang'],$data['public'])) { $tpl->reset(); $tpl->set('d', 'NAME', $data['name']); $tpl->set('d', 'TARGET', $data['target']); $tpl->set('d', 'HREF', $sess->url('/'.$data['idcat'])); $tpl->next(); if ($idcat == $data['idcat']) { $tpl->generate('templates/navfifth_on.html'); } else { $tpl->generate('templates/navfifth_off.html'); } } // end if } // end foreach } // end if } // end if } // end foreach } // end if } // end if } // end foreach } // end if } // end if } // end foreach } // end if } // end if } // end foreach /* Read out buffer */ $html = ob_get_contents(); /* Clean buffer */ ob_end_clean(); /* Output buffer-contents */ echo $html; ?>
RSS-Feed | Newsletter | Sitemap | Impressum | Datenschutz