I dont know if im just having a bad day, but i uploaded another site to a sub-directory and for sum reason it wont load the css script.
$theme = grey.css
echo webhead($uthm,$stitle);
this is whats on my main page. http://www.sitename.co.za/index.php and it works.
although i use the same code above on http://www.sitename.co.za/subdir/index.php and it doesnt work.