echo $event->getThumbAvatar(); ?> " alt="<?php echo $this->escape($event->title); ?> " class="cAvatar" /> <?php if ($isExpired || CEventHelper::isPast($event)) { ?> <b class="cStatus-Past"><?php echo JText::_('COM_COMMUNITY_EVENTS_PAST'); ?> </b> <?php } else { if (CEventHelper::isToday($event)) { ?> <b class="cStatus-OnGoing"><?php echo JText::_('COM_COMMUNITY_EVENTS_ONGOING'); ?> </b> <?php } } ?> </a> <div class="cIndex-content"> <h3 class="cIndex-Name cResetH"> <a href="<?php
<?php /** * @copyright (C) 2013 iJoomla, Inc. - All rights reserved. * @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) * @author iJoomla.com <*****@*****.**> * @url https://www.jomsocial.com/license-agreement * The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 * More info at https://www.jomsocial.com/license-agreement */ defined('_JEXEC') or die; $startDate = new JDate($event->startdate); $endDate = new JDate($event->enddate); $isReadOnlyDate = CEventHelper::isToday($event) || CEventHelper::isPast($event); $isReadOnlyDate = $isReadOnlyDate && $event->id > 0; $repeatEndDate = false; if ($event->id && $event->repeat) { $repeatEndDate = new JDate($event->repeatend); } ?> <div class="joms-page"> <h3 class="joms-page__title"><?php echo JText::_($event->id ? 'COM_COMMUNITY_EVENTS_EDIT_TITLE' : 'COM_COMMUNITY_EVENTS_CREATE_TITLE'); ?> </h3> <form method="POST" action="<?php echo CRoute::getURI(); ?> " onsubmit="return joms_validate_form( this );">