error.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html lang='<?=get_context()->get_lang()?>'>
  3. <head>
  4. <?=$page->generate_head()?>
  5. </head>
  6. <body>
  7. <?php
  8. include __DIR__ . "/inc/header.php";
  9. ?>
  10. <main>
  11. <section>
  12. <h3><?=Text::get("ERROR_ERROR")?></h3>
  13. <div id='left'>
  14. <p id='code'>
  15. <?=$page->code?>
  16. </p>
  17. <p>
  18. <span><?=Text::get("ERROR_ERROR")?></span>
  19. <span><?=Text::get("ERROR_CODE")?></span>
  20. </p>
  21. </div>
  22. <div id='right'>
  23. <h4>
  24. <?=$page->error_description?>
  25. </h4>
  26. <?=$page->advice?>
  27. <ul>
  28. <li>
  29. <a href='javascript: location.reload();'><?=$page->solution[0]?></a>
  30. </li>
  31. <li>
  32. <a href='javascript: history.go(-1);'><?=$page->solution[1]?></a>
  33. </li>
  34. <li>
  35. <a href='/'><?=$page->solution[2]?></a>
  36. </li>
  37. </ul>
  38. </div>
  39. </section>
  40. </main>
  41. <?php
  42. include __DIR__ . "/inc/footer.php";
  43. ?>
  44. </body>
  45. </html>