<div class="bg-white-only b-b clearfix">
  <div class="container visible-lg-block visible-md-block">
    <div class="row m-t m-b-sm">
      <div class="col-xs-6 col-sm-6 col-md-6 col-lg-3">
        <h2 class="m-t-none m-b-none phone-h2">
          <i class="icon-camera text-skin m-r-sm"></i>
          {$categoriesList9}
          <span class="badge bg-danger lt v-middle">{$allRows}</span>
        </h2>
      </div>
      <div class="col-lg-6 small-nav visible-lg-block">
        {$categoriesList7}
      </div>
      <div class="col-xs-6 col-sm-6 col-md-6 col-lg-3 text-right">
        <form action="" id="sortbyform" method="get" class="hidden-xs pull-right" style="z-index:3;">
          <input id="order-type" name="order" type="hidden" value="{if $smarty.get.order == 'asc'}desc{else}asc{/if}" />
          <input type="hidden" id="sort_by" name="sort_by" />
          <div class="">
            <a href="javascript: void(0);" onclick="document.getElementById('sort_by').value='average_rating';document.getElementById('sortbyform').submit();"{if $smarty.get.sort_by == 'average_rating'} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm active pull-right" {else} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm pull-right" {/if} title="" data-toggle="tooltip" data-placement="bottom" data-original-title="按评分排序">
            <i class="icon-like hover-rotate"></i>
            </a>
            <a href="javascript: void(0);" onclick="document.getElementById('sort_by').value='sales_count';document.getElementById('sortbyform').submit();"{if $smarty.get.sort_by == 'sales_count'} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm active pull-right" {else} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm pull-right"{/if} title="" data-toggle="tooltip" data-placement="bottom" data-original-title="按销量排序">
            <i class="icon-basket hover-rotate"></i>
            </a>
            <a href="javascript: void(0);" onclick="document.getElementById('sort_by').value='cost';document.getElementById('sortbyform').submit();"{if $smarty.get.sort_by == 'cost'} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm active pull-right" {else} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm pull-right"{/if} title="" data-toggle="tooltip" data-placement="bottom" data-original-title="按价格排序">
            <i class="icon-equalizer hover-rotate"></i>
            </a>
            <a href="javascript: void(0);" onclick="document.getElementById('sort_by').value='published_at';document.getElementById('sortbyform').submit();"{if $smarty.get.sort_by == 'published_at'} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm active pull-right" {else} class="btn btn-icon btn-rounded btn-ghost-skin hover m-b-xs m-l-sm pull-right"{/if} data-toggle="tooltip" data-placement="bottom" data-original-title="按日期排序">
            <i class="icon-clock hover-rotate"></i>
            </a>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>