Add page titles

This commit is contained in:
Jay 2021-11-15 14:52:11 +01:00
parent 31518d028d
commit 404a3c7ac7
4 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
use wishthis\{Page, Database}; use wishthis\{Page, Database};
$page = new page(__FILE__, 'Home'); $page = new page(__FILE__, 'Install');
$page->header(); $page->header();
$step = isset($_POST['step']) ? $_POST['step'] : 1; $step = isset($_POST['step']) ? $_POST['step'] : 1;

View file

@ -8,7 +8,7 @@
use wishthis\Page; use wishthis\Page;
$page = new page(__FILE__, 'Home'); $page = new page(__FILE__, 'Login');
if (isset($_POST['email'], $_POST['password'])) { if (isset($_POST['email'], $_POST['password'])) {
$user = $database->query( $user = $database->query(

View file

@ -8,7 +8,7 @@
use wishthis\Page; use wishthis\Page;
$page = new page(__FILE__, 'Home'); $page = new page(__FILE__, 'Register');
if (isset($_POST['email'], $_POST['password'])) { if (isset($_POST['email'], $_POST['password'])) {
$database->query('INSERT INTO `users` $database->query('INSERT INTO `users`

View file

@ -8,7 +8,7 @@
use wishthis\Page; use wishthis\Page;
$page = new page(__FILE__, 'Home'); $page = new page(__FILE__, 'Create a wishlist');
if (isset($_POST['name'])) { if (isset($_POST['name'])) {
$database->query('INSERT INTO `wishlists` $database->query('INSERT INTO `wishlists`