Пример #1
0
  @copyright  Template built on DevKit http://www.bootstraptor.com under GPL license 
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: product_listing.php v1.0 2013-08-08 datazen $
*/
?>
<!--content/index/product_listing.php start-->
<div class="row">
  <h1 class="no-margin-top"><?php 
echo $lC_Template->getPageTitle();
?>
</h1>
  
  <div id="content-product-listing-category-description-container">
    <?php 
if (lC_Template_output::getCategoryDescription() != '') {
    echo '<div id="content-product-listing-category-description">' . lC_Template_output::getCategoryDescription() . '</div>';
}
?>
  </div>
  <div class="clearfix"></div>
  <div class="content-product-listing-div">
    <?php 
if (PRODUCT_LIST_FILTER == '1') {
    echo lC_Template_output::getManufacturerFilter();
}
$Qlisting = lC_Template_output::getProductsListingSql();
if ($Qlisting->numberOfRows() > 0 && (PREV_NEXT_BAR_LOCATION == '1' || PREV_NEXT_BAR_LOCATION == '3')) {
    ?>
      <!-- PAGINATION-->
      <div class="product-listing-module-pagination margin-bottom">
        <div class="pull-left large-margin-bottom page-results"><?php 
Пример #2
0
  @copyright  Portions Copyright 2003 osCommerce
  @copyright  Template built on DevKit http://www.bootstraptor.com under GPL license 
  @license    https://github.com/loadedcommerce/loaded7/blob/master/LICENSE.txt
  @version    $Id: category_listing.php v1.0 2013-08-08 datazen $
*/
?>
<!--content/index/category_listing.php start-->
<div class="row">
  <div class="col-sm-12 col-lg-12">
    <h1 class="no-margin-top"><?php 
echo $lC_Template->getPageTitle();
?>
</h1>
    <?php 
if (lC_Template_output::getCategoryDescription() != '') {
    echo lC_Template_output::getCategoryDescription();
}
?>
    <div class="col-sm-12 col-lg-12 container text-center">
      <?php 
echo lC_Template_output::getCategoryListing();
?>
    </div>
  </div>
</div>
<script>
$(document).ready(function() {

  var mediaType = _setMediaType();
  var mainContentClass = $('#main-content-container').attr('class');
  if(mainContentClass == 'col-sm-6 col-lg-6') {