404.php 458 B

1234567891011121314
  1. <?php
  2. /* withgusto 404 Error Page */
  3. function issetor(&$variable, $or = NULL) {
  4. return $variable === NULL ? $or : $variable;
  5. }
  6. echo('<b>Oops! You got lost in the woods! :/</b><br /><br />');
  7. if(issetor($_GET['q'])) {
  8. echo('<i>(You tried to go to <b>'.$_GET['q'].'</b> but it does not exist!)</i><br />');
  9. } else {
  10. echo('<i>(You tried to go somewhere that does not exist!)</i><br />');
  11. }
  12. echo('Try going to the <a href="/">home page</a> instead? ;)');
  13. ?>