\n" : "\n"; //get the php self path and set a variable with only the directory path $php_self_array = explode ("/", $_SERVER['PHP_SELF']); $php_self_dir = ''; foreach ($php_self_array as &$value) { if (substr($value, -4) != ".php") { $php_self_dir .= $value."/"; } } unset($php_self_array); if (strlen(PROJECT_PATH) > 0) { $php_self_dir = substr($php_self_dir, strlen(PROJECT_PATH), strlen($php_self_dir)); } ?>
\n\n"; } //set fav icon $favicon = (isset($_SESSION['theme']['favicon']['text'])) ? escape($_SESSION['theme']['favicon']['text']) : '/themes/default/favicon.ico'; echo "\n"; ?>| "; echo " "; echo " |