error.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /**
  3. * Error view.
  4. *
  5. * Contains the view layout and some code to present the data.
  6. *
  7. * @category View
  8. * @var Landing_Page $page The page model.
  9. */
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang='en'>
  13. <head>
  14. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  15. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  16. <title><?=$page->title?></title>
  17. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  18. <!-- CSS files -->
  19. <link rel='stylesheet' type='text/css' href='<?=URL::CSS?>ui.css'/>
  20. <?php
  21. if ($MODE == GAME_MODE_ID::RTA){
  22. ?>
  23. <link rel='stylesheet' type='text/css' href='<?=URL::CSS?>ui-rta.css'/>
  24. <?php
  25. }
  26. ?>
  27. <link rel='stylesheet' type='text/css' href='<?=URL::CSS?>error.css'/>
  28. <!-- Meta tags -->
  29. <meta name='robots' content='noindex nofollow'/>
  30. </head>
  31. <body>
  32. <?php
  33. include __DIR__ . "/inc/header.php";
  34. ?>
  35. <aside>
  36. </aside>
  37. <main>
  38. <section class='list'>
  39. <h2>
  40. Error
  41. </h2>
  42. <article>
  43. Error <?=$page->code?>: <?=$page->description?>
  44. </article>
  45. </section> <!-- #catalog -->
  46. </main>
  47. <?php
  48. include __DIR__ . "/inc/footer.php";
  49. ?>
  50. </body>
  51. </html>