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

$format = $this->params->get('event_date_format', 'd.m.Y') . ' ' . $this->params->get('event_time_format', 'H:i');
$fields = array_column((array)$this->params->get('bookings_fields', []), 'field') ;
?>
<div class="com-dpcalendar-bookings__table">
	<table class="dp-table">
		<thead>
		<tr>
			<?php foreach ($this->headers as $index => $header) { ?>
				<th class="dp-table__cell<?php echo $fields[$index] === 'price' ? ' dp-table__cell_center' : ''; ?>">
					<?php echo $header; ?>
				</th>
			<?php } ?>
		</tr>
		</thead>
		<tbody>
		<?php foreach ($this->bookings as $booking) { ?>
			<tr class="dp-booking">
				<?php foreach ($booking->preparedData as $index => $value) { ?>
					<td data-column="<?php echo $this->headers[$index]; ?>" class="dp-booking__<?php echo $fields[$index]; ?> dp-table__cell
						<?php echo $fields[$index] === 'tickets_count' ? ' dp-table__cell_center' : ''; ?>
						<?php echo $fields[$index] === 'price' ? ' dp-table__cell_right' : ''; ?>
						">
						<?php if ($fields[$index] === 'uid') { ?>
							<a href="<?php echo $this->router->getBookingRoute($booking); ?>" class="dp-link dp-booking__link">
								<?php echo StringHelper::abridge($value, 15, 5); ?>
							</a>
						<?php } elseif ($fields[$index] === 'tickets_count') { ?>
							<a href="<?php echo RouteHelper::getTicketsRoute($booking->id); ?>" class="dp-link dp-booking__tickets-link">
								<?php echo $value; ?>
							</a>
						<?php } elseif ($fields[$index] === 'book_date') { ?>
							<?php echo $this->dateHelper->getDate($value)->format($format, true); ?>
						<?php } else { ?>
							<?php echo $value; ?>
						<?php } ?>
					</td>
				<?php } ?>
			</tr>
		<?php } ?>
		</tbody>
	</table>
</div>

Filemanager

Name Type Size Permission Actions
default.php File 1.2 KB 0664
default.xml File 10.12 KB 0664
default_content.php File 2 KB 0664
default_footer.php File 497 B 0664
default_form.php File 699 B 0664
default_heading.php File 444 B 0664
Filemanager