ACC SHELL
<?php if(isset($this->banner)): ?>
<div class="banner">
<?php if($this->banner['typ'] == 'flash'): ?>
<?= $this->htmlFlash('/video/' . $this->banner['file'],
array(
'width' => 600,
'height' => 300,
'class' => 'flash',
),
array(
'movie' => '/video/' . $this->banner['file'],
'wmode' => 'opaque',
'loop' => 'true',
)
);
?>
<?php elseif($this->banner['typ'] == 'image'): ?>
<img src="/images/sekce/<?= $this->banner['file'] ?>" alt="<?= $this->banner['file'] ?>" height="300" width="600" />
<?php elseif($this->banner['typ'] == 'array'): ?>
<?php foreach($this->banner['file'] as $i => $f): ?>
<img <?php if($i > 0): ?>class="hidden"<?php endif; ?> src="/images/kontakty/<?= $f ?>" alt="<?= $f ?>" height="300" width="600" />
<?php endforeach; ?>
<?php elseif($this->banner['typ'] == 'rotace'): ?>
<ul class="cycle-photos">
<?php foreach($this->banner['file'] as $i => $f): ?>
<li>
<img src="/images/sekce/<?= $f ?>" alt="<?= $f ?>" height="300" width="600" />
</li>
<?php endforeach; ?>
</ul>
<?php elseif($this->banner['typ'] == 'map'): ?>
<div class="mapa">
<iframe width="600" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=cs&geocode=&q=49%C2%B09'30.67%22N,+16%C2%B038'20.73%22E&sll=37.0625,-95.677068&sspn=57.510723,135.263672&ie=UTF8&ll=49.158527,16.638708&spn=0.014426,0.046263&z=14&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=cs&geocode=&q=49%C2%B09'30.67%22N,+16%C2%B038'20.73%22E&sll=37.0625,-95.677068&sspn=57.510723,135.263672&ie=UTF8&ll=49.158527,16.638708&spn=0.014426,0.046263&z=14"><?= $this->translate('kontakt-mapa'); ?></a></small>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
ACC SHELL 2018