__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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) 2015 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\Booking;
use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;
use DigitalPeak\Component\DPCalendar\Administrator\Helper\Location;
use DigitalPeak\Component\DPCalendar\Administrator\HTML\Block\Icon;
use DigitalPeak\Component\DPCalendar\Site\Helper\RouteHelper;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Session\Session;
use Joomla\CMS\Uri\Uri;

$event      = $this->event;
$eventRoute = $this->router->getEventRoute($event->id, $event->catid, false, false);

$mailtoUrl = '';
if (file_exists(JPATH_SITE . '/components/com_mailto/helpers/mailto.php')) {
	require_once JPATH_SITE . '/components/com_mailto/helpers/mailto.php';
	$uri       = Uri::getInstance()->toString(['scheme', 'host', 'port']);
	$mailtoUrl = 'index.php?option=com_mailto&tmpl=component&link=' . MailToHelper::addLink($uri . $this->router->route($eventRoute));
}

// Compile the Google url
$startDate  = $this->dateHelper->getDate($event->start_date, $event->all_day);
$endDate    = $this->dateHelper->getDate($event->end_date, $event->all_day);
$copyFormat = $event->all_day ? 'Ymd' : 'Ymd\THis';
if ($event->all_day) {
	$endDate->modify('+1 day');
}
$googleUrl = 'http://www.google.com/calendar/render?action=TEMPLATE&text=' . urlencode((string) $event->title);
$googleUrl .= '&dates=' . $startDate->format($copyFormat, true) . '%2F' . $endDate->format($copyFormat, true);
$googleUrl .= '&location=' . urlencode((string) $this->app->bootComponent('dpcalendar')->getMVCFactory()->createModel('Geo','Administrator')->format($event->locations));
$googleUrl .= '&details=' . urlencode((string) HTMLHelper::_('string.truncate', $event->description, 200));
$googleUrl .= '&hl=' . DPCalendarHelper::getFrLanguage() . '&ctz=' . $startDate->getTimezone()->getName();
$googleUrl .= '&sf=true&output=xml';

$icalUrl = $this->router->route('index.php?option=com_dpcalendar&view=event&format=raw&id=' . $event->id . '&calid=' . $event->catid);

$checkinUrl = 'index.php?option=com_dpcalendar&task=event.checkin';
$checkinUrl .= '&e_id=' . $event->id;
$checkinUrl .= '&' . Session::getFormToken() . '=1';

$return = Uri::getInstance(!empty($_SERVER['HTTP_REFERER']) && (str_contains((string) $_SERVER['HTTP_REFERER'], 'layout=edit') === 0 || str_contains((string) $_SERVER['HTTP_REFERER'], 'layout=edit') === false) ?
	$_SERVER['HTTP_REFERER'] : 'index.php?ItemId=' . $this->input->getInt('Itemid', 0));

