Subversion Repositories SmartDukaan

Rev

Rev 19638 | Rev 19656 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
19605 naman 1
<?php if((isset($id) && $id == 6) && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories)))):?>
2
	<script type="text/javascript" src="<?php echo $base_url;?>js/iscroll.js"></script>
3
	<script type="text/javascript">
4
	function loaded () {
5
		myScroll = new IScroll('#wrapper', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
6
		myScroll1 = new IScroll('#wrapper1', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
7
	}</script>
8
<?php endif;?>
18388 naman 9
 
19605 naman 10
<script>
11
$(document).ready(function(){
12
 
13
	var scrollerwidth = 0;
14
	var scroller1width = 0;
15
	$('#scroller li').each(function() {
16
	    var $this = $(this);
17
	    scrollerwidth =scrollerwidth + $this.outerWidth() + 4;
18
	});
19
	var scrollerwidth = ""+(scrollerwidth + 2)+"px";
20
	$('#scroller1 li').each(function() {
21
	    var $this = $(this);
22
	    scroller1width =scroller1width + $this.outerWidth() + 10;
23
	});
24
	var scroller1width = ""+(scroller1width + 2)+"px";
25
 
26
    $('#scroller').css("width",scrollerwidth);
27
    $('#scroller1').css("width",scroller1width);
28
 
29
	$('.getcancel').click(function(){
30
		var urldet = getJsonFromUrl();
31
		var whatfirst = "";
32
	    if(urldet['whatfirst'] !=undefined){
33
	    	whatfirst = urldet['whatfirst'];
34
	    }
35
		var that = $(this);
36
		var brandid = that.attr('data-brandid');
37
		var subcatid = that.attr('data-subCategoryid');
38
		var subcatarr =[];
39
		var brandarr = [];
40
		var url = "/category/6?";
41
 
42
		if(urldet['brands'] != undefined){
43
			brandarr = urldet['brands'].split("^");
44
		}
45
 
46
		if(urldet['subcategories'] != undefined){
47
			subcatarr = urldet['subcategories'].split("^");
48
		}
49
 
50
		if(that.attr('data-type') == "brand"){			
51
			if(jQuery.inArray(brandid, brandarr) !== -1){
52
					var y = jQuery.grep(brandarr, function(value) {
53
						  return value != brandid;
54
						});
55
					brandarr = y;	
56
 
57
				}
58
		}
59
 
60
		if(that.attr('data-type') == "subCategory"){			
61
			if(jQuery.inArray(subcatid, subcatarr) !== -1){
62
					var y = jQuery.grep(subcatarr, function(value) {
63
						  return value != subcatid;
64
						});
65
					subcatarr = y;
66
				}
67
		}
68
 
69
 
70
		if(brandarr.length != 0 && subcatarr.length == 0)
71
		{
19638 naman 72
			whatfirst = "brand";
19605 naman 73
			url = url + "brands="+brandarr.join('^');
74
		}
75
 
76
		else if(brandarr.length == 0 && subcatarr.length != 0)
77
		{
19638 naman 78
			whatfirst = "subCategory";
19605 naman 79
			url = url + "subcategories="+subcatarr.join('^');
80
		}
81
		else if(brandarr.length != 0 && subcatarr.length != 0)
82
		{
19639 naman 83
			if(whatfirst == ""){
84
				whatfirst = "subCategory";
85
			}
19605 naman 86
			url = url + "brands="+brandarr.join('^')+"&subcategories="+subcatarr.join('^');
87
		}
88
 
89
		if(brandarr.length == 0 && subcatarr.length == 0){
90
			window.location = apihost + "category/6";
91
		}else {
92
			window.location = url+"&whatfirst="+whatfirst;	
93
		}
94
 
95
 
96
 
97
	});	
98
 
99
 
100
 
101
 
102
	$('.downselect').click(function(){
103
 
104
		var urldet = getJsonFromUrl();
105
		var whatfirst = "";
106
		var that = $(this);
107
		var brandid = that.attr('data-brandid');
108
		var subcatid = that.attr('data-subCategoryid');
109
		var subcatarr =[];
110
		var brandarr = [];
111
		var url = "/category/6?";
112
 
113
		if(urldet['brands'] != undefined){
114
			brandarr = urldet['brands'].split("^");
115
		}
116
 
117
		if(urldet['subcategories'] != undefined){
118
			subcatarr = urldet['subcategories'].split("^");
119
		}
19638 naman 120
 
121
		if(urldet['whatfirst'] !=undefined){
122
	    	whatfirst = urldet['whatfirst'];
123
	    }else if(urldet['whatfirst'] == undefined){
124
	    	if(brandarr.length != 0 && subcatarr.length == 0){
125
				whatfirst = "brand";
19639 naman 126
		    }else if(subcatarr.length != 0){
19638 naman 127
				whatfirst = "subCategory";	
128
			}
129
		 }
19605 naman 130
 
131
		if(that.attr('data-type') == "brand"){			
132
			if(jQuery.inArray(brandid, brandarr) !== -1){
133
					var y = jQuery.grep(brandarr, function(value) {
134
						  return value != brandid;
135
						});
136
					brandarr = y;								
137
				}
138
			else{
139
				brandarr.push(brandid);				
140
			}
141
		}
142
 
143
		if(that.attr('data-type') == "subCategory"){			
144
			if(jQuery.inArray(subcatid, subcatarr) !== -1){
145
					var y = jQuery.grep(subcatarr, function(value) {
146
						  return value != subcatid;
147
						});
148
					subcatarr = y;
149
				}
150
			else{				
151
				subcatarr.push(subcatid);
152
			}
153
		}
154
 
155
 
156
		if(brandarr.length != 0 && subcatarr.length == 0)
157
		{
158
			url = url + "brands="+brandarr.join('^');
159
		}
160
 
161
		else if(brandarr.length == 0 && subcatarr.length != 0)
162
		{
163
			url = url + "subcategories="+subcatarr.join('^');
164
		}
165
		else if(brandarr.length != 0 && subcatarr.length != 0)
166
		{
167
			url = url + "brands="+brandarr.join('^')+"&subcategories="+subcatarr.join('^');
168
		}
169
 
170
		window.location = url+"&whatfirst="+whatfirst;
171
 
172
	});	
173
 
174
});
175
</script>
176
<style>
177
.activate{
178
	color:green;
179
}
180
#wrapper,#wrapper1 {
181
	z-index: 1;
182
	bottom: 48px;
183
	left: 0;
184
	overflow: hidden;
185
}
186
#wrapper{
19620 naman 187
	max-height:40px;
19605 naman 188
	width: 97%;
19620 naman 189
	padding: 0px 5px;
190
	min-height: 0px;
19605 naman 191
}
192
#wrapper1{
193
	height:30px;
