report_runeupgrade.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. global $RUNE_STAT;
  3. global $QUALITY;
  4. ?>
  5. <!DOCTYPE html>
  6. <html lang='en'>
  7. <head>
  8. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  9. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  10. <title><?=$page->title?></title>
  11. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  12. <!-- CSS files -->
  13. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
  14. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>report_runeupgrade.css'/>
  15. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>filters.css'/>
  16. <!-- Meta tags -->
  17. <link rel='canonical' href='<?=$page->canonical?>'/>
  18. <link rel='author' href='<?=$page->author?>'/>
  19. <link rel='publisher' href='<?=$page->author?>'/>
  20. <meta name='description' content='<?=$page->description?>'/>
  21. <meta property='og:title' content='<?=$page->title?>'/>
  22. <meta property='og:url' content='<?=$page->canonical?>'/>
  23. <meta property='og:description' content='<?=$page->description?>'/>
  24. <meta property='og:image' content='<?=$page->icon?>'/>
  25. <meta property='og:site_name' content='<?=$page->name?>'/>
  26. <meta property='og:type' content='website'/>
  27. <meta property='og:locale' content='en'/>
  28. <meta name='twitter:card' content='summary'/>
  29. <meta name='twitter:title' content='<?=$page->title?>'/>
  30. <meta name='twitter:description' content='<?=$page->description?>'/>
  31. <meta name='twitter:image' content='<?=$page->icon?>'/>
  32. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  33. <meta name='robots' content='index follow'/>
  34. </head>
  35. <body id='body_report_runeupgrade'>
  36. <?php
  37. include __DIR__ . "/inc/header.php";
  38. ?>
  39. <section class='filters'>
  40. <h2>
  41. <span>
  42. Report filters
  43. </span>
  44. </h2>
  45. <?php
  46. $filters = $page->filters;
  47. $custom_filters = $page->custom_filters;
  48. include __DIR__ . "/inc/filter_report_runeupgrade.php";
  49. ?>
  50. </section> <!-- #filters -->
  51. <?php
  52. foreach ($page->upgrades as $upgrade){
  53. ?>
  54. <section class='content'>
  55. <h2>
  56. <span>
  57. <?=$upgrade["unit"]->title?>
  58. </span>
  59. </h2>
  60. <article>
  61. <div class='monster'>
  62. <div class='profile'>
  63. <div class='monster_panel'>
  64. <?=html_unit_panel($upgrade["unit"])?>
  65. </div>
  66. </div> <!-- .profile -->
  67. </div>
  68. <div class='monster_runes'>
  69. <?php
  70. foreach ($upgrade["upgrade"] as $rupgrade){
  71. ?>
  72. <?=html_rune_table($rupgrade["rune"])?>
  73. <div class='alternatives'>
  74. <?php
  75. foreach ($rupgrade["alternative"] as $alternative){
  76. ?>
  77. <?=html_rune_table($alternative, $alternative->assigned_to)?>
  78. <?php
  79. }
  80. ?>
  81. </div>
  82. <?php
  83. }
  84. ?>
  85. </div> <!-- .monster_runes -->
  86. </article>
  87. </section>
  88. <?php
  89. }
  90. include __DIR__ . "/inc/footer.php";
  91. ?>
  92. </body>
  93. </html>