Subversion Repositories SmartDukaan

Rev

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

Rev 19606 Rev 19615
Line 37... Line 37...
37
							<?php foreach($arrSubCategory as $arrkey => $arrvalue ):?>
37
							<?php foreach($arrSubCategory as $arrkey => $arrvalue ):?>
38
								
38
								
39
								<?php if ($arrkey != 0):?>
39
								<?php if ($arrkey != 0):?>
40
								<?php $strarr = explode(" ", $arrvalue);?>
40
								<?php $strarr = explode(" ", $arrvalue);?>
41
									<a href="?filter=subcategory&subcategories=<?php echo $arrkey;?>&whatfirst=subCategory">
41
									<a href="?filter=subcategory&subcategories=<?php echo $arrkey;?>&whatfirst=subCategory">
42
										<li 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 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;?>">
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>";
48
												for($abs = 1; $abs<= sizeof($strarr);$abs++)
48
												for($abs = 1; $abs< sizeof($strarr);$abs++)
49
												{
49
												{
50
													echo $strarr[$abs]." ";
50
													echo $strarr[$abs]." ";
51
												}	
51
												}	
52
											}									
52
											}									
53
											
53