Changed function name "bd_connection" to "database_connect" in "bd.inc" file
Changed function "session_is_registered" to "isset"