$deleteUrl = 'index.php?option=com_dpcalendar&task=event.delete';
if ($tmpl = $this->input->getWord('tmpl')) {
	$deleteUrl .= '&tmpl=' . $tmpl;
	$return->setVar('option', 'com_dpcalendar');
	$return->setVar('view', 'event');
	$return->setVar('layout', 'empty');
	$return->setVar('tmpl', $tmpl);
}
$deleteUrl .= '&return=' . base64_encode($return) . '&e_id=';
$this->translator->translateJS('COM_DPCALENDAR_CONFIRM_DELETE');
?>
<div class="com-dpcalendar-event__actions dp-button-bar dp-print-hide">
	<?php if ($this->params->get('event_show_print', 1)) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-print" data-selector=".com-dpcalendar-event">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::PRINTING]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_VIEW_CALENDAR_TOOLBAR_PRINT'); ?>
		</button>
	<?php } ?>
	<?php if ($mailtoUrl && $this->params->get('event_show_mail', 1)) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-mail" data-mailtohref="<?php echo $mailtoUrl; ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::MAIL]); ?>
			<?php echo $this->translate('JGLOBAL_EMAIL'); ?>
		</button>
	<?php } ?>
	<?php if ($this->params->get('event_show_copy', '1')) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-copy-google" data-href="<?php echo $googleUrl; ?>" data-target="new">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::DOWNLOAD]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_FIELD_CONFIG_EVENT_LABEL_COPY_GOOGLE'); ?>
		</button>
		<button type="button" class="dp-button dp-button-action dp-button-copy-ical" data-href="<?php echo $icalUrl; ?>" data-target="new">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::DOWNLOAD]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_FIELD_CONFIG_EVENT_LABEL_COPY_OUTLOOK'); ?>
		</button>
	<?php } ?>
	<?php if (Booking::openForBooking($event) && $event->params->get('access-invite') && !DPCalendarHelper::isFree()) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-invite"
			data-href="<?php echo RouteHelper::getInviteRoute($event); ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::SIGNUP]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_INVITE'); ?>
		</button>
	<?php } ?>
	<?php if ($event->capacity != '0' && $event->params->get('send-tickets-mail') && !DPCalendarHelper::isFree()) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-mailtickets"
			data-href="<?php echo $this->router->route($eventRoute . '&layout=mailtickets&return=' . base64_encode(Uri::getInstance())); ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::MAIL]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_VIEW_EVENT_SEND_MAIL_TICKETHOLDERS'); ?>
		</button>
	<?php } ?>
	<?php if ($event->capacity != '0' && $event->params->get('access-tickets') && !DPCalendarHelper::isFree()) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-tickets"
			data-href="<?php echo RouteHelper::getTicketsRoute(null, $event->id); ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::SIGNUP]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_TICKETS_LABEL'); ?>
		</button>
	<?php } ?>
	<?php if ($event->capacity != '0' && $event->params->get('access-bookings') && !DPCalendarHelper::isFree()) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-bookings"
			data-href="<?php echo RouteHelper::getBookingsRoute($event->id); ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::SIGNUP]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_BOOKINGS'); ?>
		</button>
	<?php } ?>
	<?php if ($event->params->get('access-edit')) { ?>
		<?php if ($event->checked_out && $this->user->id != $event->checked_out) { ?>
			<?php $this->app->enqueueMessage(
				// @phpstan-ignore-next-line
				Text::sprintf('COM_DPCALENDAR_VIEW_EVENT_CHECKED_OUT_BY', Factory::getUser($event->checked_out)->name),
				'warning'
			); ?>
		<?php } ?>
		<?php if ($event->checked_out && $this->user->id != $event->checked_out && $this->user->authorise('core.manage', 'com_checkin')) { ?>
			<button type="button" class="dp-button dp-button-action dp-button-checkin" data-href="<?php echo $checkinUrl; ?>">
				<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::LOCK]); ?>
				<?php echo $this->translate('JLIB_HTML_CHECKIN'); ?>
			</button>
		<?php } ?>
		<?php if (!$event->checked_out || $this->user->id == $event->checked_out) { ?>
			<button type="button" class="dp-button dp-button-action dp-button-edit"
					data-href="<?php echo $this->router->getEventFormRoute($event->id, Uri::getInstance()); ?>">
				<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::EDIT]); ?>
				<?php echo $this->translate('COM_DPCALENDAR_VIEW_FORM_BUTTON_EDIT_EVENT'); ?>
			</button>
		<?php } ?>
	<?php } ?>
	<?php if ($event->params->get('access-delete') && (!$event->checked_out || $this->user->id == $event->checked_out)) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-delete dp-action-delete"
				data-href="<?php echo $this->router->route($deleteUrl . $event->id); ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::DELETE]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_DELETE'); ?>
		</button>
	<?php } ?>
	<?php if ($event->original_id > 0 && $event->params->get('access-delete') && (!$event->checked_out || $this->user->id == $event->checked_out)) { ?>
		<button type="button" class="dp-button dp-button-action dp-button-delete-series dp-action-delete"
				data-href="<?php echo $this->router->route($deleteUrl . $event->original_id); ?>">
			<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::DELETE]); ?>
			<?php echo $this->translate('COM_DPCALENDAR_DELETE_SERIES'); ?>
		</button>
	<?php } ?>
</div>

Filemanager

Name Type Size Permission Actions
default.php File 3.1 KB 0664
default.xml File 35.73 KB 0664
default_booking_form.php File 757 B 0664
default_bookings.php File 3.19 KB 0664
default_bookings_earlybird.php File 1.92 KB 0664
default_bookings_options.php File 939 B 0664
default_bookings_prices.php File 1.34 KB 0664
default_bookings_user.php File 1.16 KB 0664
default_cta.php File 1.93 KB 0664
default_description.php File 902 B 0664
default_header.php File 8.59 KB 0664
default_heading.php File 500 B 0664
default_image_full.php File 763 B 0664
default_information.php File 801 B 0664
default_information_author.php File 796 B 0664
default_information_calendar.php File 1.5 KB 0664
default_information_date.php File 935 B 0664
default_information_hosts.php File 913 B 0664
default_information_locations.php File 1.42 KB 0664
default_information_url.php File 816 B 0664
default_locations.php File 7.78 KB 0664
default_schedule.php File 1.05 KB 0664
default_series.php File 1.48 KB 0664
default_tags.php File 433 B 0664
default_taxes.php File 572 B 0664
default_tickets.php File 3.27 KB 0664
default_title.php File 1.17 KB 0664
empty.php File 215 B 0664
mailtickets.php File 665 B 0664
mailtickets_actions.php File 1.19 KB 0664
mailtickets_form.php File 1.67 KB 0664
Filemanager