Shadow
$length) { $length -= strlen($etc); if (!$break_words) $string = preg_replace('/\s+?(\S+)?$/', '', substr($string, 0, $length +1)); return substr($string, 0, $length).$etc; } else return $string; } } function ModulPrintCatList($categories, $printArticles, $printStartArticles, $showText) { $TEXT_LENGTH = 150; if(is_array($categories) && count($categories) > 0) { echo ''; } } // START Root Categories // $categories = OOCategory::getRootCategories(); if (is_array($categories) && count($categories) > 0){ ModulPrintCatList($categories, ("" == "show_articles"), ("start_articles" == "start_articles"), ("" == "show_text")); } //Typen Selekktieren $adr_sql = new rex_sql; $adr_query = 'SELECT * FROM geoItems_type_filles'; $adr_sql->setQuery($adr_query); for($i=0;$i<$adr_sql->getRows();$i++) { $extendNav[] =array('id' => $adr_sql->getValue('group_id'), 'name' => $adr_sql->getValue('group_title'), 'url_title' => $adr_sql->getValue('url_title') ); $adr_sql->next(); } for($i=0;$isetQuery($isl_query); for($u=0;$u<$isl_sql->getRows();$u++) { $extendNav[$i]['islands'][] = $isl_sql->getValue('island'); $isl_sql->next(); } } $replaceAd .= ''; echo $replaceAd; ?>