194
	width: 100%;
195
}
196
 
197
#scroller, #scroller1 {
198
	z-index: 1;
199
	-webkit-tap-highlight-color: rgba(0,0,0,0);
200
	-webkit-transform: translateZ(0);
201
	-moz-transform: translateZ(0);
202
	-ms-transform: translateZ(0);
203
	-o-transform: translateZ(0);
204
	transform: translateZ(0);
205
	-webkit-touch-callout: none;
206
	-webkit-user-select: none;
207
	-moz-user-select: none;
208
	-ms-user-select: none;
209
	user-select: none;
210
	-webkit-text-size-adjust: none;
211
	-moz-text-size-adjust: none;
212
	-ms-text-size-adjust: none;
213
	-o-text-size-adjust: none;
214
	text-size-adjust: none;
215
}
216
 
217
#scroller ul,#scroller1 ul {
218
	list-style: none;
219
	padding: 0;
220
	margin: 0;
221
	width: 100%;	
222
	text-align: center;
223
}
224
 
225
#scroller li, #scroller1 li {
226
	display: block;
227
	float: left;
228
  	margin:2px;
229
	color:white;
230
	border-right: 1px solid #ccc;
231
	background-color: #F2DEDE;
232
	font-size: 12px;
233
}
234
#scroller li{
235
	font-weight:bold;
236
	padding: 7px;
237
	height: 37px;
238
	border-radius:5px;
239
	vertical-align:middle;
240
	font-size: 11px;
241
	min-width: 67px;
242
	max-width: 92px;
243
	text-transform: uppercase;
244
/* 	overflow: hidden ; */
245
	}
246
#scroller1 li {
247
	color: #555;
248
    padding: 5px;
249
    background : none;
250
    height: 23px;
251
    border : #E5E5E5 1px solid;
252
    margin:3px;
253
    text-transform: uppercase;
254
    font-size: 10px;
255
}
256
 
257
.cancelstyle{
258
	font-weight:bold;
259
	background: black;
260
    padding: 1px 3px;
261
    color: white;
262
	border-radius: 4px;
263
 
264
}
265
</style>
266
<?php $catstr = explode("^",$subcategories);?>
267
 
16912 naman 268
 <ul class="nav nav-tabs catselect">
16929 anikendra 269
<?php foreach($categories AS $catId => $name):?>
17686 naman 270
 
19638 naman 271
  	<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)));?>">
19383 amit.gupta 272
	    <a href="/category/<?php echo $catId;?>"<?php if($id!=6 && $catId==6):?> id="popovertrigger4" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Accessories at wholesale rates"<?php endif;?>>
