report.php 3.9 KB

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