// Show description if ($this->event->description != "") { echo MatukioHelperUtilsBasic::parseOutput(JHtml::_('content.prepare', JText::_($this->event->description)), $parse); } ?> </div> </div> <div id="mat_bottom"> <?php // Kontaktformular if (MatukioHelperSettings::getSettings("sendmail_contact", 1)) { echo MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->event->id, 1, "modern"); } // Kalender if (MatukioHelperSettings::getSettings('frontend_usericsdownload', 1) > 0) { echo MatukioHelperUtilsEvents::getCalendarButton($this->event); } // Print Overview (normally always allowed) echo MatukioHelperUtilsEvents::getPrintWindow(2, $this->event->id, '', 'b', "modern"); // Participants (if allowed) if (MatukioHelperSettings::getSettings('frontend_userviewteilnehmer', 0) == 2 and $this->user->id > 0 or MatukioHelperSettings::getSettings('frontend_userviewteilnehmer', 0) == 1) { $htxt = " "; if ($this->event->nrbooked > 0) { $viewteilnehmerlink = JRoute::_("index.php?option=com_matukio&view=participants&cid=" . $this->event->id . "&art=0"); echo " <a href=\"" . $viewteilnehmerlink . "\"><span class=\"mat_button\" style=\"cursor:pointer;\"\n title=\"" . JTEXT::_('COM_MATUKIO_BOOKINGS') . "\">" . "<img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "0004.png\" border=\"0\" align=\"absmiddle\"> " . JTEXT::_('COM_MATUKIO_PARTICIPANTS') . "</span></a>"; } } // Book if (($this->user->id or MatukioHelperSettings::getSettings('booking_unregistered', 1) == 1) and $this->event->cancelled == 0 and $this->event->nrbooked > 0 and (count($buchopt[2]) == 0 or count($buchopt[2]) > 0 && MatukioHelperSettings::getSettings('frontend_usermehrereplaetze', 1) != 0)) { $bookinglink = JRoute::_("index.php?option=com_matukio&view=bookevent&cid=" . $this->event->id . ":" . JFilterOutput::stringURLSafe($this->event->title)); echo " <a title=\"" . JTEXT::_('COM_MATUKIO_BOOK') . "\" href=\"" . $bookinglink . "\"><span class=\"mat_book\" type=\"button\"><img src=\"" . MatukioHelperUtilsBasic::getComponentImagePath() . "1116.png\" border=\"0\" align=\"absmiddle\"> " . JTEXT::_('COM_MATUKIO_BOOK') . "</span></a>";
$temp = ""; $html .= "\n<tr>" . MatukioHelperUtilsEvents::getTableCell($htxt, 'd', 'l', '150px', 'sem_rowd'); $htxt = $zustemp[$i]; $html .= MatukioHelperUtilsEvents::getTableCell($htxt, 'd', 'l', '', 'sem_rowd') . "</tr>"; } } echo $html; ?> </table> <div class="buttons"> <?php echo MatukioHelperUtilsEvents::getPrintWindow(2, $this->event->id, '', 'b', "bootstrap"); // Calendar if (MatukioHelperSettings::getSettings('frontend_usericsdownload', 1) > 0) { echo MatukioHelperUtilsEvents::getCalendarButton($this->event, "bootstrap"); } // Contact organizer if (MatukioHelperSettings::getSettings("sendmail_contact", 1)) { echo MatukioHelperUtilsEvents::getEmailWindow(MatukioHelperUtilsBasic::getComponentImagePath(), $this->event->id, 1, "bootstrap"); } // Invoice if (MatukioHelperSettings::getSettings("download_invoice", 1) && ($this->booking->status == 0 || $this->booking->status == 1) && $this->event->fees > 0) { $href = JURI::ROOT() . "index.php?option=com_matukio&view=printeventlist&format=raw&todo=invoice&cid=" . $this->booking->semid . "&uuid=" . $this->booking->uuid; echo " <a border=\"0\" href=\"" . $href . "\" ><span class=\"btn\" type=\"button\">" . JTEXT::_('COM_MATUKIO_DOWNLOAD_INVOICE_BUTTON') . "</span></a>"; } // Ticket if (MatukioHelperSettings::getSettings("download_ticket", 1) && ($this->booking->status == 0 || $this->booking->status == 1)) { $href = JURI::ROOT() . "index.php?option=com_matukio&view=printeventlist&format=raw&todo=ticket&cid=" . $this->booking->semid . "&uuid=" . $this->booking->uuid; echo " <a border=\"0\" href=\"" . $href . "\" ><span class=\"btn\" type=\"button\">" . JTEXT::_('COM_MATUKIO_DOWNLOAD_TICKET_BUTTON') . "</span></a>"; }