Ejemplo n.º 1
0
  @package    catalog::templates::content
  @author     Loaded Commerce
  @copyright  Copyright 2003-2014 Loaded Commerce, LLC
  @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: reviews.php v1.0 2013-08-08 datazen $
*/
?>
<!--content/products/reviews.php start--> 
<div class="row">
  <div class="col-sm-12 col-lg-12">
    <h1><?php 
echo $lC_Template->getPageTitle();
?>
</h1>
    <?php 
echo lC_Reviews::getListingOutput();
?>
    <div class="button-set">
      <form action="<?php 
echo lc_href_link(FILENAME_DEFAULT, null, 'AUTO');
?>
" method="post"><button onclick="$(this).closest('form').submit();" class="pull-right btn btn-lg btn-primary" type="submit"><?php 
echo $lC_Language->get('button_continue');
?>
</button></form>
    </div>  
  </div>  
</div>
<!--content/products/reviews.php end-->
Ejemplo n.º 2
0
?>

        <div class="content-product-reviews-container">  
          <h3 class="no-margin-top"><?php 
echo $lC_Template->getPageTitle();
?>
</h3>  
          <?php 
if ($lC_Product->getData('reviews_average_rating') > 0) {
    ?>
            <div class="content-product-reviews-rating margin-bottom"><?php 
    echo $lC_Language->get('average_rating') . ' ' . lc_image(DIR_WS_TEMPLATE_IMAGES . 'stars_' . $lC_Product->getData('reviews_average_rating') . '.png', sprintf($lC_Language->get('rating_of_5_stars'), $lC_Product->getData('reviews_average_rating')));
    ?>
</div>
            <?php 
    echo lC_Reviews::getListingOutput($lC_Product->getID());
    ?>
            <?php 
}
?>
  
        </div>
      </div>
    </div>
  </div>   
  <div class="col-sm-12 col-lg-12 clearfix">
    <div class="button-set">
      <?php 
if ($lC_Reviews->is_enabled === true) {
    ?>