\r\n"; print "\r\n"; print "\r\n"; print "\r\n"; print "\r\n"; print "\r\n"; // ---------------------------------------------------------------------------------------------- // load the main style sheet $stylepath = "./style/"; $stylefile = $stylepath . "style.css"; if (is_file($stylefile)) { print "\r\n"; } // overlay some changes for Mozilla/Firefox browsers if (strpos($_SERVER['HTTP_USER_AGENT'], "Firefox")) { $stylefile = $stylepath . "style-ff.css"; if (is_file($stylefile)) { print "\r\n"; } } // overlay some changes for IE browsers if (strpos($_SERVER['HTTP_USER_AGENT'], "MSIE")) { $stylefile = $stylepath . "style-ie.css"; if (is_file($stylefile)) { print "\r\n"; } } // overlay some additional changes for IE 7 browsers if (strpos($_SERVER['HTTP_USER_AGENT'], "MSIE 7")) { $stylefile = $stylepath . "style-ie7.css"; if (is_file($stylefile)) { print "\r\n"; } } // ---------------------------------------------------------------------------------------------- // load the common javascript $jspath = "./"; $jsfile = $jspath . "javascript.js"; if (is_file($jsfile)) { print "\r\n"; } // ---------------------------------------------------------------------------------------------- // handle the page title print "The Music Academy of Gilroy | "; print ucwords($title); print "\r\n"; print "\r\n"; print "\r\n"; print "
\r\n"; print "
\r\n"; print "
The Music Academy
\r\n"; print "
of Gilroy
\r\n"; print "\r\n"; print "
\r\n"; print "
\r\n"; print "\r\n"; print "
\r\n"; // here we just read the content file in and spit it out to the browser print "
\r\n"; include $contentfile; print "
\r\n"; print "\r\n"; print "
\r\n"; print "\r\n"; print "\r\n"; ?>