'; $page = substr($_SERVER['PHP_SELF'],strpos($_SERVER['PHP_SELF'],'/')+1); $page = rtrim($page,'.php'); //echo $page; switch ($page) { case 'dashboard': ?>