10
Just guessing, but isn't this code able to do this?
function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?>
if(curPageURL(); == http://www.yoursite.com/modules/news)
{
// link to specific theme stylesheet
}
else
{
//link to normal stylesheet
}
?>
It's early, so it probably has a few mistakes in there, but what it does is declaring a new function which will look for the current page URL. It's then being checked by an if statement if it's true and loads a stylesheet depending on the result.
I used to use this account, but no longer.