From bfa238c056f31f36c00faad1c5995cbb8af3bd26 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 26 Jan 2025 14:04:11 +0200 Subject: feat!: Rework all views to be used with the router --- views/archive/index.php | 29 +++++++++++++++++------------ views/archive/meta.php | 5 +++++ 2 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 views/archive/meta.php (limited to 'views/archive') diff --git a/views/archive/index.php b/views/archive/index.php index 64d6a77..4195eb2 100644 --- a/views/archive/index.php +++ b/views/archive/index.php @@ -1,16 +1,21 @@ incrementVisits(); + } + catch(Exception $e) { + $exists = Controller\doesWebsiteExist($url); + } ?> -
- "> + +
@@ -39,16 +44,16 @@ - -

"" Does not exist!

+ +

"" Does not exist!

Submit another request or check the spelling of the site and try again

- Go back! + Go back! -

"" hasn't been archived yet!

-
- "> +

"" hasn't been archived yet!

+ +
diff --git a/views/archive/meta.php b/views/archive/meta.php new file mode 100644 index 0000000..001d07c --- /dev/null +++ b/views/archive/meta.php @@ -0,0 +1,5 @@ +