report_runeupgrade.php 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. <!-- Script files -->
  17. <script src="<?=$path["js"]?>ui.js"></script>
  18. <!-- Meta tags -->
  19. <link rel='canonical' href='<?=$page->canonical?>'/>
  20. <link rel='author' href='<?=$page->author?>'/>
  21. <link rel='publisher' href='<?=$page->author?>'/>
  22. <meta name='description' content='<?=$page->description?>'/>
  23. <meta property='og:title' content='<?=$page->title?>'/>
  24. <meta property='og:url' content='<?=$page->canonical?>'/>
  25. <meta property='og:description' content='<?=$page->description?>'/>
  26. <meta property='og:image' content='<?=$page->icon?>'/>
  27. <meta property='og:site_name' content='<?=$page->name?>'/>
  28. <meta property='og:type' content='website'/>
  29. <meta property='og:locale' content='en'/>
  30. <meta name='twitter:card' content='summary'/>
  31. <meta name='twitter:title' content='<?=$page->title?>'/>
  32. <meta name='twitter:description' content='<?=$page->description?>'/>
  33. <meta name='twitter:image' content='<?=$page->icon?>'/>
  34. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  35. <meta name='robots' content='index follow'/>
  36. </head>
  37. <body id='body_report_runeupgrade'>
  38. <?php
  39. include __DIR__ . "/inc/header.php";
  40. ?>
  41. <section class='filters'>
  42. <h2>
  43. <span>
  44. Report filters
  45. </span>
  46. </h2>
  47. <?php
  48. $filters = $page->filters;
  49. include __DIR__ . "/inc/filter_report_runeupgrade.php";
  50. ?>
  51. </section> <!-- #filters -->
  52. <?php
  53. foreach ($page->upgrades as $upgrade){
  54. ?>
  55. <section class='content'>
  56. <h2>
  57. <span>
  58. <?=$upgrade["unit"]->title?>
  59. </span>
  60. </h2>
  61. <article>
  62. <div class='monster'>
  63. <div class='profile'>
  64. <div class='monster_panel'>
  65. <?=html_unit_panel($upgrade["unit"])?>
  66. </div>
  67. </div> <!-- .profile -->
  68. </div>
  69. <div class='monster_runes'>
  70. <?php
  71. foreach ($upgrade["upgrade"] as $rupgrade){
  72. ?>
  73. <?=html_rune_table($rupgrade["rune"])?>
  74. <div class='alternatives'>
  75. <?php
  76. foreach ($rupgrade["alternative"] as $alternative){
  77. ?>
  78. <?=html_rune_table($alternative, $alternative->assigned_to)?>
  79. <?php
  80. }
  81. ?>
  82. </div>
  83. <?php
  84. }
  85. ?>
  86. </div> <!-- .monster_runes -->
  87. </article>
  88. </section>
  89. <?php
  90. }
  91. include __DIR__ . "/inc/footer.php";
  92. ?>
  93. </body>
  94. </html>