$current_url = $_SERVER['PHP_SELF']; if (strstr($current_url, "resume.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#330033"; $navColor = "#D6D6D6"; $mainColor = "#ccffcc"; } elseif (strstr($current_url, "resume20050213new.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#330033"; $navColor = "#D6D6D6"; $mainColor = "#ccffcc"; } elseif (strstr($current_url, "/web/")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#4373B5"; $navColor = "#90CED7"; $mainColor = "#FFE87E"; } elseif (strstr($current_url, "resumeEXP.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#E85D01"; $navColor = "#60CC93"; $mainColor = "#7AC5CD"; } // same page as below elseif (strstr($current_url, "bio.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#E85D01"; $navColor = "#60CC93"; $mainColor = "#7AC5CD"; } // same page as above elseif (strstr($current_url, "danieloconnell.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#E85D01"; $navColor = "#60CC93"; $mainColor = "#7AC5CD"; } elseif (strstr($current_url, "/work")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#E85D01"; $navColor = "#60CC93"; $mainColor = "#7AC5CD"; } elseif (strstr($current_url, "portfolio.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#3979A5"; $navColor = "#C2E176"; $mainColor = "#AFE9E7"; } elseif (strstr($current_url, "site.php")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#0d3861"; $navColor = "#b4f29e"; $mainColor = "#F2F19E"; } elseif (strstr($current_url, "/contact/")) { $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#156115"; $navColor = "#cff795"; $mainColor = "#95CFF7"; } elseif (strstr($current_url, "/scouts")){ $thePath = "../"; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#4373B5"; $navColor = "#90CED7"; $mainColor = "#FFE87E"; } elseif (strstr($current_url, ".php")){ $thePath = ""; $theTitle = "Daniel O'Connell :: Visual Designer, Web Developer, Photographer, and Consultant :: Chicago"; $headerColor = "#4373B5"; $navColor = "#90CED7"; $mainColor = "#FFE87E"; } ?>