dirname(__FILE__) will be returning the directory of the current script, for example it will return this file path C:\xampp\htdocs\food\admin\crud\customers
You will have to use dirname(dirname(dirname(__FILE__))) to get back to the food directory. The better solution would be to add your admin directory to a constant, then prefix your filepaths using the ADMIN constant, example
define('ADMIN', 'C:/xampp/htdocs/food/admin');
// or as
// define('ADMIN', dirname(dirname(dirname(__FILE__)))
// prefix filepaths with ADMIN constant
include ADMIN . '/includes/admin-header.php';
include ADMIN . '/includes/admin-navbar.php';
include ADMIN . '/admin-functions.php';
include ADMIN . '/db/dbconnect.php';