<?php

require_once 'model/session.php';
require_once 'model/restaurant.php';
require_once 'model/order.php';
$session = new Session();
$restaurant = new Restaurant();
$user_id = $session->get_session_data('id');
$restaurants = $restaurant->selectAll();
$size = sizeof($restaurants);
?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<?php 
include "./include/header.php";
?>
	<title>Restaurant Finder</title>
</head>
<body>
	<?php 
include "./include/navbar.php";
?>
	<div class="container" style="margin-top:100px;margin-bottom:50px;min-height:500px">
		<?php 
if ($session->session_exist('user_type')) {
    ?>
			<?php 
    if ($session->get_session_data('user_type') == 'admin') {