404.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?php
  2. session_start();
  3. $http_host = $_SERVER["HTTP_HOST"];
  4. $doc_root = $_SERVER["DOCUMENT_ROOT"];
  5. include $doc_root . "functions.php";
  6. $proto = get_protocol();
  7. $con = start_db();
  8. $server = $proto . $http_host;
  9. $lang = select_language();
  10. $cur_section = "error";
  11. $cur_entry = "404";
  12. ?>
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16. <meta content='text/html; charset=windows-1252' http-equiv='content-type'/>
  17. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'>
  18. <title>Error - I&ntilde;igo Valentin</title>
  19. <link rel='shortcut icon' href='<?=$server?>/img/logo/favicon.ico'>
  20. <!-- CSS files -->
  21. <link rel='stylesheet' type='text/css' href='/css/ui.css'/>
  22. <style>
  23. table#error-code{
  24. margin-top: 5em;
  25. margin-left: 10%;
  26. }
  27. td#error-number{
  28. font-size: 300%;
  29. border-right: 0.063em solid #000000;
  30. padding-right: 1.875em;
  31. padding-left: 1.250em;
  32. }
  33. td#error-tag{
  34. font-size: 110%;
  35. padding-left: 1.750em;
  36. padding-right: 1.250em;
  37. }
  38. div#error-message{
  39. width: 80%;
  40. margin-left: 10%;
  41. }
  42. @media (max-width: 990px){
  43. table#error-code{
  44. width: 90%;
  45. margin-left: auto;
  46. margin-right: auto;
  47. margin-top: 0;
  48. margin-bottom: 0;
  49. }
  50. div#error-message{
  51. width: 90%;
  52. margin-left: auto;
  53. margin-right: auto;
  54. margin-top: 0;
  55. margin-bottom: 0;
  56. }
  57. }
  58. </style>
  59. <meta name="robots" content="noindex follow"/>
  60. </head>
  61. <body>
  62. <?php
  63. include $doc_root . "header.php";
  64. ?>
  65. <div class='section section_no_title' >
  66. <table id='error-code' class='entry'>
  67. <tr>
  68. <td id='error-number'>
  69. 404
  70. </td>
  71. <td id='error-tag'>
  72. ERROR<br/>CODE
  73. </td>
  74. <tr>
  75. </table>
  76. <br/><br/><br/><br/>
  77. <div id='error-message' class='entry'>
  78. <h2>Not Found</h2>
  79. This means that, either you are looking for something that doesn't exist or that we missed something.
  80. <br/><br/>
  81. Try a solution:
  82. <ul>
  83. <li>
  84. <a href='javascript: location.reload();'>Try again.</a>
  85. </li>
  86. <li>
  87. <a href='javascript: history.go(-1);'>Go to the previous page.</a>
  88. </li>
  89. <li>
  90. <a href='<?=$server?>/'>Go to the main page</a>
  91. </li>
  92. </ul>
  93. </div> <!-- #error_message -->
  94. </div> <!-- .section -->
  95. <?php
  96. include $doc_root . "footer.php";
  97. stats($con, $cur_section, $cur_entry);
  98. ?>
  99. </body>
  100. </html>