__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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'];
$locations = empty($event->locations) ? [] : (array)$event->locations;
if ($locations === []) {
$url = $event->url ?: $displayData['router']->getEventRoute($event->id, $event->catid, true, true);
$locations = [(object)['url' => $url]];
}
?>
<div class="dpcalendar-schema-event-location">
<?php foreach ($locations as $location) { ?>
<div itemprop="location" itemtype="https://schema.org/<?php echo empty($location->title) ? 'VirtualLocation' : 'Place'; ?>" itemscope>
<?php if (!empty($location->url)) { ?>
<meta itemprop="url" content="<?php echo $location->url; ?>">
<?php } ?>
<?php if (!empty($location->title)) { ?>
<meta itemprop="name" content="<?php echo $location->title; ?>">
<div itemprop="address" itemtype="https://schema.org/PostalAddress" itemscope>
<?php if (!empty($location->city)) { ?>
<meta itemprop="addressLocality" content="<?php echo $location->city; ?>">
<?php } ?>
<?php if (!empty($location->province)) { ?>
<meta itemprop="addressRegion" content="<?php echo $location->province; ?>">
<?php } ?>
<?php if (!empty($location->zip)) { ?>
<meta itemprop="postalCode" content="<?php echo $location->zip; ?>">
<?php } ?>
<?php if (!empty($location->street)) { ?>
<meta itemprop="streetAddress" content="<?php echo $location->street . (empty($location->number) ? '' : ' ' . $location->number); ?>">
<?php } ?>
<?php if (!empty($location->country_code_value)) { ?>
<meta itemprop="addressCountry" content="<?php echo $location->country_code_value; ?>">
<?php } ?>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| attendancemode.php | File | 598 B | 0664 |
|
| date.php | File | 560 B | 0664 |
|
| description.php | File | 373 B | 0664 |
|
| event.php | File | 1.25 KB | 0664 |
|
| image.php | File | 646 B | 0664 |
|
| location.php | File | 1.86 KB | 0664 |
|
| name.php | File | 341 B | 0664 |
|
| offer.php | File | 1.88 KB | 0664 |
|
| organizer.php | File | 641 B | 0664 |
|
| performer.php | File | 425 B | 0664 |
|
| status.php | File | 381 B | 0664 |
|
| url.php | File | 511 B | 0664 |
|