diff --git a/about.php b/about.php index b97fda6..55aa765 100644 --- a/about.php +++ b/about.php @@ -1,4 +1,27 @@ + + + + header(); + ?> + + <?php echo $pagename; ?> | <?php echo $sitename; ?> + +

yes i am AGAIN still not hired to make html

+

here is all the devs

+

"; + } ?>and not u cause you stink 😂😂😂😂😂😂😂😂😂😂😂😂😂 + + + \ No newline at end of file diff --git a/catalog.php b/catalog.php index 2aca8b7..84f6ea7 100644 --- a/catalog.php +++ b/catalog.php @@ -30,7 +30,7 @@ $possiblePages = [ if(isset($_GET["filter"])) { $page = $_GET["filter"]; if(!in_array($page,$possiblePages)) { - header('location: /catalog'); + header('location: /error?err=404'); exit; } } else { diff --git a/error.php b/error.php index 61afa0c..0f74787 100644 --- a/error.php +++ b/error.php @@ -18,33 +18,33 @@ if(!isset($conType)) { header("Location: /"); } if($conType == 404) { -$errorImage = ""; +$errorImage = "https://www.freeiconspng.com/thumbs/minions-png/evil-minions-png-24.png"; $errorTextMain = "404 Not found"; $errorTextExtra = "Whoops! Our minions couldn't find the page you were looking for..."; $errorButton = "
Go back to ".$sitename." HQ
"; } if($conType == 403) { -$errorImage = ""; +$errorImage = "https://i.pinimg.com/originals/c4/d7/55/c4d7559b99559a3dc0f4c43e4e589451.png"; $errorTextMain = "403 Forbidden"; $errorTextExtra = "Get out of here! Confidential data.."; $errorButton = "
Go back to ".$sitename." HQ
"; } if($conType == 400) { -$errorImage = ""; -$errorTextMain = "ummmmmmmmmmmm"; +$errorImage = "https://www.clipartmax.com/png/full/185-1850059_minion-41-despicable-me-minions-thinking.png"; +$errorTextMain = "400 Bad Request"; $errorTextExtra = "ummmmmmmmmmmmmm 400 ummmmmmmmmmmmm"; $errorButton = "
Go back to ".$sitename." HQ
"; } if($conType == 502) { -$errorImage = ""; +$errorImage = "https://www.freeiconspng.com/thumbs/minions-png/minions-png-file-8.png"; $errorTextMain = "502 Bad Gateway"; $errorTextExtra = "How does this even work for you if it's using PHP."; $errorButton = "
Go back to ".$sitename." HQ
"; } if($conType == 504) { -$errorImage = ""; +$errorImage = "https://static.wikia.nocookie.net/mycun-the-movie/images/f/fc/Dave_the_Minion.png/revision/latest/scale-to-width-down/1200"; $errorTextMain = "504 Gateway Time-out"; $errorTextExtra = "TestTube reference."; $errorButton = "
Go back to ".$sitename." HQ
"; @@ -61,7 +61,7 @@ $getitstarted->header(); <?php echo $pagename; ?> | <?php echo $sitename; ?>
- + <?php echo htmlspecialchars($errorTextMain); ?>