35 lines
1.9 KiB
PHP
35 lines
1.9 KiB
PHP
<?php /* Smarty version 2.6.34, created on 2025-02-01 09:05:22
|
|
compiled from widget/manufacturersslider.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('function', 'oxmultilang', 'widget/manufacturersslider.tpl', 4, false),)), $this); ?>
|
|
<div class="row">
|
|
<div id="manufacturerSlider" class="manufacturer-slider col-sm boxwrapper">
|
|
<div class="page-header">
|
|
<h3><?php echo smarty_function_oxmultilang(array('ident' => 'OUR_BRANDS'), $this);?>
|
|
</h3>
|
|
<span class="subhead"><?php echo smarty_function_oxmultilang(array('ident' => 'MANUFACTURERSLIDER_SUBHEAD'), $this);?>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="flexslider">
|
|
<ul class="slides">
|
|
<?php $_from = $this->_tpl_vars['oView']->getManufacturerForSlider(); if (($_from instanceof StdClass) || (!is_array($_from) && !is_object($_from))) { settype($_from, 'array'); }if (count($_from)):
|
|
foreach ($_from as $this->_tpl_vars['oManufacturer']):
|
|
?>
|
|
<?php if ($this->_tpl_vars['oManufacturer']->oxmanufacturers__oxicon->value): ?>
|
|
<li class="flexslider-item">
|
|
<a href="<?php echo $this->_tpl_vars['oManufacturer']->getLink(); ?>
|
|
" title="<?php echo smarty_function_oxmultilang(array('ident' => 'VIEW_ALL_PRODUCTS'), $this);?>
|
|
" class="flexslider-link">
|
|
<img src="<?php echo $this->_tpl_vars['oViewConf']->getImageUrl('spinner.gif'); ?>
|
|
" class="flexslider-img" data-src="<?php echo $this->_tpl_vars['oManufacturer']->getIconUrl(); ?>
|
|
" alt="<?php echo $this->_tpl_vars['oManufacturer']->oxmanufacturers__oxtitle->value; ?>
|
|
">
|
|
</a>
|
|
</li>
|
|
<?php endif; ?>
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|