| Server IP : 54.36.91.62 / Your IP : 216.73.217.111 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/modules/mod_community_events/tmpl/ |
Upload File : |
<?php
/**
* @copyright (C) 2015 iJoomla, Inc. - All rights reserved.
* @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
* @author iJoomla.com <webmaster@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
*/
use Joomla\CMS\Language\Text;
defined('_JEXEC') or die();
?>
<?php if ($events) { ?>
<ul class="joms-list--event">
<?php foreach ($events as $event) { ?>
<li class="joms-media--event" <?php if (!empty($event->summary)): ?>title="<?php echo CStringHelper::escape($event->summary); ?>" <?php endif; ?>>
<div class="joms-media__calendar">
<?php
$datestr = strtotime($event->getStartDate());
$day = date('d', $datestr);
$month = date('M', $datestr);
$year = date('y', $datestr);
?>
<span class="month"><?php echo Text::_( CEventHelper::formatStartDate($event, 'M') ); ?></span>
<span class="date"><?php echo Text::_( CEventHelper::formatStartDate($event, 'd') ); ?></span>
</div>
<div class="joms-media__body">
<h4 class="reset-gap"><a href="<?php echo $event->getLink(); ?>"><?php echo CStringHelper::escape($event->title); ?></a></h4>
<div class="joms-gap--small"></div>
<span class="joms-block"> <?php echo CStringHelper::escape($event->location); ?></span>
<a href="<?php echo $event->getGuestLink(COMMUNITY_EVENT_STATUS_ATTEND); ?>">
<?php echo Text::sprintf((!CStringHelper::isSingular($event->confirmedcount)) ? 'COM_COMMUNITY_EVENTS_ATTANDEE_COUNT_MANY' : 'COM_COMMUNITY_EVENTS_ATTANDEE_COUNT', $event->confirmedcount); ?>
</a>
</div>
</li>
<?php } ?>
</ul>
<?php } else { ?>
<div class="joms-blankslate"><?php echo Text::_('COM_COMMUNITY_EVENTS_NOT_CREATED') ?></div>
<?php } ?>
<small><a class="joms-button--link" href="<?php echo CRoute::_('index.php?option=com_community&view=events'); ?>"><?php echo Text::_('COM_COMMUNITY_FRONTPAGE_VIEW_ALL_EVENTS'); ?></a></small>