Subversion Repositories SmartDukaan

Rev

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