diff --git a/index.php b/index.php index dcd91dd..daf1c9f 100644 --- a/index.php +++ b/index.php @@ -125,7 +125,9 @@ $router->post('/checkout', function () { $router->get('/manage/{uuid}', function ($uuid) { $order = R::findOne('orders', ' uuid = ?', [$uuid]); $guests = R::findAll('guests', ' order_id = ?', [$order->id]); - var_dump($order,$guests); + include 'views/common/head.php'; + include 'views/guestlist.php'; + include 'views/common/footer.php'; }); // Run it! diff --git a/views/guestlist.php b/views/guestlist.php index ccc9d7c..805050c 100644 --- a/views/guestlist.php +++ b/views/guestlist.php @@ -2,45 +2,51 @@