Subversion Repositories SmartDukaan

Rev

Rev 19658 | Rev 19660 | 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>
19656 naman 266
<?php
267
	if(isset($subcategories)){
268
		$catstr = explode("^",$subcategories);
269
	}
270
 
271
?>
19605 naman 272
 
16912 naman 273
 <ul class="nav nav-tabs catselect">
16929 anikendra 274
<?php foreach($categories AS $catId => $name):?>
17686 naman 275
 
19638 naman 276
  	<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)));?>">
19383 amit.gupta 277
	    <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 278
	    	<?php if($catId==6):?>
279
	    		Accessories
280
	    	<?php else:?>
281
	    		<?php echo $name;?>
282
	    	<?php endif;?>
19383 amit.gupta 283
	    </a>
18008 amit.gupta 284
    </li>
19383 amit.gupta 285
<?php endforeach;?>		
16929 anikendra 286
</ul>
19605 naman 287
<div class="filters row" >	
16929 anikendra 288
<!-- For apps tab -->		
289
<?php if($id==2):?>
290
	<div class="text-center">
291
		<div class="text_arrange cb">				
17123 naman 292
 
17129 anikendra 293
                  <div class="card row" >
17310 naman 294
                  	<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 per month</span> 
295
                  		<!-- <u style="font-size:.9em">SEE HOW</u> -->
296
                  		<button type="button" class="btn btn-primary btn-sm">SEE HOW</button>
297
                  	</a><br>
298
                  	<!--<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 299
            <hr style="margin:1px;">
17123 naman 300
            <ul class="list-unstyled " style='margin:1px';>
16929 anikendra 301
                <li class="row row_style" >
17310 naman 302
                  	<div class="row showtips" style="font-size:.9em">
17123 naman 303
                  		<br>
304
                  		<div class='col-xs-11'>
305
                  	 		<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. 
306
                  	 	</div>
307
                  	 	<div class='col-xs-1'><span class="glyphicon glyphicon-chevron-down"></span></div>
308
                  	</div>
16929 anikendra 309
                  </div>
17129 anikendra 310
                  <div class="apptips hidden" style="background:#fff;">
16929 anikendra 311
                    <div class="row">
312
 
17123 naman 313
                    	<div class="col-xs-12" style='padding:1px'>
314
                    		<ol style="text-align:left;background:#f9fafb">
16929 anikendra 315
                    			<li>Only install new apps</li>
316
                    			<li>Keep network connected after installing apps</li>   			
317
                    			<li>Open the app 4-5 minutes after installing</li>
318
                    			<li>Preferably register and login on app</li>
319
                    		</ol>
320
                    	</div>
321
 
322
                    </div>
323
                  </div>              
324
                </li>
325
            </ul>
17313 amit.gupta 326
            <hr style="margin:1px;">
16929 anikendra 327
		</div>
328
	</div>		
329
<?php endif;?>	
330
<!-- End of apps tab code -->
331
<?php if(isset($notification) && !empty($notification)):?>
332
	<?php if($notification['NotificationRule']['type']=='link'):?>
333
	<div class="alert alert-info text-center col-xs-12">
334
		<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
14150 anikendra 335
	</div>
16929 anikendra 336
	<?php elseif($notification['NotificationRule']['type']=='popup'):?>
337
	<?php 
338
		$url = $notification['NotificationRule']['url'];
339
		if(strpos($url, '?')!==false){
340
			$url .= '&user_id='.$logged_user['id'];
341
		}else{
342
			$url .= '?user_id='.$logged_user['id'];
343
		}
344
	?>
17190 naman 345
	<div class="herotext col-xs-9" style='padding-top:0px'>
17130 anikendra 346
		<!-- Daily profitable deals for you -->
18846 naman 347
		<?php //echo $this->element('headerlinks',array(),array());?>
16929 anikendra 348
		<script type="text/javascript">
349
			$(function(){
350
				$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
351
				$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
352
				if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
353
					$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});	
354
					var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
355
					$.post( "/notification_views/add", postdata, function( data ) {});		
356
					ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);	
357
					var properties = {};
358
					properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
359
					pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);			
360
				}
361
			});
362
		</script>
363
	</div>
364
	<?php endif;?>
18846 naman 365
<?php endif;?>
19605 naman 366
 
367
 
368
	<?php if((isset($id) && $id == 6) && ((!isset($brands) || ( isset($brands) && empty($brands))) && (!isset($subcategories) || (isset($subcategories) && empty($subcategories))))):?>
369
 
370
	<div class="col-xs-12 herotext" style='padding-top:0px'> 
371
 
372
			<?php echo $this->element('headerlinks',array(),array());?>
373
 
374
	</div>
375
 
376
 
19616 naman 377
	<?php elseif($id!=2):?>
17190 naman 378
	<div class="col-xs-9 herotext" style='padding-top:0px'>                	
19605 naman 379
 
19658 amit.gupta 380
	    	<?php if((isset($id) && $id == 6) :?>
19605 naman 381
		    	<div id="wrapperboss" style="position:relative;">
382
				<!-- crossfilter start -->
383
 
384
		    		<div id="wrapper1" style="background:white;">
385
						<div id="scroller1">
386
							<ul>
387
 
388
								<?php foreach($allbrandsubcat['idListInfo'] as $akey => $avalue ):?>
19618 naman 389
									<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 390
								<?php endforeach;?>
391
 
392
								<?php foreach($allbrandsubcat['result'] as $ckey => $cvalue ):?>
393
									<?php if(in_array($cvalue[$whatsecondid],$secondloop)):?>
19618 naman 394
										<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 395
										<?php echo $cvalue[$whatsecond];?> <span class="cancelstyle"> X </span>
396
										</li>
397
									<?php endif;?>
398
								<?php endforeach;?>
399
 
400
						    </ul>
401
						</div>
402
					</div>
403
 
404
				<!-- crossfilter end -->
405
 
406
 
407
		    	</div>
408
		    <?php else:?>
409
		    	<?php echo $this->element('headerlinks',array(),array());?>
17123 naman 410
	    	<!-- Daily profitable deals for you	               	        -->
19605 naman 411
		    <?php endif;?>
412
 
413
	</div>   
414
 
415
 
17190 naman 416
	<div class="col-xs-3 pt7">
18388 naman 417
		<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
19605 naman 418
				<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 419
			<?php endif;?>	
420
	</div>
421
	<?php endif;?> 
18846 naman 422
 
19605 naman 423
<?php if((isset($id) && $id == 6)):?>
17552 manish.sha 424
 
19605 naman 425
<?php else:?>
19659 amit.gupta 426
			<?php if(isset($id) && ($id==3 || $id==5)):?>
19605 naman 427
							<div class = 'col-xs-3 bg-white' style='float:left'>
17552 manish.sha 428
 
429
								<ul class="nav">
430
									<li class="tab_layout <?php if($id!=2):?>bg-white<?php endif;?>">
431
										<?php if($id!=2):?>
432
										<div class="dropdown pull-right">
433
											<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 434
											<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">
435
												<i class="glyphicon glyphicon-filter"></i> <?php if ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>On<?php endif;?>	  
17552 manish.sha 436
												<span class="caret"></span>
437
											</button>
438
											<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
439
												<li role="presentation" class="dropdown-header menu-item">
440
													FILTER
18388 naman 441
 
442
 
443
													<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
17552 manish.sha 444
													<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
445
												<?php endif;?>	
446
												</li>
17686 naman 447
												<!-- <By subcategory started> -->
448
												<?php if ($id==6):?>
18388 naman 449
												<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 450
												<?php endif;?>
451
 
452
												<!-- <By subcategory ended> -->
18388 naman 453
 
454
												<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 455
 
17700 naman 456
 
457
 
458
 
17552 manish.sha 459
												<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
460
												<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
461
												<li role="presentation" class="dropdown-header menu-item">SORT</li>
19605 naman 462
												<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 463
												<li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>">
464
													<span class="sortlabel">Price</span> 
19605 naman 465
							<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>
466
							<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 467
												</li>
17552 manish.sha 468
												<!-- <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 469
												<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 470
											</ul>
471
										</div>
472
										<?php endif;?>
473
									</li>	
474
								</ul>	
475
							</div>	
19605 naman 476
			<?php endif; ?>
477
<?php endif;?>
16929 anikendra 478
</div>
19605 naman 479
 
480
<?php if((isset($id) && $id == 6) && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))) && (isset($allbrandsubcat) && !empty($allbrandsubcat))):?>
481
<!-- for quickfilter start-->
482
				<div style="background:white;">
483
		    		<div id="wrapper" style="background:white;">
484
						<div id="scroller">
485
							<ul>
486
							<?php $colorcount = 0;?>
487
							<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
488
								<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
489
								<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
19620 naman 490
									<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 491
 
492
										<?php 
493
											echo $strarr[0]; 
494
											if(sizeof($strarr) >1){
495
												echo "<br>";
19620 naman 496
												for($abs = 1; $abs< sizeof($strarr);$abs++)
19605 naman 497
												{
498
													echo $strarr[$abs]." ";
499
												}	
500
											}									
501
 
502
 
503
 
504
										?>
505
 
506
									</li>
507
									<?php $colorcount = $colorcount+1;
508
										if($colorcount == 6)
509
										{
510
											$colorcount = 0;
511
										}
512
									?>
513
								<?php endif;?>
514
							<?php endforeach;?>
515
						    </ul>
516
						</div>
517
					</div>
518
				</div>
519
<!-- for quickfilter end-->
520
<?php endif;?>