echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> <tbody> <?php $k = 0; for ($i = 0, $n = count($this->rows); $i < $n; $i++) { $row = $this->rows[$i]; if (!$row->title) { $row->title = "<font class=\"emptyEntry\">" . JText::_('COM_JTG_NO_TITLE') . "</font>"; } $link = JRoute::_('index.php?option=com_jtg&view=files&layout=file&id=' . $row->id, false); $profile = JtgHelper::getProfileLink($row->uid, $row->user); $cat = JtgHelper::parseMoreCats($this->sortedcats, $row->catid, "list", true); $terrain = JtgHelper::parseMoreTerrains($this->sortedter, $row->terrain, "list", true); $hits = JtgHelper::getLocatedFloat($row->hits); $layoutHelper = new LayoutHelper(); $votes = $layoutHelper->parseVoteFloat($row->vote, true); $links = null; if (!$row->distance) { $row->distance = 0; } if ($this->cfg->unit == "Miles") { $distance = JtgHelper::getLocatedFloat(JtgHelper::getMiles($row->distance, "-", "Miles")); } else { $distance = JtgHelper::getLocatedFloat($row->distance, "-", "km"); } if ($profile != "") { $profile .= " ";
$delete = JTExt::_('delete'); $edit = "title=\"" . $edit . "\" alt=\"" . $edit . "\""; $delete = "title=\"" . $delete . "\" alt=\"" . $delete . "\""; $k = 0; for ($i = 0, $n = count($this->rows); $i < $n; $i++) { $row = $this->rows[$i]; $terrain = JtgHelper::parseMoreTerrains($this->sortedter, $row->terrain, "array"); $terrain = implode(", ", $terrain); if ($this->cfg->unit == "Miles") { $distance = JtgHelper::getLocatedFloat(JtgHelper::getMiles($row->distance, "-", "Miles")); } else { $distance = JtgHelper::getLocatedFloat($row->distance, "-", "km"); } $votes = LayoutHelper::parseVoteFloat($row->vote); $link = JRoute::_('index.php?option=com_jtg&view=files&layout=file&id=' . $row->id, false); $cats = JtgHelper::parseMoreCats($this->cats, $row->catid, "array"); $cats = implode(", ", $cats); ?> <tr class="sectiontableentry<?php echo $k; ?> "> <td align="center"><?php echo $this->pagination->getRowOffset($i); ?> <a href="index.php?option=com_jtg&view=files&layout=form&id=<?php echo $row->id; ?> "> <img <?php
echo JText::_('COM_JTG_HITS'); ?> :</td> <td><?php echo $this->track->hits; ?> </td> </tr> <tr> <td><?php echo JText::_('COM_JTG_CATS'); ?> :</td> <td colspan="2"><?php $JtgHelper = new JtgHelper(); echo $JtgHelper->parseMoreCats($this->sortedcats, $this->track->catid, "TrackDetails", true); ?> </td> </tr> <tr> <td><?php echo JText::_('COM_JTG_BIG_MAP'); ?> :</td> <td colspan="2"><a rel="width[1000];height[700];" class="jcebox" href="http://maps.google.com/maps?q=<?php echo $this->track->start_n . "," . $this->track->start_e; ?> " target="_blank">Google</a>, <a rel="width[1000];height[700];" class="jcebox"