Geistliche Begleitung

Geistliche Begleiter und Begleiterinnen gehen den persönlichen Weg des Einzelnen mit. Dabei kann das ganze Leben mit all seinen Ereignissen, Schwierigkeiten und Freuden in aller Freiheit zur Sprache gebracht werden. | Mehr erfahren

nitialization defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.'); cInclude('classes', 'contenido/class.template.php'); cInclude('classes', 'contenido/class.containerconfig.php'); $mod_cfg = array(); $mod_cfg['tpl_container'] = 20; $mod_cfg['tpl_number'] = 0; $mod_cfg['order'] = 'publisheddate'; $mod_cfg['direction'] = 'DESC'; $mod_cfg['limit'] = 1; $mod_cfg['imgWidth'] = 200; $mod_cfg['imgHeight'] = 300; // get client settings $rootIdcat = getEffectiveSetting('navigation', 'idcat_homepage', 1); $depth = getEffectiveSetting('navigation', 'depth', 3); // get category tree $categoryHelper = cCategoryHelper::getInstance(); $categoryHelper->setAuth(cRegistry::getAuth()); $tree = $categoryHelper->getSubCategories($rootIdcat, $depth); // get path (breadcrumb) of current category function navigation_top_filter(cApiCategoryLanguage $categoryLanguage) { return $categoryLanguage->get('idcat'); } $path = array_map('navigation_top_filter', $categoryHelper->getCategoryPath(cRegistry::getCategoryId(), 1)); function getCatTeaserArt() { global $tree, $mod_cfg, $cfgClient, $client; foreach($tree as $key => $val) { if($val['level'] == 1) { $fIdcat = $val['item']->values['idcat']; $idtplcfg = $val['item']->values['idtplcfg']; // Vars $tplCnf = new cApiContainerConfigurationCollection(); $ArtTplCnf = $tplCnf->getByTemplateConfiguration($idtplcfg); $fArtTplCnf = array(); parse_str($ArtTplCnf[$mod_cfg['tpl_container']], $fArtTplCnf); $articleCatID = $fArtTplCnf[$mod_cfg['tpl_number']]; if($articleCatID) { $options = array( 'idcat' => $articleCatID, 'start' => false, 'order' => $mod_cfg['order'], 'direction' => $mod_cfg['direction'], 'limit' => $mod_cfg['limit'] ); $fArticles = new cArticleCollector(); $fArticles->setOptions($options); $fArticles->loadArticles(); $articles = array(); $i = 0; while($art = $fArticles->nextArticle()) { // Get Image $imgId = ''; $image = ''; $imgId = $art->getContent("cms_imgeditor", 1); if ((int) $imgId > 0) { $upload = new cApiUpload($imgId); $image = $cfgClient[$client]['path']['htmlpath'] . 'upload/' . $upload->get('dirname') . $upload->get('filename'); } $linkTarget = ""; $manLink = $art->getContent("cms_linkeditor", 1); $xml = simplexml_load_string( $manLink,'SimpleXMLElement', LIBXML_NOCDATA ); $json = json_encode( $xml ); $manLink = json_decode( $json, TRUE ); if ($manLink['type'] == 'internal') $fManLink = "/".$manLink['idart']; elseif ($manLink['type'] == 'file') $fManLink = $cfgClient[$client]['upl']['htmlpath'].$manLink['filename']; else $fManLink = $manLink['externallink']; if ($manLink['newwindow'] == 'true') $linkTarget = " target=\"_blank\""; list($pubDate, $pubTime) = explode(' ', $art->getField("published")); $tree[$key]['previewArticle'] = array( 'idart' => $art->getField('idart'), 'pubDate' => $art->getField("published"), 'date' => date("d.m.Y",strtotime($pubDate)), 'date2' => utf8_encode(strftime("%d. %b",strtotime($pubDate))), 'day' => utf8_encode(strftime("%A",strtotime($pubDate))), 'year' => date("Y",strtotime($pubDate)), 'time' => date("H:m",strtotime($pubTime)), 'dateformat' => date( "Y-m-d",strtotime($pubDate)), 'title' => strip_tags($art->getContent("cms_htmlhead", 1)), 'link' => $fManLink, 'linktarget' => $linkTarget, 'description' => strip_tags($art->getContent("cms_html", 1), "|"), 'image' => array( 'orig' => $image, 'thumb' => cApiImgScaleHQ(str_replace($cfgClient[$client]['path']['htmlpath'], '', $image), $mod_cfg['imgWidth'], $mod_cfg['imgHeight']) ), 'isManArt' => true, 'content' => $art->content, 'fields' => $art->values, 'readmore_link' => "/".$art->getField('idart') ); } } } } } getCatTeaserArt(); // use template to display navigation $tpl = cSmartyFrontend::getInstance(); $tpl->assign('tree', $tree); $tpl->assign('path', $path); $tpl->display('get.tpl'); ?>

Themen und Partnerportale