start of photo gallery

This commit is contained in:
Chris Smith
2019-04-05 15:26:45 -05:00
parent eb2a37aa9d
commit c26eb53c0f
7 changed files with 5410 additions and 0 deletions

View File

@@ -347,6 +347,12 @@ $router->post('/guest/{uuid}', function ($uuid) {
header('Location: /guest/' . $guest->uuid . '?alert=success');
});
$router->get('/gallery', function(){
include 'views/common/head.php';
include 'views/gallery.php';
include 'views/common/footer.php';
});
$router->get('/thank-you/{uuid}', function ($uuid) {
$order = R::findOne('orders', ' uuid = ?', [$uuid]);
$guests = R::findAll('guests', ' order_id = ?', [$order->id]);