Subversion Repositories SmartDukaan

Rev

Rev 19617 | Rev 19830 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19617 Rev 19621
Line 32... Line 32...
32
<div style="margin-top:4px;">
32
<div style="margin-top:4px;">
33
<div id="wrapper" style="background:white; width:100%; padding:0px;">
33
<div id="wrapper" style="background:white; width:100%; padding:0px;">
34
						<div id="scroller">
34
						<div id="scroller">
35
							<ul>
35
							<ul>
36
							<?php $colorcount = 0;?>
36
							<?php $colorcount = 0;?>
37
							<?php foreach($arrSubCategory as $arrkey => $arrvalue ):?>
37
							<?php foreach($getdet as $arrkey => $arrvalue ):?>
38
								
38
								
39
								<?php if ($arrkey != 0):?>
39
			
40
								<?php $strarr = explode(" ", $arrvalue);?>
40
								<?php $strarr = explode(" ", $arrvalue['subCategory']);?>
41
									<a href="?filter=subcategory&subcategories=<?php echo $arrkey;?>&whatfirst=subCategory">
41
									<a href="?filter=subcategory&subcategories=<?php echo $arrvalue['subCategoryId'];?>&whatfirst=subCategory">
42
										<li class= "quickclick" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($arrvalue) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($arrvalue) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>">
42
										<li class= "quickclick" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($arrvalue['subCategory']) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($arrvalue['subCategory']) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>">
43
										
43
										
44
										<?php 
44
										<?php 
45
											echo $strarr[0]; 
45
											echo $strarr[0]; 
46
											if(sizeof($strarr) >1){
46
											if(sizeof($strarr) >1){
47
												echo "<br>";
47
												echo "<br>";
Line 61... Line 61...
61
										if($colorcount == 6)
61
										if($colorcount == 6)
62
										{
62
										{
63
											$colorcount = 0;
63
											$colorcount = 0;
64
										}
64
										}
65
									?>
65
									?>
66
								<?php endif;?>
-
 
67
							<?php endforeach;?>
66
							<?php endforeach;?>
68
						    </ul>
67
						    </ul>
69
						</div>
68
						</div>
70
</div>
69
</div>
71
</div>
70
</div>