add include("../include/mysql.class.php") to admin.class.php