report.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php
  2. /**
  3. * Main report view.
  4. *
  5. * Contains the view layout and ome 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 Report_Page $page The page model.
  12. * @var Report_Page $page The page model.
  13. */
  14. ?>
  15. <!DOCTYPE html>
  16. <html lang='en'>
  17. <head>
  18. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  19. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  20. <title><?=$page->get_title()?></title>
  21. <link rel='shortcut icon' href='<?=$page->get_favicon()?>'/>
  22. <!-- CSS files -->
  23. <link rel='stylesheet' type='text/css' href='<?=URL::CSS?>ui.css'/>
  24. <?php
  25. if (get_context()->get_game_mode() == GAME_MODE_ID::RTA){
  26. ?>
  27. <link rel='stylesheet' type='text/css' href='<?=URL::CSS?>ui-rta.css'/>
  28. <?php
  29. }
  30. ?>
  31. <link rel='stylesheet' type='text/css' href='<?=URL::CSS?>report.css'/>
  32. <!-- Meta tags -->
  33. <link rel='canonical' href='<?=$page->get_canonical()?>'/>
  34. <link rel='author' href='<?=$page->get_author()?>'/>
  35. <link rel='publisher' href='<?=$page->get_author()?>'/>
  36. <meta name='description' content='<?=$page->get_description()?>'/>
  37. <meta property='og:title' content='<?=$page->get_title()?>'/>
  38. <meta property='og:url' content='<?=$page->get_canonical()?>'/>
  39. <meta property='og:description' content='<?=$page->get_description()?>'/>
  40. <meta property='og:image' content='<?=$page->get_icon()?>'/>
  41. <meta property='og:site_name' content='<?=$page->get_name()?>?>'/>
  42. <meta property='og:type' content='website'/>
  43. <meta property='og:locale' content='en'/>
  44. <meta name='twitter:card' content='summary'/>
  45. <meta name='twitter:title' content='<?=$page->get_title()?>'/>
  46. <meta name='twitter:description' content='<?=$page->get_description()?>'/>
  47. <meta name='twitter:image' content='<?=$page->get_icon()?>'/>
  48. <meta name='twitter:url' content='<?=$page->get_canonical()?>'/>
  49. <meta name='robots' content='index follow'/>
  50. </head>
  51. <body id='body_reports'>
  52. <?php
  53. include __DIR__ . "/inc/header.php";
  54. ?>
  55. <aside>
  56. <h2>
  57. Reports
  58. </h2>
  59. <p>
  60. Reports that will help you progress in the game.
  61. </p>
  62. </aside>
  63. <main>
  64. <section class='content report'>
  65. <h2>
  66. Pending skill-ups
  67. </h2>
  68. <article>
  69. <img alt=' ' src='<?=URL::IMG["UNIT"]?>00015105.png'> <!-- Devilmon image -->
  70. <p>
  71. Shows a list of the monstes in need of skilling-up
  72. It sorts monster not by the absolute ammount of remaining power-ups, but by a ponderated list tht takes into account to which skills the previous power ups have gone, placing more value in the more advanced skills.
  73. </p>
  74. <a class='a_button' href='/<?=get_context()->get_player()->get_id()?>/report/skillup/'>
  75. Go
  76. </a>
  77. </article>
  78. </section>
  79. <section class='content report'>
  80. <h2>
  81. Runes to improve
  82. </h2>
  83. <article class='report'>
  84. <img alt=' ' src='<?=URL::IMG["GRIND"]?>gem_inmemorial.png'>
  85. <p>
  86. Shows monsters with runes that can be grinded or enchanted.
  87. It list the grindstones and gems that are available for each rune.
  88. </p>
  89. <a class='a_button' href='/<?=get_context()->get_player()->get_id()?>/report/rune_enchantment/'>
  90. Go
  91. </a>
  92. </article>
  93. </section>
  94. </main>
  95. <?php
  96. include __DIR__ . "/inc/footer.php";
  97. ?>
  98. </body>
  99. </html>