You would need to create or modify the dashboard .php file to connect to the DB (with out logging in) to pull information from the DB and display it. This new modified script that you made would either need to read the ost-config.php or you would have to hard code the DB user and pass in it.