report_runecraft.php 3.3 KB

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