report_runecraft.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?php
  2. global $RUNE_STAT;
  3. ?>
  4. <!DOCTYPE html>
  5. <html lang='en'>
  6. <head>
  7. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  8. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  9. <title><?=$page->title?></title>
  10. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  11. <!-- CSS files -->
  12. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
  13. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>report_runecraft.css'/>
  14. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>filters.css'/>
  15. <!-- Script files -->
  16. <script src="<?=$path["js"]?>ui.js"></script>
  17. <!-- Meta tags -->
  18. <link rel='canonical' href='<?=$page->canonical?>'/>
  19. <link rel='author' href='<?=$page->author?>'/>
  20. <link rel='publisher' href='<?=$page->author?>'/>
  21. <meta name='description' content='<?=$page->description?>'/>
  22. <meta property='og:title' content='<?=$page->title?>'/>
  23. <meta property='og:url' content='<?=$page->canonical?>'/>
  24. <meta property='og:description' content='<?=$page->description?>'/>
  25. <meta property='og:image' content='<?=$page->icon?>'/>
  26. <meta property='og:site_name' content='<?=$page->name?>'/>
  27. <meta property='og:type' content='website'/>
  28. <meta property='og:locale' content='en'/>
  29. <meta name='twitter:card' content='summary'/>
  30. <meta name='twitter:title' content='<?=$page->title?>'/>
  31. <meta name='twitter:description' content='<?=$page->description?>'/>
  32. <meta name='twitter:image' content='<?=$page->icon?>'/>
  33. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  34. <meta name='robots' content='index follow'/>
  35. </head>
  36. <body>
  37. <?php
  38. include __DIR__ . "/inc/header.php";
  39. ?>
  40. <section class='filters'>
  41. <h2>
  42. <span>
  43. Report filters
  44. </span>
  45. </h2>
  46. <?php
  47. $filters = $page->filters;
  48. include __DIR__ . "/inc/filter_report_runecraft.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='craft'>
  74. <?php
  75. foreach ($rupgrade["craft"] as $craft){
  76. ?>
  77. <?=html_craft_panel($craft)?>
  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>