19638 naman 273
	    	<?php if($catId==6):?>
274
	    		Accessories
275
	    	<?php else:?>
276
	    		<?php echo $name;?>
277
	    	<?php endif;?>
19383 amit.gupta 278
	    </a>
18008 amit.gupta 279
    </li>
19383 amit.gupta 280
<?php endforeach;?>		
16929 anikendra 281
</ul>
19605 naman 282
<div class="filters row" >	
16929 anikendra 283
<!-- For apps tab -->		
284
<?php if($id==2):?>
285
	<div class="text-center">
286
		<div class="text_arrange cb">				
17123 naman 287
 
17129 anikendra 288
                  <div class="card row" >
17310 naman 289
                  	<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 per month</span> 
290
                  		<!-- <u style="font-size:.9em">SEE HOW</u> -->
291
                  		<button type="button" class="btn btn-primary btn-sm">SEE HOW</button>
292
                  	</a><br>
293
                  	<!--<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>
17313 amit.gupta 294
            <hr style="margin:1px;">
17123 naman 295
            <ul class="list-unstyled " style='margin:1px';>
16929 anikendra 296
                <li class="row row_style" >
17310 naman 297
                  	<div class="row showtips" style="font-size:.9em">
17123 naman 298
                  		<br>
299
                  		<div class='col-xs-11'>
300
                  	 		<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. 
301
                  	 	</div>
302
                  	 	<div class='col-xs-1'><span class="glyphicon glyphicon-chevron-down"></span></div>
303
                  	</div>
16929 anikendra 304
                  </div>
17129 anikendra 305
                  <div class="apptips hidden" style="background:#fff;">
16929 anikendra 306
                    <div class="row">
307
 
17123 naman 308
                    	<div class="col-xs-12" style='padding:1px'>
309
                    		<ol style="text-align:left;background:#f9fafb">
16929 anikendra 310
                    			<li>Only install new apps</li>
311
                    			<li>Keep network connected after installing apps</li>   			
312
                    			<li>Open the app 4-5 minutes after installing</li>
313
                    			<li>Preferably register and login on app</li>
314
                    		</ol>
315
                    	</div>
316
 
317
                    </div>
318
                  </div>              
319
                </li>
320
            </ul>
17313 amit.gupta 321
            <hr style="margin:1px;">
16929 anikendra 322
		</div>
323
	</div>		
324
<?php endif;?>	
325
<!-- End of apps tab code -->
326
<?php if(isset($notification) && !empty($notification)):?>
327
	<?php if($notification['NotificationRule']['type']=='link'):?>
328
	<div class="alert alert-info text-center col-xs-12">
329
		<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
14150 anikendra 330
	</div>
16929 anikendra 331
	<?php elseif($notification['NotificationRule']['type']=='popup'):?>
332
	<?php 
333
		$url = $notification['NotificationRule']['url'];
334
		if(strpos($url, '?')!==false){
335
			$url .= '&user_id='.$logged_user['id'];
336
		}else{
337
			$url .= '?user_id='.$logged_user['id'];
338
		}
339
	?>
17190 naman 340
	<div class="herotext col-xs-9" style='padding-top:0px'>
17130 anikendra 341
		<!-- Daily profitable deals for you -->
18846 naman 342
		<?php //echo $this->element('headerlinks',array(),array());?>
16929 anikendra 343
		<script type="text/javascript">
344
			$(function(){
345
				$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
346
				$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
347
				if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
348
					$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});	
349
					var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
350
					$.post( "/notification_views/add", postdata, function( data ) {});		
351
					ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);	
352
					var properties = {};
353
					properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
354
					pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);			
355
				}
356
			});
357
		</script>
358
	</div>
359
	<?php endif;?>
18846 naman 360
<?php endif;?>
19605 naman 361
 
362
 
363
	<?php if((isset($id) && $id == 6) && ((!isset($brands) || ( isset($brands) && empty($brands))) && (!isset($subcategories) || (isset($subcategories) && empty($subcategories))))):?>
364
 
365
	<div class="col-xs-12 herotext" style='padding-top:0px'> 
366
 
367
			<?php echo $this->element('headerlinks',array(),array());?>
368
 
369
	</div>
370
 
371
 
19616 naman 372
	<?php elseif($id!=2):?>
17190 naman 373
	<div class="col-xs-9 herotext" style='padding-top:0px'>                	
19605 naman 374
 
375
	    	<?php if((isset($id) && $id == 6) && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories)))):?>
376
		    	<div id="wrapperboss" style="position:relative;">
377
				<!-- crossfilter start -->
378
 
379
		    		<div id="wrapper1" style="background:white;">
