aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorGeorgi Nikolov <ggeorgi60@gmail.com>2025-01-25 15:23:14 +0200
committerGeorgi Nikolov <ggeorgi60@gmail.com>2025-01-25 15:23:14 +0200
commitdb285a4be28e6da35be65424b2f324dd04e9becf (patch)
tree3b713f2f2e10f39194e39a32f36f6ef855967198 /views
parent46e75813c66807fd0297cbf3514a1a5f549d604a (diff)
downloadnowayforward_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.php6
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">