columns > 1 ? ' style="float:left;width:100%;"' : '') .'>';
if( $config->show_menutitle || $config->columns > 1 ) { // each menu gets a separate list
foreach( $root as $menu ) {
if( $config->columns > 1 ) // use columns
echo '
';
if( $config->show_menutitle ) // show menu titles
echo '';
echo JoomapHtml::getHtmlList( $menu->tree, $exlink );
if( $config->columns > 1 )
echo "
\n";
}
if( $config->columns > 1 )
echo '
';
} else { // don't show menu titles, all items in one big tree
$tmp = array();
foreach( $root as $menu ) { // concatenate all menu-trees
foreach( $menu->tree as $node ) {
$tmp[] = $node;
}
}
echo JoomapHtml::getHtmlList( $tmp, $exlink );
}
//BEGIN: Advertisement
if( $config->includelink ) {
$keywords = array('Webdesign', 'Software Anpassung', 'Software Entwicklung', 'Programmierung');
$location = array('Iserlohn', 'Hagen', 'Dortmund', 'Ruhrgebiet', 'NRW');
$advert = $keywords[mt_rand() % count($keywords)].' '.$location[mt_rand() % count($location)];
echo "
$advert";
}
//END: Advertisement
echo "