-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mod_banner_list_all.html5
33 lines (33 loc) · 2.54 KB
/
mod_banner_list_all.html5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!-- indexer::stop -->
<aside id="<?= $this->bmid; ?>" title="banner_<?= $this->bmid; ?>" class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if (($this->headline) && (!$this->headline_stop)): ?>
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
<?php endif; ?>
<?php foreach ($this->banners as $banner): ?>
<?php if ($banner['banner_pic']) : ?>
<figure class="banner_wrap<?php echo $banner['banner_wrap_class']; ?>"<?php echo $banner['banner_wrap_id']; ?> itemscope itemtype="http://schema.org/ImageObject">
<div class="banner_image" id="banner_<?php echo $banner['banner_id']; ?>">
<?php if ($banner['banner_url']): ?><a href="<?= $this->route('bugbuster_banner_frontend_clicks') ?>/<?php echo $banner['banner_key'].'/'.$banner['banner_id']; ?>" <?php echo $banner['banner_target']; ?> title="<?php echo $banner['banner_comment']; ?>" itemprop="contentUrl"><?php endif; ?>
<?php $this->insert('picture_default', $banner['picture']) ?>
<?php if ($banner['banner_url']): ?></a><?php endif; ?>
</div>
<figcaption class="banner_name" itemprop="caption"><?php echo $banner['banner_name']; ?></figcaption>
</figure>
<?php endif; ?>
<?php if ($banner['banner_text']) : ?>
<figure class="banner_wrap<?php echo $banner['banner_wrap_class']; ?>"<?php echo $banner['banner_wrap_id']; ?>>
<div class="banner_text" id="banner_<?php echo $banner['banner_id']; ?>">
<div class="banner_text_name"><?php if ($banner['banner_url']): ?><a href="<?= $this->route('bugbuster_banner_frontend_clicks') ?>/<?php echo $banner['banner_key'].'/'.$banner['banner_id']; ?>" <?php echo $banner['banner_target']; ?> title="<?php echo $banner['banner_name']; ?>" ><?php endif; ?><?php echo $banner['banner_name']; ?><?php if ($banner['banner_url']): ?></a><?php endif; ?></div>
<div class="banner_text_comment"><?php echo $banner['banner_comment']; ?></div>
<?php if ($banner['banner_url']): ?><div class="banner_text_url"><a href="<?= $this->route('bugbuster_banner_frontend_clicks') ?>/<?php echo $banner['banner_key'].'/'.$banner['banner_id']; ?>" <?php echo $banner['banner_target']; ?> title="<?php echo $banner['banner_name']; ?>" ><?php echo $banner['banner_url_kurz']; ?></a></div><?php endif; ?>
</div>
</figure>
<?php endif; ?>
<?php if ($banner['banner_empty']) : ?>
<div class="banner_empty">
<!-- <?php echo $banner['banner_name']; ?> -->
</div>
<?php endif; ?>
<?php endforeach; ?>
</aside>
<!-- indexer::continue -->