| Server IP : 87.98.231.4 / Your IP : 216.73.217.178 [ Web Server : Apache System : Linux webm007.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : grupmartgn ( 667608) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/grupmartgn/elanartcrafts/components/com_virtuemart/views/manufacturer/tmpl/ |
Upload File : |
<?php
/**
*
* Description
*
* @package VirtueMart
* @subpackage Manufacturer
* @author Kohl Patrick, Eugen Stranz
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default.php 2701 2011-02-11 15:16:49Z impleri $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
// Category and Columns Counter
$iColumn = 1;
$iManufacturer = 1;
// Calculating Manufacturers Per Row
$manufacturerPerRow = VmConfig::get ('manufacturer_per_row', 3);
if ($manufacturerPerRow > 0) {
$manufacturerCellWidth = ' col-md-' . floor ( 12 / $manufacturerPerRow );
} else {
$manufacturerCellWidth = ' col-md-4';
}
// Lets output the categories, if there are some
if (!empty($this->manufacturers)) { ?>
<div class="manufacturer-view-default">
<div class="row">
<?php // Start the Output
foreach ( $this->manufacturers as $manufacturer ) {
// Manufacturer Elements
$manufacturerURL = JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id, FALSE);
$manufacturerIncludedProductsURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=' . $manufacturer->virtuemart_manufacturer_id, FALSE);
$manufacturerImage = $manufacturer->images[0]->displayMediaThumb("",false);
?>
<div class="manufacturer <?php echo $manufacturerCellWidth; ?>">
<div class="thumbnail" data-mh="manufacturer">
<a title="<?php echo $manufacturer->mf_name; ?>" href="<?php echo $manufacturerURL; ?>">
<?php echo $manufacturerImage;?>
<div class="caption text-center" data-mh="cat-name">
<hr>
<h2 class="vm-cat-title">
<?php echo $manufacturer->mf_name; ?>
</h2>
</div>
</a>
</div>
</div>
<?php } ?>
</div>
</div>
<?php }