| Line 139... |
Line 139... |
| 139 |
</a>
|
139 |
</a>
|
| 140 |
</li>
|
140 |
</li>
|
| 141 |
<?php endforeach;?>
|
141 |
<?php endforeach;?>
|
| 142 |
</ul>
|
142 |
</ul>
|
| 143 |
|
143 |
|
| - |
|
144 |
<?php if($this->params->action != 'linkdeal'):?>
|
| 144 |
<?php if(isset($id)):?>
|
145 |
<?php if(isset($id)):?>
|
| 145 |
|
146 |
|
| 146 |
<div class="filters row" >
|
147 |
<div class="filters row" >
|
| 147 |
<!-- For apps tab -->
|
148 |
<!-- For apps tab -->
|
| 148 |
<?php if($id==2):?>
|
149 |
<?php if($id==2):?>
|
| 149 |
<div class="text-center">
|
150 |
<div class="text-center">
|
| 150 |
<div class="text_arrange cb">
|
151 |
<div class="text_arrange cb">
|
| 151 |
|
152 |
|
| 152 |
<div class="card row" >
|
153 |
<div class="card row" >
|
| 153 |
<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 per month</span>
|
154 |
<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 per month</span>
|
| 154 |
<!-- <u style="font-size:.9em">SEE HOW</u> -->
|
155 |
<!-- <u style="font-size:.9em">SEE HOW</u> -->
|
| 155 |
<button type="button" class="btn btn-primary btn-sm">SEE HOW</button>
|
156 |
<button type="button" class="btn btn-primary btn-sm">SEE HOW</button>
|
| 156 |
</a><br>
|
157 |
</a><br>
|
| 157 |
<!--<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>--><a href = "<?php echo $base_url;?>appb" style="font-size:1em; color:black"> Download these free apps for your customer.</a>
|
158 |
<!--<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>--><a href = "<?php echo $base_url;?>appb" style="font-size:1em; color:black"> Download these free apps for your customer.</a>
|
| 158 |
<hr style="margin:1px;">
|
159 |
<hr style="margin:1px;">
|
| 159 |
<ul class="list-unstyled " style='margin:1px';>
|
160 |
<ul class="list-unstyled " style='margin:1px';>
|
| 160 |
<li class="row row_style" >
|
161 |
<li class="row row_style" >
|
| 161 |
<div class="row showtips" style="font-size:.9em">
|
162 |
<div class="row showtips" style="font-size:.9em">
|
| 162 |
<br>
|
163 |
<br>
|
| 163 |
<div class='col-xs-11'>
|
164 |
<div class='col-xs-11'>
|
| 164 |
<font color= 'grey'>Normally cashbacks are not approved for 30-40% cases.</font><br> <font color='red'>Click here </font>to see tips on increasing your profit.
|
165 |
<font color= 'grey'>Normally cashbacks are not approved for 30-40% cases.</font><br> <font color='red'>Click here </font>to see tips on increasing your profit.
|
| 165 |
</div>
|
166 |
</div>
|
| 166 |
<div class='col-xs-1'><span class="glyphicon glyphicon-chevron-down"></span></div>
|
167 |
<div class='col-xs-1'><span class="glyphicon glyphicon-chevron-down"></span></div>
|
| 167 |
</div>
|
168 |
</div>
|
| 168 |
</div>
|
169 |
</div>
|
| 169 |
<div class="apptips hidden" style="background:#fff;">
|
170 |
<div class="apptips hidden" style="background:#fff;">
|
| 170 |
<div class="row">
|
171 |
<div class="row">
|
| 171 |
|
172 |
|
| 172 |
<div class="col-xs-12" style='padding:1px'>
|
173 |
<div class="col-xs-12" style='padding:1px'>
|
| 173 |
<ol style="text-align:left;background:#f9fafb">
|
174 |
<ol style="text-align:left;background:#f9fafb">
|
| 174 |
<li>Only install new apps</li>
|
175 |
<li>Only install new apps</li>
|
| 175 |
<li>Keep network connected after installing apps</li>
|
176 |
<li>Keep network connected after installing apps</li>
|
| 176 |
<li>Open the app 4-5 minutes after installing</li>
|
177 |
<li>Open the app 4-5 minutes after installing</li>
|
| 177 |
<li>Preferably register and login on app</li>
|
178 |
<li>Preferably register and login on app</li>
|
| 178 |
</ol>
|
179 |
</ol>
|
| 179 |
</div>
|
180 |
</div>
|
| 180 |
|
181 |
|
| 181 |
</div>
|
182 |
</div>
|
| 182 |
</div>
|
183 |
</div>
|
| 183 |
</li>
|
184 |
</li>
|
| 184 |
</ul>
|
185 |
</ul>
|
| 185 |
<hr style="margin:1px;">
|
186 |
<hr style="margin:1px;">
|
| - |
|
187 |
</div>
|
| - |
|
188 |
</div>
|
| - |
|
189 |
<?php endif;?>
|
| - |
|
190 |
<!-- End of apps tab code -->
|
| - |
|
191 |
<?php if(isset($notification) && !empty($notification)):?>
|
| - |
|
192 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
| - |
|
193 |
<div class="alert alert-info text-center col-xs-12">
|
| - |
|
194 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
| 186 |
</div>
|
195 |
</div>
|
| 187 |
</div>
|
- |
|
| 188 |
<?php endif;?>
|
- |
|
| 189 |
<!-- End of apps tab code -->
|
- |
|
| 190 |
<?php if(isset($notification) && !empty($notification)):?>
|
- |
|
| 191 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
- |
|
| 192 |
<div class="alert alert-info text-center col-xs-12">
|
- |
|
| 193 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
- |
|
| 194 |
</div>
|
- |
|
| 195 |
<?php elseif($notification['NotificationRule']['type']=='popup'):?>
|
196 |
<?php elseif($notification['NotificationRule']['type']=='popup'):?>
|
| 196 |
<?php
|
197 |
<?php
|
| 197 |
$url = $notification['NotificationRule']['url'];
|
198 |
$url = $notification['NotificationRule']['url'];
|
| 198 |
if(strpos($url, '?')!==false){
|
199 |
if(strpos($url, '?')!==false){
|
| 199 |
$url .= '&user_id='.$logged_user['id'];
|
200 |
$url .= '&user_id='.$logged_user['id'];
|
| 200 |
}else{
|
201 |
}else{
|
| 201 |
$url .= '?user_id='.$logged_user['id'];
|
202 |
$url .= '?user_id='.$logged_user['id'];
|
| 202 |
}
|
203 |
}
|
| 203 |
?>
|
204 |
?>
|
| 204 |
<div class="herotext col-xs-9" style='padding-top:0px'>
|
205 |
<div class="herotext col-xs-9" style='padding-top:0px'>
|
| 205 |
<!-- Daily profitable deals for you -->
|
206 |
<!-- Daily profitable deals for you -->
|
| 206 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
207 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
| 207 |
<script type="text/javascript">
|
208 |
<script type="text/javascript">
|
| 208 |
$(function(){
|
209 |
$(function(){
|
| 209 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
210 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
| 210 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
211 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
| 211 |
if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
|
212 |
if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
|
| 212 |
$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});
|
213 |
$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});
|
| 213 |
var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
|
214 |
var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
|
| 214 |
$.post( "/notification_views/add", postdata, function( data ) {});
|
215 |
$.post( "/notification_views/add", postdata, function( data ) {});
|
| 215 |
ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);
|
216 |
ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);
|
| 216 |
var properties = {};
|
217 |
var properties = {};
|
| 217 |
properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
|
218 |
properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
|
| 218 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
219 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
| 219 |
}
|
220 |
}
|
| 220 |
});
|
221 |
});
|
| 221 |
</script>
|
222 |
</script>
|
| 222 |
</div>
|
223 |
</div>
|
| - |
|
224 |
<?php endif;?>
|
| 223 |
<?php endif;?>
|
225 |
<?php endif;?>
|
| 224 |
<?php endif;?>
|
- |
|
| 225 |
|
- |
|
| 226 |
|
- |
|
| 227 |
<?php if((isset($id) && $id == 6) && ((!isset($brands) || ( isset($brands) && empty($brands))) && (!isset($subcategories) || (isset($subcategories) && empty($subcategories))))):?>
|
- |
|
| 228 |
|
- |
|
| 229 |
<div class="col-xs-12 herotext" style='padding-top:0px'>
|
- |
|
| 230 |
|
226 |
|
| 231 |
<?php echo $this->element('headerlinks',array(),array());?>
|
- |
|
| 232 |
|
227 |
|
| - |
|
228 |
<?php if($id != 2 && ((!isset($brands) || ( empty($brands))) && (!isset($subcategories) || (empty($subcategories))))):?>
|
| - |
|
229 |
|
| - |
|
230 |
<div class="col-xs-12 herotext" style='padding-top:0px'>
|
| - |
|
231 |
|
| - |
|
232 |
<?php echo $this->element('headerlinks',array(),array());?>
|
| - |
|
233 |
|
| 233 |
</div>
|
234 |
</div>
|
| - |
|
235 |
|
| - |
|
236 |
<?php elseif($id != 2 && $id != 6 && isset($brands) || !empty($brands)):?>
|
| - |
|
237 |
|
| - |
|
238 |
<div class="col-xs-12 herotext" style='padding-top:0px'>
|
| - |
|
239 |
|
| - |
|
240 |
<?php echo $this->element('headerlinks',array(),array());?>
|
| - |
|
241 |
|
| - |
|
242 |
</div>
|
| 234 |
|
243 |
|
| 235 |
|
- |
|
| 236 |
<?php elseif($id!=2):?>
|
244 |
<?php elseif($id!=2):?>
|
| 237 |
<div class="col-xs-9 herotext" style='padding-top:0px'>
|
245 |
<div class="col-xs-9 herotext" style='padding-top:0px'>
|
| 238 |
|
246 |
|
| 239 |
<?php if((isset($id) && $id == 6)) :?>
|
247 |
<?php if($id == 6):?>
|
| 240 |
<div id="wrapperboss" style="position:relative;">
|
248 |
<div id="wrapperboss" style="position:relative;">
|
| 241 |
<!-- crossfilter start -->
|
249 |
<!-- crossfilter start -->
|
| 242 |
|
250 |
|
| 243 |
<div id="wrapper1" style="background:white;">
|
251 |
<div id="wrapper1" style="background:white;">
|
| 244 |
<div id="scroller1">
|
252 |
<div id="scroller1">
|
| 245 |
<ul>
|
253 |
<ul>
|
| 246 |
|
254 |
|
| 247 |
<?php foreach($allbrandsubcat['idListInfo'] as $akey => $avalue ):?>
|
255 |
<?php foreach($allbrandsubcat['idListInfo'] as $akey => $avalue ):?>
|
| 248 |
<li class="upselect mtop getcancel quickclick" data-type="<?php if(isset($whatfirst)&&!empty($whatfirst)):?><?php echo $whatfirst;?><?php endif;?>" data-<?php echo $whatfirst."id";?>="<?php echo $akey;?>" ><?php echo $avalue;?> <span class="cancelstyle"> X </span></li>
|
256 |
<li class="upselect mtop getcancel quickclick" data-type="<?php if(isset($whatfirst)&&!empty($whatfirst)):?><?php echo $whatfirst;?><?php endif;?>" data-<?php echo $whatfirst."id";?>="<?php echo $akey;?>" ><?php echo $avalue;?> <span class="cancelstyle"> X </span></li>
|
| 249 |
<?php endforeach;?>
|
257 |
<?php endforeach;?>
|
| 250 |
|
258 |
|
| 251 |
<?php foreach($allbrandsubcat['result'] as $ckey => $cvalue ):?>
|
259 |
<?php foreach($allbrandsubcat['result'] as $ckey => $cvalue ):?>
|
| 252 |
<?php if(in_array($cvalue[$whatsecondid],$secondloop)):?>
|
260 |
<?php if(in_array($cvalue[$whatsecondid],$secondloop)):?>
|
| 253 |
<li class="upselect getcancel quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $cvalue[$whatsecondid];?>">
|
261 |
<li class="upselect getcancel quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $cvalue[$whatsecondid];?>">
|
| 254 |
<?php echo $cvalue[$whatsecond];?> <span class="cancelstyle"> X </span>
|
262 |
<?php echo $cvalue[$whatsecond];?> <span class="cancelstyle"> X </span>
|
| 255 |
</li>
|
263 |
</li>
|
| 256 |
<?php endif;?>
|
264 |
<?php endif;?>
|
| 257 |
<?php endforeach;?>
|
265 |
<?php endforeach;?>
|
| 258 |
|
266 |
|
| 259 |
</ul>
|
267 |
</ul>
|
| - |
|
268 |
</div>
|
| 260 |
</div>
|
269 |
</div>
|
| 261 |
</div>
|
- |
|
| 262 |
|
270 |
|
| 263 |
<!-- crossfilter end -->
|
271 |
<!-- crossfilter end -->
|
| 264 |
|
272 |
|
| - |
|
273 |
|
| - |
|
274 |
</div>
|
| - |
|
275 |
<?php elseif (isset($brands) || !empty($brands)):?>
|
| - |
|
276 |
<?php echo $this->element('headerlinks',array(),array());?>
|
| - |
|
277 |
<!-- Daily profitable deals for you -->
|
| - |
|
278 |
<?php endif;?>
|
| 265 |
|
279 |
|
| 266 |
</div>
|
- |
|
| 267 |
<?php else:?>
|
- |
|
| 268 |
<?php echo $this->element('headerlinks',array(),array());?>
|
- |
|
| 269 |
<!-- Daily profitable deals for you -->
|
- |
|
| 270 |
<?php endif;?>
|
- |
|
| 271 |
|
- |
|
| 272 |
</div>
|
280 |
</div>
|
| 273 |
|
281 |
|
| 274 |
|
282 |
|
| 275 |
<div class="col-xs-3 pt7">
|
283 |
<div class="col-xs-3 pt7">
|
| 276 |
<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
|
284 |
<?php if($id == 6 && (isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
|
| 277 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters" style="margin-top: 4px;padding: 2px 16px; background: #efefef !important;border: 1px; color: #333!important;font-size: 12px;"> RESET </a>
|
285 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters" style="margin-top: 4px;padding: 2px 16px; background: #efefef !important;border: 1px; color: #333!important;font-size: 12px;"> RESET </a>
|
| 278 |
<?php endif;?>
|
286 |
<?php endif;?>
|
| - |
|
287 |
</div>
|
| - |
|
288 |
<?php endif;?>
|
| - |
|
289 |
|
| - |
|
290 |
|
| 279 |
</div>
|
291 |
</div>
|
| 280 |
<?php endif;?>
|
- |
|
| 281 |
|
- |
|
| 282 |
<?php if((isset($id) && $id == 6)):?>
|
- |
|
| 283 |
|
292 |
|
| 284 |
<?php else:?>
|
- |
|
| 285 |
<?php if(isset($id) && ($id==3 || $id==5)):?>
|
- |
|
| 286 |
<div class = 'col-xs-3 bg-white' style='float:left'>
|
- |
|
| 287 |
|
- |
|
| 288 |
<ul class="nav">
|
- |
|
| 289 |
<li class="tab_layout <?php if($id!=2):?>bg-white<?php endif;?>">
|
- |
|
| 290 |
<?php if($id!=2):?>
|
- |
|
| 291 |
<div class="dropdown pull-right">
|
- |
|
| 292 |
<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>
|
- |
|
| 293 |
<button class="<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>red-text<?php endif;?> btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
|
293 |
<?php if($id == 6 && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))) && (isset($allbrandsubcat) && !empty($allbrandsubcat))):?>
|
| 294 |
<i class="glyphicon glyphicon-filter"></i> <?php if ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>On<?php endif;?>
|
- |
|
| 295 |
<span class="caret"></span>
|
294 |
<!-- for quickfilter start-->
|
| 296 |
</button>
|
295 |
<div style="background:white;">
|
| 297 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
- |
|
| 298 |
<li role="presentation" class="dropdown-header menu-item">
|
296 |
<div id="wrapper" style="background:white;">
|
| 299 |
FILTER
|
297 |
<div id="scroller">
|
| 300 |
|
- |
|
| 301 |
|
298 |
<ul>
|
| 302 |
<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
|
- |
|
| 303 |
<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
|
- |
|
| 304 |
<?php endif;?>
|
299 |
<?php $colorcount = 0;?>
|
| 305 |
</li>
|
- |
|
| 306 |
<!-- <By subcategory started> -->
|
300 |
<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
|
| 307 |
<?php if ($id==6):?>
|
301 |
<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
|
| 308 |
<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;?>/?<?php echo $_SERVER["QUERY_STRING"];?>">By Product <span class="greyarrow"></span></a></li>
|
302 |
<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
|
| 309 |
<?php endif;?>
|
303 |
<li class="downselect quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $bvalue[$whatsecondid];?>" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($bvalue[$whatsecond]) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($bvalue[$whatsecond]) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>">
|
| 310 |
|
- |
|
| 311 |
<!-- <By subcategory ended> -->
|
- |
|
| 312 |
|
304 |
|
| - |
|
305 |
<?php
|
| - |
|
306 |
echo $strarr[0];
|
| 313 |
<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;?>/?<?php echo $_SERVER["QUERY_STRING"];?>">By Brands <span class="greyarrow"></span></a></li>
|
307 |
if(sizeof($strarr) >1){
|
| - |
|
308 |
echo "<br>";
|
| - |
|
309 |
for($abs = 1; $abs< sizeof($strarr);$abs++)
|
| 314 |
|
310 |
{
|
| - |
|
311 |
echo $strarr[$abs]." ";
|
| - |
|
312 |
}
|
| - |
|
313 |
}
|
| 315 |
|
314 |
|
| 316 |
|
315 |
|
| 317 |
|
- |
|
| 318 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
- |
|
| 319 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
- |
|
| 320 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
- |
|
| 321 |
<li role="presentation" class="menu-item <?php if(isset($sortlabel) && $sortlabel == 'bestseller'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=-1<?php if(isset($filterstr)):?><?php echo $filterstr;?><?php endif;?>">Bestsellers</a></li>
|
- |
|
| 322 |
<li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>">
|
- |
|
| 323 |
<span class="sortlabel">Price</span>
|
- |
|
| 324 |
<a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1<?php echo $filterstr;?>" class="btn-asc btn btn-xs" <?php if(isset($sortlabel) && $sortlabel == 'pricelow'):?> style="background:#36d98a;" <?php endif;?>>Low</a>
|
- |
|
| 325 |
<a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1<?php echo $filterstr;?>" class="btn-desc btn-xs" <?php if(isset($sortlabel) && $sortlabel == 'pricehigh'):?> style="background:#36d98a;" <?php endif;?>>High</a>
|
- |
|
| 326 |
</li>
|
- |
|
| 327 |
<!-- <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'available_price' && $direction=='-1'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1">Price High to Low</a></li> -->
|
- |
|
| 328 |
<li role="presentation" class="menu-item<?php if(isset($sortlabel) && $sortlabel == 'recommended'):?> selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=-1<?php echo $filterstr;?>">Recommended</a></li>
|
- |
|
| 329 |
</ul>
|
- |
|
| 330 |
</div>
|
- |
|
| 331 |
<?php endif;?>
|
- |
|
| 332 |
</li>
|
- |
|
| 333 |
</ul>
|
- |
|
| 334 |
</div>
|
- |
|
| 335 |
<?php endif; ?>
|
- |
|
| 336 |
<?php endif;?>
|
- |
|
| 337 |
</div>
|
- |
|
| 338 |
|
- |
|
| 339 |
<?php if((isset($id) && $id == 6) && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))) && (isset($allbrandsubcat) && !empty($allbrandsubcat))):?>
|
- |
|
| 340 |
<!-- for quickfilter start-->
|
- |
|
| 341 |
<div style="background:white;">
|
- |
|
| 342 |
<div id="wrapper" style="background:white;">
|
- |
|
| 343 |
<div id="scroller">
|
- |
|
| 344 |
<ul>
|
- |
|
| 345 |
<?php $colorcount = 0;?>
|
- |
|
| 346 |
<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
|
- |
|
| 347 |
<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
|
- |
|
| 348 |
<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
|
- |
|
| 349 |
<li class="downselect quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $bvalue[$whatsecondid];?>" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($bvalue[$whatsecond]) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($bvalue[$whatsecond]) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>">
|
- |
|
| 350 |
|
- |
|
| 351 |
<?php
|
- |
|
| 352 |
echo $strarr[0];
|
- |
|
| 353 |
if(sizeof($strarr) >1){
|
- |
|
| 354 |
echo "<br>";
|
- |
|
| 355 |
for($abs = 1; $abs< sizeof($strarr);$abs++)
|
- |
|
| 356 |
{
|
316 |
|
| 357 |
echo $strarr[$abs]." ";
|
- |
|
| 358 |
}
|
- |
|
| 359 |
}
|
- |
|
| 360 |
|
- |
|
| 361 |
|
317 |
?>
|
| 362 |
|
318 |
|
| - |
|
319 |
</li>
|
| - |
|
320 |
<?php $colorcount = $colorcount+1;
|
| - |
|
321 |
if($colorcount == 6)
|
| - |
|
322 |
{
|
| - |
|
323 |
$colorcount = 0;
|
| - |
|
324 |
}
|
| 363 |
?>
|
325 |
?>
|
| 364 |
|
- |
|
| 365 |
</li>
|
- |
|
| 366 |
<?php $colorcount = $colorcount+1;
|
- |
|
| 367 |
if($colorcount == 6)
|
- |
|
| 368 |
{
|
- |
|
| 369 |
$colorcount = 0;
|
- |
|
| 370 |
}
|
- |
|
| 371 |
?>
|
- |
|
| 372 |
<?php endif;?>
|
326 |
<?php endif;?>
|
| 373 |
<?php endforeach;?>
|
327 |
<?php endforeach;?>
|
| 374 |
</ul>
|
328 |
</ul>
|
| - |
|
329 |
</div>
|
| 375 |
</div>
|
330 |
</div>
|
| 376 |
</div>
|
331 |
</div>
|
| 377 |
</div>
|
- |
|
| 378 |
<!-- for quickfilter end-->
|
332 |
<!-- for quickfilter end-->
|
| - |
|
333 |
<?php endif;?>
|
| - |
|
334 |
|
| 379 |
<?php endif;?>
|
335 |
<?php endif;?>
|
| 380 |
|
336 |
|
| 381 |
<?php endif;?>
|
337 |
<?php endif;?>
|
| 382 |
|
338 |
|