
<div class="product-filter clearfix">
  <div class="display hidden-xs">
  <span><?php echo $objlang->get('text_display'); ?></span>
      <button type="button" id="list-view" class="btn-switch list" data-toggle="tooltip" title="<?php echo $button_list; ?>"><span class="fa fa-th-list"></span></button>
      <button type="button" id="grid-view" class="btn-switch grid" data-toggle="tooltip" title="<?php echo $button_grid; ?>"><span class="fa fa-th-large"></span></button>
  </div>  
  <div class="sort">
    <span><?php echo $text_sort; ?></span>
    <select id="input-sort" class="" onchange="location = this.value;">
      <?php foreach ($sorts as $sorts) { ?>
      <?php if ($sorts['value'] == $sort . '-' . $order) { ?>
      <option value="<?php echo $sorts['href']; ?>" selected="selected"><?php echo $sorts['text']; ?></option>
      <?php } else { ?>
      <option value="<?php echo $sorts['href']; ?>"><?php echo $sorts['text']; ?></option>
      <?php } ?>
      <?php } ?>
    </select>
  </div>

  <div class="limit">
    <span><?php echo $text_limit; ?></span>
    <select id="input-limit" class="" onchange="location = this.value;">
      <?php foreach ($limits as $limits) { ?>
      <?php if ($limits['value'] == $limit) { ?>
      <option value="<?php echo $limits['href']; ?>" selected="selected"><?php echo $limits['text']; ?></option>
      <?php } else { ?>
      <option value="<?php echo $limits['href']; ?>"><?php echo $limits['text']; ?></option>
      <?php } ?>
      <?php } ?>
    </select>
  </div>
  <div class="product-compare"><a href="<?php echo $compare; ?>" id="compare-total"><?php echo $text_compare; ?></a></div>
  </div> 
 
