report_runeupgrade.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. $custom_filters = $page->custom_filters;
  50. include __DIR__ . "/inc/filter_report_runeupgrade.php";
  51. ?>
  52. </section> <!-- #filters -->
  53. <?php
  54. foreach ($page->upgrades as $upgrade){
  55. ?>
  56. <section class='content'>
  57. <h2>
  58. <span>
  59. <?=$upgrade["unit"]->title?>
  60. </span>
  61. </h2>
  62. <article>
  63. <div class='monster'>
  64. <div class='profile'>
  65. <div class='monster_panel'>
  66. <?=html_unit_panel($upgrade["unit"])?>
  67. </div>
  68. </div> <!-- .profile -->
  69. </div>
  70. <div class='monster_runes'>
  71. <?php
  72. foreach ($upgrade["upgrade"] as $rupgrade){
  73. ?>
  74. <?=html_rune_table($rupgrade["rune"])?>
  75. <div class='alternatives'>
  76. <?php
  77. foreach ($rupgrade["alternative"] as $alternative){
  78. ?>
  79. <?=html_rune_table($alternative, $alternative->assigned_to)?>
  80. <?php
  81. }
  82. ?>
  83. </div>
  84. <?php
  85. }
  86. ?>
  87. </div> <!-- .monster_runes -->
  88. </article>
  89. </section>
  90. <?php
  91. }
  92. include __DIR__ . "/inc/footer.php";
  93. ?>
  94. </body>
  95. </html>