403.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. $http_host = $_SERVER['HTTP_HOST'];
  3. include("../functions.php");
  4. $con = startdb();
  5. $proto = getProtocol();
  6. $server = "$proto$http_host";
  7. //Language
  8. $lang = selectLanguage();
  9. include("../lang/lang_$lang.php");
  10. $cur_section = $lng['section_home'];
  11. ?>
  12. <!DOCTYPE html>
  13. <html>
  14. <head>
  15. <meta content="text/html; charset=windows-1252" http-equiv="content-type"/>
  16. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
  17. <title><?php echo $lng['error_title'] ?> - Gasteizko Margolariak</title>
  18. <link rel="shortcut icon" href="<?php echo "$proto$http_host/img/logo/favicon.ico";?>">
  19. <!-- CSS files -->
  20. <style>
  21. <?php
  22. include("../css/ui.css");
  23. include("../css/error.css");
  24. ?>
  25. </style>
  26. <!-- CSS for mobile version -->
  27. <style media="(max-width : 990px)">
  28. <?php
  29. include("../css/m/ui.css");
  30. include("../css/m/error.css");
  31. ?>
  32. </style>
  33. <!-- Script files -->
  34. <script type="text/javascript">
  35. <?php
  36. include("../script/ui.js");
  37. ?>
  38. </script>
  39. <meta name="robots" content="noindex follow"/>
  40. </head>
  41. <body>
  42. <?php
  43. include("../header.php")
  44. ?>
  45. <div id="error_code">
  46. <table id="error_code">
  47. <tr>
  48. <td id="error_number">
  49. 403
  50. </td>
  51. <td id="error_tag">
  52. <?=$lng["error_error"]?>
  53. <br/>
  54. <?=$lng["error_code"]?>
  55. </td>
  56. <tr>
  57. </table>
  58. </div>
  59. <br/><br/><br/><br/>
  60. <div id="error_message" class="section">
  61. <h3 class='section_title'><?=$lng["error_403_title"]?></h3>
  62. <div class="entry">
  63. <?=$lng["error_403_description"]?>
  64. <br/><br/>
  65. <?=$lng["error_403_solution"]?>
  66. <ul>
  67. <li>
  68. <a href="javascript: history.go(-1);"><?=$lng["error_403_solution_0"]?></a>
  69. </li>
  70. <li>
  71. <a href="<?php echo "$proto$http_host/";?>"><?=$lng["error_403_solution_1"]?></a>
  72. </li>
  73. <li>
  74. <a target='_blank' href="https://www.youtube.com/results?search_query=cats"><?=$lng["error_403_solution_2"]?></a>
  75. </li>
  76. </ul>
  77. </div>
  78. </div>
  79. <?php
  80. include("../footer.php");
  81. stats(-1, $ad_static, "error", "403");
  82. ?>
  83. </body>
  84. </html>