403Webshell
Server IP : 172.67.191.97  /  Your IP : 104.23.197.209
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/internacionalizacion/plugins/content/dpcalendar/tmpl/contact/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/internacionalizacion/plugins/content/dpcalendar/tmpl/contact/events.php
<?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>

Youez - 2016 - github.com/yon3zu
LinuXploit