error.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * Error view.
  4. *
  5. * Contains the view layout and some code to present the data.
  6. *
  7. * @author Iñigo Valentin <i@inigovalentin.com>
  8. * @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License V3
  9. * @package SWDB
  10. * @category View
  11. * @property Error_Page $page The page model.
  12. * @var Error_Page $page The page model.
  13. */
  14. ?>
  15. <!DOCTYPE html>
  16. <html lang='en'>
  17. <head>
  18. <?=$page->generate_head()?>
  19. </head>
  20. <body>
  21. <header>
  22. <?php
  23. include __DIR__ . "/inc/header_app.php";
  24. include __DIR__ . "/inc/header_player.php";
  25. ?>
  26. </header>
  27. <aside>
  28. </aside>
  29. <main>
  30. <section class='list'>
  31. <h2>
  32. Error
  33. </h2>
  34. <article>
  35. Error <?=$page->get_code()?>: <?=$page->get_message()?>
  36. </article>
  37. </section> <!-- #catalog -->
  38. </main>
  39. <?php
  40. include __DIR__ . "/inc/footer.php";
  41. ?>
  42. </body>
  43. </html>