Subversion Repositories SmartDukaan

Rev

Rev 13746 | Rev 13925 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<ul class="nav nav-tabs">
        <li class="<?php if(!isset($id)):?>active<?php endif;?> col-xs-4"><a href="/deals/mine">All</a></li>
<?php foreach($categories AS $catId => $name):?>
  <li class="<?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-4">
    <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
<?php endforeach;?>
</ul>
<div class="filters">
        <div class="col-xs-8 herotext">Daily profitable deals for you</div>
        <div class="col-xs-4 ">
                <div class="dropdown pull-right">
                  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
                        <span class="caret"></span> SORT                    
                  </button>
                  <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
                        <!-- <li role="presentation" class="dropdown-header menu-item">FILTER</li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Brand</a></li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
                    <li role="presentation" class="dropdown-header menu-item">SORT</li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=1">Bestsellers</a></li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1">Price Low to High</a></li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1">Price High to Low</a></li>
                    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
                  </ul>
                </div>
        </div>  
</div>