__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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();
$event = $displayData['event'];
$price = $event->price;
if (!$price || !is_array($price->value) || $price->value === []) {
$price = new \stdClass();
$price->value = [0];
$price->label = [''];
$price->description = [''];
}
?>
<div itemprop="offers" itemtype="https://schema.org/AggregateOffer" itemscope>
<meta itemprop="priceCurrency" content="<?php echo $displayData['params']->get('currency', 'USD'); ?>">
<meta itemprop="offerCount" content="<?php echo $event->capacity; ?>">
<meta itemprop="highPrice" content="<?php echo max($price->value); ?>">
<meta itemprop="lowPrice" content="<?php echo min($price->value); ?>">
<meta itemprop="availability"
content="https://schema.org/<?php echo $event->capacity > $event->capacity_used ? 'InStock' : 'SoldOut'; ?>">
<meta itemprop="url" content="<?php echo $displayData['router']->getEventRoute($event->id, $event->catid, true, true); ?>">
<meta itemprop="validFrom" content="<?php echo $displayData['dateHelper']->getDate($event->created)->format('c'); ?>">
<?php foreach ($price->value as $key => $value) { ?>
<div itemprop="offers" itemtype="https://schema.org/Offer" itemscope>
<meta itemprop="price" content="<?php echo $value; ?>">
<?php if ($price->label[$key]) { ?>
<meta itemprop="name" content="<?php echo htmlentities((string) $price->label[$key], ENT_COMPAT, 'UTF-8'); ?>">
<?php } ?>
<?php if ($price->description[$key]) { ?>
<meta itemprop="description" content="<?php echo htmlentities(strip_tags((string) $price->description[$key]), ENT_COMPAT, 'UTF-8'); ?>">
<?php } ?>
</div>
<?php } ?>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| attendancemode.php | File | 596 B | 0664 |
|
| date.php | File | 558 B | 0664 |
|
| description.php | File | 372 B | 0664 |
|
| event.php | File | 1.25 KB | 0664 |
|
| image.php | File | 644 B | 0664 |
|
| location.php | File | 1.85 KB | 0664 |
|
| name.php | File | 339 B | 0664 |
|
| offer.php | File | 1.8 KB | 0664 |
|
| organizer.php | File | 640 B | 0664 |
|
| performer.php | File | 424 B | 0664 |
|
| status.php | File | 379 B | 0664 |
|
| url.php | File | 508 B | 0664 |
|