$current_page = strtolower($_SERVER['REQUEST_URI']); if(($current_page=="/")||($current_page=="/nirkutz/")||(stristr($current_page, "index.php"))) { $bottom_menu_page_id = "mnuHome"; } else if(stristr($current_page, "about_us.php")) { $bottom_menu_page_id = "mnuAbout"; } else if(stristr($current_page, "news.php")) { $bottom_menu_page_id = "mnuNews"; } else if(stristr($current_page, "contact_us.php")) { $bottom_menu_page_id = "mnuContact"; } else if(stristr($current_page, "projects.php")) { $bottom_menu_page_id = "mnuProjetcs"; } ?> |