Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.02 KB | None | 0 0
  1. <?php
  2. $menu = & JSite::getMenu();
  3. $activeitem = $menu->getActive();
  4. if ($activeitem->id == '1') { ?>
  5. <style type="text/css">
  6. <!--
  7. #footer .moduletable-fmenu ul li.item10 a:link,
  8. #footer .moduletable-fmenu ul li.item10 a:visited,
  9. #footer .moduletable-fmenu ul li.item10 a:active {
  10. text-decoration: none;
  11. color: #fff;
  12. }
  13. -->
  14. </style>
  15. <?php } else if($activeitem->id == '3') { ?>
  16. <style type="text/css">
  17. <!--
  18. #footer .moduletable-fmenu ul li.item11 a:link,
  19. #footer .moduletable-fmenu ul li.item11 a:visited,
  20. #footer .moduletable-fmenu ul li.item11 a:active {
  21. text-decoration: none;
  22. color: #fff;
  23. }
  24. -->
  25. </style>
  26. <?php } else if($activeitem->id == '54') { ?>
  27. <style type="text/css">
  28. <!--
  29. #footer .moduletable-fmenu ul li.item12 a:link,
  30. #footer .moduletable-fmenu ul li.item12 a:visited,
  31. #footer .moduletable-fmenu ul li.item12 a:active {
  32. text-decoration: none;
  33. color: #fff;
  34. }
  35. -->
  36. </style>
  37. <?php } else if($activeitem->id == '64') { ?>
  38. <style type="text/css">
  39. <!--
  40. #footer .moduletable-fmenu ul li.item67 a:link,
  41. #footer .moduletable-fmenu ul li.item67 a:visited,
  42. #footer .moduletable-fmenu ul li.item67 a:active {
  43. text-decoration: none;
  44. color: #fff;
  45. }
  46. -->
  47. </style>
  48. <?php } else if($activeitem->id == '63') { ?>
  49. <style type="text/css">
  50. <!--
  51. #footer .moduletable-fmenu ul li.item14 a:link,
  52. #footer .moduletable-fmenu ul li.item14 a:visited,
  53. #footer .moduletable-fmenu ul li.item14 a:active {
  54. text-decoration: none;
  55. color: #fff;
  56. }
  57. -->
  58. </style>
  59. <?php } else if($activeitem->id == '66') { ?>
  60. <style type="text/css">
  61. <!--
  62. #footer .moduletable-fmenu ul li.item15 a:link,
  63. #footer .moduletable-fmenu ul li.item15 a:visited,
  64. #footer .moduletable-fmenu ul li.item15 a:active {
  65. text-decoration: none;
  66. color: #fff;
  67. }
  68. -->
  69. </style>
  70. <?php } else if($activeitem->id == '18') { ?>
  71. <style type="text/css">
  72. <!--
  73. .breadcrumbs {
  74. position: absolute;
  75. top: -105px;
  76. left: 35px;
  77. width: 930px;
  78. z-index: 100;
  79. color: #dd060d;
  80. font-family: Georgia;
  81. font-size: 11px;
  82. }
  83. -->
  84. </style>
  85. <?php } else if($activeitem->id == '42') { ?>
  86. <style type="text/css">
  87. <!--
  88. #rightCol .moduletable-nav ul li.parent.active a:link,
  89. #rightCol .moduletable-nav ul li.parent.active a:visited,
  90. #rightCol .moduletable-nav ul li.parent.active a:active {
  91. background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_li_hover_bg.jpg) no-repeat left 5px;
  92. text-decoration: none;
  93. color: #dd060d;
  94. }
  95. #rightCol .moduletable-nav ul li.parent.active li a:link,
  96. #rightCol .moduletable-nav ul li.parent.active li a:visited,
  97. #rightCol .moduletable-nav ul li.parent.active li a:active {
  98. background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_bg.jpg) no-repeat left 5px;
  99. padding-left: 20px;
  100. width: 284px;
  101. display: block;
  102. float: left;
  103. text-decoration: none;
  104. color: #404040;
  105. font-size: 11px;
  106. font-family: Georgia;
  107. font-style: italic;
  108. }
  109. -->
  110. </style>
  111. <?php } else if(($activeitem->id == '55') OR ($activeitem->id == '56') OR ($activeitem->id == '57') OR ($activeitem->id == '58') OR ($activeitem->id == '59') OR ($activeitem->id == '60')) { ?>
  112. <style type="text/css">
  113. <!--
  114. #rightCol .moduletable-nav li.parent.active a:link,
  115. #rightCol .moduletable-nav li.parent.active a:visited,
  116. #rightCol .moduletable-nav li.parent.active a:active {
  117. background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_li_hover_bg.jpg) no-repeat left 5px;
  118. text-decoration: none;
  119. color: #dd060d;
  120. }
  121. #rightCol .moduletable-nav ul li.parent.active li a:link,
  122. #rightCol .moduletable-nav ul li.parent.active li a:visited,
  123. #rightCol .moduletable-nav ul li.parent.active li a:active {
  124. background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_bg.jpg) no-repeat left 5px;
  125. padding-left: 20px;
  126. width: 284px;
  127. display: block;
  128. float: left;
  129. text-decoration: none;
  130. color: #404040;
  131. font-size: 11px;
  132. font-family: Georgia;
  133. font-style: italic;
  134. }
  135. -->
  136. </style>
  137. <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement