added template database.php