*/ use wishthis\Page; $page = new page(__FILE__, 'Create a wishlist'); if (isset($_POST['name'])) { $database->query('INSERT INTO `wishlists` ( `user`, `name`, `hash` ) VALUES ( ' . $_SESSION['user']['id'] . ', "' . $_POST['name'] . '", "' . sha1(time() . $_SESSION['user']['id'] . $_POST['name']) . '" ) ;'); header('Location: /?page=wishlist-product-add'); die(); } $page->header(); $page->navigation(); ?>

title ?>

footer();