diff options
| author | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-01-25 15:23:14 +0200 |
|---|---|---|
| committer | Georgi Nikolov <ggeorgi60@gmail.com> | 2025-01-25 15:23:14 +0200 |
| commit | db285a4be28e6da35be65424b2f324dd04e9becf (patch) | |
| tree | 3b713f2f2e10f39194e39a32f36f6ef855967198 /views | |
| parent | 46e75813c66807fd0297cbf3514a1a5f549d604a (diff) | |
| download | nowayforward_human-db285a4be28e6da35be65424b2f324dd04e9becf.tar nowayforward_human-db285a4be28e6da35be65424b2f324dd04e9becf.tar.gz nowayforward_human-db285a4be28e6da35be65424b2f324dd04e9becf.zip | |
Handled the search url not existing
Diffstat (limited to 'views')
| -rw-r--r-- | views/archive/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/views/archive/index.php b/views/archive/index.php index 7aba050..d30ddf2 100644 --- a/views/archive/index.php +++ b/views/archive/index.php @@ -23,6 +23,12 @@ </section> <?php endforeach; ?> +<?php elseif(!doesWebsiteExist($_GET["page_url"])): ?> + <h2>"<?php echo $_GET["page_url"] ?>" Does not exist!</h2> + <p>Submit another request or check the spelling of the site and try again</p> + <a href="/home/index.php">Go back!</a> + + <?php else: ?> <h2>"<?php echo $_GET["page_url"] ?>" hasn't been archived yet!</h2> <form action="/sample_archive/index.php" method="POST"> |
