__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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) 2017 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 Joomla\CMS\HTML\Helpers\StringHelper;
use DigitalPeak\Component\DPCalendar\Administrator\Helper\Booking;
use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;

if (!$this->bookings) {
	return;
}

$format = $this->params->get('event_date_format', 'd.m.Y') . ' ' . $this->params->get('event_time_format', 'H:i');

$hasPrice = array_filter(
	$this->bookings,
	static fn($booking): bool => $booking->price > 0
);
?>
<div class="com-dpcalendar-bookings__table">
	<table class="dp-table">
		<thead>
		<tr>
			<th><?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_ID_LABEL'); ?></th>
			<th><?php echo $this->translate('COM_DPCALENDAR_VIEW_EVENTS_MODAL_COLUMN_STATE'); ?></th>
			<th><?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_NAME_LABEL'); ?></th>
			<th><?php echo $this->translate($hasPrice !== [] ? 'COM_DPCALENDAR_INVOICE_DATE' : 'COM_DPCALENDAR_CREATED_DATE'); ?></th>
			<?php if ($hasPrice !== []) { ?>
				<th><?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_PRICE_LABEL'); ?></th>
			<?php } ?>
			<th><?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_TICKETS_LABEL'); ?></th>
			<?php if ($this->bookings) { ?>
				<?php foreach ($this->bookings[0]->jcfields as $field) { ?>
					<th><?php echo $field->label; ?></th>
				<?php } ?>
			<?php } ?>
		</tr>
		</thead>
		<tbody>
		<?php foreach ($this->bookings as $booking) { ?>
			<tr class="dp-booking">
				<td data-column="<?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_ID_LABEL'); ?>">
					<a href="<?php echo $this->router->getBookingRoute($booking); ?>" class="dp-link dp-booking__link">
						<?php echo StringHelper::abridge($booking->uid, 15, 5); ?>
					</a>
				</td>
				<td data-column="<?php echo $this->translate('COM_DPCALENDAR_VIEW_EVENTS_MODAL_COLUMN_STATE'); ?>" class="dp-booking__state">
					<?php echo Booking::getStatusLabel($booking); ?>
				</td>
				<td data-column="<?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_NAME_LABEL'); ?>" class="dp-booking__name">
					<?php echo $booking->name; ?>
				</td>
				<td data-column="<?php echo $this->translate($hasPrice !== [] ? 'COM_DPCALENDAR_INVOICE_DATE' : 'COM_DPCALENDAR_CREATED_DATE'); ?>"
					class="dp-booking__date">
					<?php echo $this->dateHelper->getDate($booking->book_date)->format($format, true); ?>
				</td>
				<?php if ($hasPrice !== []) { ?>
					<td class="dp-cell-price dp-booking__price"
						data-column="<?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_PRICE_LABEL'); ?>">
						<?php echo DPCalendarHelper::renderPrice($booking->price, $this->params->get('currency_symbol', '$')); ?>
					</td>
				<?php } ?>
				<td data-column="<?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_TICKETS_LABEL'); ?>">
					<a href="<?php echo \DigitalPeak\Component\DPCalendar\Site\Helper\RouteHelper::getTicketsRoute($booking->id); ?>" class="'dp-link dp-booking__tickets-link">
						<?php echo $booking->amount_tickets; ?>
					</a>
				</td>
				<?php foreach ($booking->jcfields as $field) { ?>
					<td data-column="<?php echo $field->label; ?>" class="dp-booking__field"><?php echo $field->value; ?></td>
				<?php } ?>
			</tr>
		<?php } ?>
		</tbody>
	</table>
</div>

Filemanager

Name Type Size Permission Actions
default.php File 1.21 KB 0664
default.xml File 9.91 KB 0664
default_content.php File 3.36 KB 0664
default_footer.php File 496 B 0664
default_header.php File 1.16 KB 0664
default_heading.php File 443 B 0664
Filemanager