error.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. require_once(__DIR__ . "/../application/config.php");
  3. ?>
  4. <!DOCTYPE html>
  5. <html lang='en'>
  6. <head>
  7. <meta content='text/html; charset=windows-1252' http-equiv='content-type'/>
  8. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'>
  9. <title>ERROR <?=http_response_code()?> - SWDB</title>
  10. <link rel='shortcut icon' href='<?=$root?>img/layout/logo/favicon.ico'>
  11. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
  12. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>error.css'/>
  13. <meta name="robots" content="noindex follow"/>
  14. </head>
  15. <body>
  16. <?php
  17. include __DIR__ . "/../application/inc/header.php";
  18. ?>
  19. <div class='section'>
  20. <h3 class='section_title'>ERROR</h3>
  21. <table id='error_code' class='entry'>
  22. <tr>
  23. <td id='error_number'>
  24. <?=http_response_code()?>
  25. </td>
  26. <td id='error_tag'>
  27. ERROR
  28. <br/>
  29. CODE
  30. </td>
  31. <tr>
  32. </table>
  33. <div id='error_message' class='entry'>
  34. <ul>
  35. <li>
  36. <a href='javascript:location.reload();'>Reload</a>
  37. </li>
  38. <li>
  39. <a href='javascript:history.go(-1);'>Back to previous page</a>
  40. </li>
  41. <li>
  42. <a href='<?=$root?>'>Home Page</a>
  43. </li>
  44. </ul>
  45. </div> <!-- #error_message -->
  46. </div> <!-- .section -->
  47. <?php
  48. include __DIR__ . "/../application/inc/footer.php";
  49. ?>
  50. </body>
  51. </html>