hey this is a out of support question because this is not available in the script but i will try to give you a little help on it.
1st of all you can use dashboard.php wherever you want to assign redirection to level page. Because dashboard.php page is only acccessible to admin users and any other type of user would be redirected to their own page.
2nd in case you want to get the page name from database then first of all you need to know what type of user is loged in
User type is saved in SESSION variable. $_SESSION['user_type']
But you should also make sure the User level and user_type is same always.
Now you can use the userlevel function and it can be called like
echo $new_level->get_userlevel_info($_SESSION["user_type"], "level_page");
$new_level is an object of Userlevel class which is initiated in system_load.php file.