You are viewing your own wishlist! You will be able to see which products have already been bought for you. Don't you want to be surprised?
It's probably best to just close this tab.
*/ use wishthis\{Page, User}; use Embed\Embed; $page = new page(__FILE__, 'Wishlist'); $page->header(); $page->navigation(); $wishlist = $database->query('SELECT * FROM `wishlists` WHERE `hash` = "' . $_GET['wishlist'] . '"') ->fetch(); if ($wishlist) { $products = $user->getProducts($wishlist['id']); } else { http_response_code(404); ?>
The requested Wishlist was not found and likely deleted by its creator.