| Line 1... |
Line 1... |
| 1 |
<ul class="nav nav-tabs catselect">
|
1 |
<ul class="nav nav-tabs catselect">
|
| 2 |
<?php foreach($categories AS $catId => $name):?>
|
2 |
<?php foreach($categories AS $catId => $name):?>
|
| - |
|
3 |
|
| 3 |
<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)+1));?>">
|
4 |
<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)+1));?>">
|
| 4 |
<a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
|
5 |
<a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
|
| - |
|
6 |
|
| 5 |
<?php endforeach;?>
|
7 |
<?php endforeach;?>
|
| 6 |
|
8 |
|
| 7 |
</ul>
|
9 |
</ul>
|
| 8 |
|
10 |
|
| 9 |
<div class="filters row">
|
11 |
<div class="filters row">
|
| Line 82... |
Line 84... |
| 82 |
}
|
84 |
}
|
| 83 |
});
|
85 |
});
|
| 84 |
</script>
|
86 |
</script>
|
| 85 |
</div>
|
87 |
</div>
|
| 86 |
<div class="col-xs-3 pt7">
|
88 |
<div class="col-xs-3 pt7">
|
| 87 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
89 |
<?php if((isset($brandschosen) && !empty($brandschosen)) || (isset($subcategorieschosen) && !empty($subcategorieschosen))):?>
|
| 88 |
<a class="filteraction clearfilters btn btn-xs btn-danger pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
90 |
<a class="filteraction clearfilters btn btn-xs btn-danger pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
| 89 |
<?php endif;?>
|
91 |
<?php endif;?>
|
| 90 |
</div>
|
92 |
</div>
|
| 91 |
<?php endif;?>
|
93 |
<?php endif;?>
|
| 92 |
<?php else:?>
|
94 |
<?php else:?>
|
| Line 94... |
Line 96... |
| 94 |
<div class="col-xs-9 herotext" style='padding-top:0px'>
|
96 |
<div class="col-xs-9 herotext" style='padding-top:0px'>
|
| 95 |
<?php echo $this->element('headerlinks',array(),array());?>
|
97 |
<?php echo $this->element('headerlinks',array(),array());?>
|
| 96 |
<!-- Daily profitable deals for you -->
|
98 |
<!-- Daily profitable deals for you -->
|
| 97 |
</div>
|
99 |
</div>
|
| 98 |
<div class="col-xs-3 pt7">
|
100 |
<div class="col-xs-3 pt7">
|
| 99 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
101 |
<?php if((isset($brandschosen) && !empty($brandschosen)) || (isset($subcategorieschosen) && !empty($subcategorieschosen))):?>
|
| 100 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
102 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
| 101 |
<?php endif;?>
|
103 |
<?php endif;?>
|
| 102 |
</div>
|
104 |
</div>
|
| 103 |
<?php endif;?>
|
105 |
<?php endif;?>
|
| 104 |
<?php endif;?>
|
106 |
<?php endif;?>
|
| Line 110... |
Line 112... |
| 110 |
<li class="tab_layout <?php if($id!=2):?>bg-white<?php endif;?>">
|
112 |
<li class="tab_layout <?php if($id!=2):?>bg-white<?php endif;?>">
|
| 111 |
<?php if($id!=2):?>
|
113 |
<?php if($id!=2):?>
|
| 112 |
<div class="dropdown pull-right">
|
114 |
<div class="dropdown pull-right">
|
| 113 |
<a tabindex="0" id="popovertrigger" role="button" class="btn" data-container="body" data-toggle="popover" data-placement="left" data-trigger="click" data-content="<span class='greentext'>Filter by brands</span> to see deals you want"></a>
|
115 |
<a tabindex="0" id="popovertrigger" role="button" class="btn" data-container="body" data-toggle="popover" data-placement="left" data-trigger="click" data-content="<span class='greentext'>Filter by brands</span> to see deals you want"></a>
|
| 114 |
<button class="<?php if(isset($brandschosen) && !empty($brandschosen)):?>red-text<?php endif;?> btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
|
116 |
<button class="<?php if(isset($brandschosen) && !empty($brandschosen)):?>red-text<?php endif;?> btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
|
| 115 |
<i class="glyphicon glyphicon-filter"></i> <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>
|
117 |
<i class="glyphicon glyphicon-filter"></i> <?php if((isset($brandschosen) && !empty($brandschosen))||(isset($subcategorieschosen) && !empty($subcategorieschosen))):?>On<?php endif;?>
|
| 116 |
<span class="caret"></span>
|
118 |
<span class="caret"></span>
|
| 117 |
</button>
|
119 |
</button>
|
| 118 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
120 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
| 119 |
<li role="presentation" class="dropdown-header menu-item">
|
121 |
<li role="presentation" class="dropdown-header menu-item">
|
| 120 |
FILTER
|
122 |
FILTER
|
| 121 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
123 |
<?php if((isset($brandschosen) && !empty($brandschosen)) || (isset($subcategorieschosen) && !empty($subcategorieschosen))):?>
|
| 122 |
<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
|
124 |
<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
|
| 123 |
<?php endif;?>
|
125 |
<?php endif;?>
|
| 124 |
</li>
|
126 |
</li>
|
| 125 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="<?php echo $base_url;?>filter/brand<?php if(isset($id)):?>/<?php echo $id;?><?php endif;?>">By Brands <span class="greyarrow"></span></a></li>
|
127 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="<?php echo $base_url;?>filter/brand<?php if(isset($id)):?>/<?php echo $id;?><?php endif;?>">By Brands <span class="greyarrow"></span></a></li>
|
| - |
|
128 |
|
| - |
|
129 |
<!-- <By subcategory started> -->
|
| - |
|
130 |
<?php if ($id==6):?>
|
| - |
|
131 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="<?php echo $base_url;?>subcategoryfilter/subcategory<?php if(isset($id)):?>/<?php echo $id;?><?php endif;?>">By SubCategory <span class="greyarrow"></span></a></li>
|
| - |
|
132 |
<?php endif;?>
|
| - |
|
133 |
|
| - |
|
134 |
<!-- <By subcategory ended> -->
|
| - |
|
135 |
|
| 126 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
136 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
| 127 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
137 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
| 128 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
138 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
| 129 |
<li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'bestSellerPoints'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=-1">Bestsellers</a></li>
|
139 |
<li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'bestSellerPoints'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=-1">Bestsellers</a></li>
|
| 130 |
<li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>"><span class="sortlabel">Price</span> <a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1" class="btn-asc btn btn-xs">Low</a> <a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1" class="btn-desc btn-xs">High</a></li>
|
140 |
<li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>"><span class="sortlabel">Price</span> <a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1" class="btn-asc btn btn-xs">Low</a> <a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1" class="btn-desc btn-xs">High</a></li>
|