// Selektoren für nächstes Level setzen counter++; toggler=$$(togglerName+counter); content=$$(contentName+counter); } }); } window.onload=activateaccordion; </script> <?php echo '<div id="hotelguide" class="hotelguide">' . "\n"; if ($this->hgconf->tag_adsense) { echo hg_html::showGoodleAdSense($this->hgconf->tag_publisher_id, $this->hgconf->tag_ad_slot, $this->hgconf->tag_ad_width, $this->hgconf->tag_ad_height); } if ($this->params->def('show_page_title', 1)) { echo '<h1 class="title_content">'; echo $this->params->get('page_title'); echo '</h1>' . "\n"; } if ($this->hgconf->tag_menu) { echo hgSelectHelper::ContinentMenu(); } echo '<div style="clear:both; margin-bottom:20px;"></div>' . "\n"; /* if (($this->hgconf->tag_search == 1) && ($this->hgconf->search_option == 1 || $this->hgconf->search_option == 2)) require(HOTELGUIDE_VIEWS.DS.'hotelguide'.DS.'tmpl'.DS.'default_search.php'); else if (($this->hgconf->tag_search == 1) && ($this->hgconf->search_option == 3 || $this->hgconf->search_option == 4)) require(HOTELGUIDE_VIEWS.DS.'hotelguide'.DS.'tmpl'.DS.'default_search_nocal.php');
} echo '<a href="' . $link . '" title="' . $sponsor->title . '">'; if ($sponsor->mainimage) { echo '<img style="margin: 0; border:1px solid #bbbbbb;" src="' . JURI::base() . 'images/hotelguide/gallery/hotel_' . $sponsor->id . '/crop/' . $sponsor->mainimage . '" width="120px" alt="' . $sponsor->title . '" /></a>' . "\n"; } else { echo '<img style="margin: 0; border:1px solid #cccccc;" src="' . JURI::base() . 'components/com_hotelguide/assets/images/no_image.gif" /></a>' . "\n"; } echo '</div>' . "\n"; echo '<div class="cap">' . "\n"; echo '<div class="captionbar">' . "\n"; echo '<a href="' . $link . '" title="' . $sponsor->title . '"><i>' . "\n"; echo JText::_($sponsor->title); echo '</i></a></div>' . "\n"; echo '</div>' . "\n"; echo '</div></div>' . "\n"; $i++; $n++; if ($total - $i == 0 && $n != $this->hgconf->no_sponsorrow) { echo '</div>' . "\n"; } if ($n == $this->hgconf->no_sponsorrow) { echo '</div>' . "\n"; $n = 0; } } echo '</div>' . "\n"; echo '</div>' . "\n"; if ($adsense) { echo '<div class="clear"></div>' . "\n"; echo hg_html::showGoodleAdSense($publisher_id, $ad_slot, $ad_width, $ad_height); }