380
						<div id="scroller1">
381
							<ul>
382
 
383
								<?php foreach($allbrandsubcat['idListInfo'] as $akey => $avalue ):?>
19618 naman 384
									<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>
19605 naman 385
								<?php endforeach;?>
386
 
387
								<?php foreach($allbrandsubcat['result'] as $ckey => $cvalue ):?>
388
									<?php if(in_array($cvalue[$whatsecondid],$secondloop)):?>
19618 naman 389
										<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];?>">
19605 naman 390
										<?php echo $cvalue[$whatsecond];?> <span class="cancelstyle"> X </span>
391
										</li>
392
									<?php endif;?>
393
								<?php endforeach;?>
394
 
395
						    </ul>
396
						</div>
397
					</div>
398
 
399
				<!-- crossfilter end -->
400
 
401
 
402
		    	</div>
403
		    <?php else:?>
404
		    	<?php echo $this->element('headerlinks',array(),array());?>
17123 naman 405
	    	<!-- Daily profitable deals for you	               	        -->
19605 naman 406
		    <?php endif;?>
407
 
408
	</div>   
409
 
410
 
17190 naman 411
	<div class="col-xs-3 pt7">
18388 naman 412
		<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
19605 naman 413
				<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>
16929 anikendra 414
			<?php endif;?>	
415
	</div>
416
	<?php endif;?> 
18846 naman 417
 
19605 naman 418
<?php if((isset($id) && $id == 6)):?>
17552 manish.sha 419
 
19605 naman 420
<?php else:?>
421
			<?php if($id!=2):?>
422
							<div class = 'col-xs-3 bg-white' style='float:left'>
17552 manish.sha 423
 
424
								<ul class="nav">
425
									<li class="tab_layout <?php if($id!=2):?>bg-white<?php endif;?>">
426
										<?php if($id!=2):?>
427
										<div class="dropdown pull-right">
428
											<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>
18388 naman 429
											<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">
430
												<i class="glyphicon glyphicon-filter"></i> <?php if ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>On<?php endif;?>	  
17552 manish.sha 431
												<span class="caret"></span>
432
											</button>
433
											<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
434
												<li role="presentation" class="dropdown-header menu-item">
435
													FILTER
18388 naman 436
 
437
 
438
													<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
17552 manish.sha 439
													<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
440
												<?php endif;?>	
441
												</li>
17686 naman 442
												<!-- <By subcategory started> -->
443
												<?php if ($id==6):?>
18388 naman 444
												<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>
17686 naman 445
												<?php endif;?>
446
 
447
												<!-- <By subcategory ended> -->
18388 naman 448
 
449
												<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>
17686 naman 450
 
17700 naman 451
 
452
 
453
 
17552 manish.sha 454
												<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
455
												<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
456
												<li role="presentation" class="dropdown-header menu-item">SORT</li>
19605 naman 457
												<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>
18388 naman 458
												<li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>">
459
													<span class="sortlabel">Price</span> 
19605 naman 460
							<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>
461
							<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>
18388 naman 462
												</li>
17552 manish.sha 463
												<!-- <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> -->
19605 naman 464
												<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>
17552 manish.sha 465
											</ul>
466
										</div>
467
										<?php endif;?>
468
									</li>	
469
								</ul>	
470
							</div>	
19605 naman 471
			<?php endif; ?>
472
<?php endif;?>
16929 anikendra 473
</div>
19605 naman 474
 
475
<?php if((isset($id) && $id == 6) && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))) && (isset($allbrandsubcat) && !empty($allbrandsubcat))):?>
476
<!-- for quickfilter start-->
477
				<div style="background:white;">
478
		    		<div id="wrapper" style="background:white;">
479
						<div id="scroller">
480
							<ul>
481
							<?php $colorcount = 0;?>
482
							<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
483
								<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
484
								<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
19620 naman 485
									<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;?>">
19605 naman 486
 
487
										<?php 
488
											echo $strarr[0]; 
489
											if(sizeof($strarr) >1){
490
												echo "<br>";
19620 naman 491
												for($abs = 1; $abs< sizeof($strarr);$abs++)
19605 naman 492
												{
493
													echo $strarr[$abs]." ";
494
												}	
495
											}									
496
 
497
 
498
 
499
										?>
500
 
501
									</li>
502
									<?php $colorcount = $colorcount+1;
503
										if($colorcount == 6)
504
										{
505
											$colorcount = 0;
506
										}
507
									?>
508
								<?php endif;?>
509
							<?php endforeach;?>
510
						    </ul>
511
						</div>
512
					</div>
513
				</div>
514
<!-- for quickfilter end-->
515
<?php endif;?>