echo '<div id="phocagallery" class="pg-detail-view' . $this->params->get('pageclass_sfx') . '">'; if ($this->tmpl['backbutton'] != '') { echo $this->tmpl['backbutton']; } echo '<table border="0" style="width:' . $this->tmpl['boxlargewidth'] . 'px;height:' . $this->tmpl['boxlargeheight'] . 'px;">' . '<tr>' . '<td colspan="5" class="pg-center" align="center" valign="middle">' . $this->item->videocode . '</td>' . '</tr>'; $titleDesc = ''; if ($this->tmpl['displaytitleindescription'] == 1) { $titleDesc .= $this->item->title; if ($this->item->description != '' && $titleDesc != '') { $titleDesc .= ' - '; } } // Standard Description if ($this->tmpl['displaydescriptiondetail'] == 1) { echo '<tr>' . '<td colspan="6" align="left" valign="top" height="' . $this->tmpl['descriptiondetailheight'] . '">' . '<div style="font-size:' . $this->tmpl['fontsizedesc'] . 'px;' . 'height:' . $this->tmpl['descriptiondetailheight'] . 'px;padding:0 20px 0 20px;' . 'color:' . $this->tmpl['fontcolordesc'] . '">' . $titleDesc . $this->item->description . '</div>' . '</td>' . '</tr>'; } if ($this->tmpl['detailbuttons'] == 1) { echo '<tr>' . '<td align="left" width="30%" style="padding-left:48px">' . $this->item->prevbutton . '</td>' . '<td align="center"></td>' . '<td align="center">' . str_replace("%onclickreload%", $this->tmpl['detailwindowreload'], $this->item->reloadbutton) . '</td>'; if ($this->tmpl['detailwindow'] == 4 || $this->tmpl['detailwindow'] == 5 || $this->tmpl['detailwindow'] == 7) { } else { echo '<td align="center">' . str_replace("%onclickclose%", $this->tmpl['detailwindowclose'], $this->item->closebutton) . '</td>'; } echo '<td align="right" width="30%" style="padding-right:48px">' . $this->item->nextbutton . '</td>' . '</tr>'; } echo '</table>'; echo $this->loadTemplate('rating'); if ($this->tmpl['detailwindow'] == 7) { PhocaGalleryUtils::footer(); } echo '</div>'; }
echo $map->setDisableDoubleClickZoomOpt(0) . ',' . "\n"; echo $map->setMapTypeOpt() . "\n"; echo $map->endOptions(); echo $map->setMap(); foreach ($this->categories as $category) { if (isset($category->longitude) && $category->longitude != '' && $category->longitude != 0 && (isset($category->latitude) && $category->latitude != '' && $category->latitude != 0)) { if ($category->geotitle == '') { $category->geotitle = $category->title; } $extCategory = PhocaGalleryImage::isExtImage($category->extid); if ($extCategory) { $correctImageRes = PhocaGalleryPicasa::correctSizeWithRate($category->extw, $category->exth, $this->tmpl['picasa_correct_width'], $this->tmpl['picasa_correct_height']); $imgLink = JHtml::_('image', $category->linkthumbnailpath, str_replace('»', '-', $category->title), array('width' => $correctImageRes['width'], 'height' => $correctImageRes['height'])); } else { $imgLink = JHtml::_('image', $category->linkthumbnailpath, $category->geotitle); } $text = '<div style="text-align:left">' . '<table border="0" cellspacing="5" cellpadding="5">' . '<tr>' . '<td align="left" colspan="2"><b><a href="' . $category->link . '">' . $category->geotitle . '</a></b></td>' . '</tr>' . '<tr>' . '<td valign="top" align="left"><a href="' . $category->link . '">' . $imgLink . '</a></td>' . '<td valign="top" align="left">' . PhocaGalleryText::strTrimAll(addslashes($category->description)) . '</td>' . '</tr></table></div>'; // Markers $iconOutput = $map->setMarkerIcon(0); echo $iconOutput['js']; echo $map->setMarker($category->id, $category->geotitle, $category->description, $category->latitude, $category->longitude, $iconOutput['icon'], $text); echo $map->setListener(); } } echo $map->endMapF(); echo $map->setInitializeF(); ?> //]]></script><?php } echo '<div> </div><div>' . PhocaGalleryUtils::footer() . '</div></div>';