Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $menu = & JSite::getMenu();
- $activeitem = $menu->getActive();
- if ($activeitem->id == '1') { ?>
- <style type="text/css">
- <!--
- #footer .moduletable-fmenu ul li.item10 a:link,
- #footer .moduletable-fmenu ul li.item10 a:visited,
- #footer .moduletable-fmenu ul li.item10 a:active {
- text-decoration: none;
- color: #fff;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '3') { ?>
- <style type="text/css">
- <!--
- #footer .moduletable-fmenu ul li.item11 a:link,
- #footer .moduletable-fmenu ul li.item11 a:visited,
- #footer .moduletable-fmenu ul li.item11 a:active {
- text-decoration: none;
- color: #fff;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '54') { ?>
- <style type="text/css">
- <!--
- #footer .moduletable-fmenu ul li.item12 a:link,
- #footer .moduletable-fmenu ul li.item12 a:visited,
- #footer .moduletable-fmenu ul li.item12 a:active {
- text-decoration: none;
- color: #fff;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '64') { ?>
- <style type="text/css">
- <!--
- #footer .moduletable-fmenu ul li.item67 a:link,
- #footer .moduletable-fmenu ul li.item67 a:visited,
- #footer .moduletable-fmenu ul li.item67 a:active {
- text-decoration: none;
- color: #fff;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '63') { ?>
- <style type="text/css">
- <!--
- #footer .moduletable-fmenu ul li.item14 a:link,
- #footer .moduletable-fmenu ul li.item14 a:visited,
- #footer .moduletable-fmenu ul li.item14 a:active {
- text-decoration: none;
- color: #fff;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '66') { ?>
- <style type="text/css">
- <!--
- #footer .moduletable-fmenu ul li.item15 a:link,
- #footer .moduletable-fmenu ul li.item15 a:visited,
- #footer .moduletable-fmenu ul li.item15 a:active {
- text-decoration: none;
- color: #fff;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '18') { ?>
- <style type="text/css">
- <!--
- .breadcrumbs {
- position: absolute;
- top: -105px;
- left: 35px;
- width: 930px;
- z-index: 100;
- color: #dd060d;
- font-family: Georgia;
- font-size: 11px;
- }
- -->
- </style>
- <?php } else if($activeitem->id == '42') { ?>
- <style type="text/css">
- <!--
- #rightCol .moduletable-nav ul li.parent.active a:link,
- #rightCol .moduletable-nav ul li.parent.active a:visited,
- #rightCol .moduletable-nav ul li.parent.active a:active {
- background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_li_hover_bg.jpg) no-repeat left 5px;
- text-decoration: none;
- color: #dd060d;
- }
- #rightCol .moduletable-nav ul li.parent.active li a:link,
- #rightCol .moduletable-nav ul li.parent.active li a:visited,
- #rightCol .moduletable-nav ul li.parent.active li a:active {
- background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_bg.jpg) no-repeat left 5px;
- padding-left: 20px;
- width: 284px;
- display: block;
- float: left;
- text-decoration: none;
- color: #404040;
- font-size: 11px;
- font-family: Georgia;
- font-style: italic;
- }
- -->
- </style>
- <?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')) { ?>
- <style type="text/css">
- <!--
- #rightCol .moduletable-nav li.parent.active a:link,
- #rightCol .moduletable-nav li.parent.active a:visited,
- #rightCol .moduletable-nav li.parent.active a:active {
- background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_li_hover_bg.jpg) no-repeat left 5px;
- text-decoration: none;
- color: #dd060d;
- }
- #rightCol .moduletable-nav ul li.parent.active li a:link,
- #rightCol .moduletable-nav ul li.parent.active li a:visited,
- #rightCol .moduletable-nav ul li.parent.active li a:active {
- background: url(<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/right_menu_li_bg.jpg) no-repeat left 5px;
- padding-left: 20px;
- width: 284px;
- display: block;
- float: left;
- text-decoration: none;
- color: #404040;
- font-size: 11px;
- font-family: Georgia;
- font-style: italic;
- }
- -->
- </style>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement