| Current Path : /proc/1908984/root/proc/thread-self/root/proc/1908984/root/tmp/ |
| Current File : //proc/1908984/root/proc/thread-self/root/proc/1908984/root/tmp/phpM3HerG |
tmpl/bs3-default.php 0000644 00000004256 15243526057 0010362 0 ustar 00 <?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 } tmpl/bs3-details.php 0000644 00000005125 15243526060 0010351 0 ustar 00 <?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');
?>
<div class="manufacturer-details-view">
<h1 class="page-header"><?php echo $this->manufacturer->mf_name; ?></h1>
<div class="row">
<div class="col-md-8">
<ul class="list-inline small">
<?php // Manufacturer Email
if(!empty($this->manufacturer->mf_email)) { ?>
<li class="manufacturer-email">
<span class="glyphicon glyphicon-envelope"></span>
<?php // TO DO Make The Email Visible Within The Lightbox
echo JHtml::_('email.cloak', $this->manufacturer->mf_email,true,vmText::_('COM_VIRTUEMART_EMAIL'),false) ?>
</li>
<?php } ?>
<?php // Manufacturer URL
if(!empty($this->manufacturer->mf_url)) { ?>
<li class="manufacturer-url">
<span class="glyphicon glyphicon-new-window"></span>
<a target="_blank" href="<?php echo $this->manufacturer->mf_url ?>"><?php echo vmText::_('COM_VIRTUEMART_MANUFACTURER_PAGE') ?></a>
</li>
<?php } ?>
</ul>
<?php // Manufacturer Description
if(!empty($this->manufacturer->mf_desc)) { ?>
<div class="manufacturer-description">
<?php echo $this->manufacturer->mf_desc ?>
</div>
<?php } ?>
</div>
<?php // Manufacturer Image
if (!empty($this->manufacturerImage)) { ?>
<div class="manufacturer-image col-md-4">
<?php echo $this->manufacturerImage; ?>
</div>
<?php } ?>
<div class="col-md-12">
<hr>
<?php // Manufacturer Product Link
$manufacturerProductsURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_manufacturer_id=' . $this->manufacturer->virtuemart_manufacturer_id, FALSE);
if(!empty($this->manufacturer->virtuemart_manufacturer_id)) { ?>
<a class="manufacturer-product-link btn btn-primary btn-sm" target="_top" href="<?php echo $manufacturerProductsURL; ?>"><?php echo vmText::sprintf('COM_VIRTUEMART_PRODUCT_FROM_MF',$this->manufacturer->mf_name); ?></a>
<?php } ?>
</div>
</div>
<hr>
</div>