home.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <!DOCTYPE html>
  2. <html lang='en'>
  3. <head>
  4. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  5. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  6. <title><?=$page->title?></title>
  7. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  8. <!-- CSS files -->
  9. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
  10. <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>home.css'/>
  11. <!-- Script files -->
  12. <script src="<?=$path["js"]?>ui.js"></script>
  13. <!-- Meta tags -->
  14. <link rel='canonical' href='<?=$page->canonical?>'/>
  15. <link rel='author' href='<?=$page->author?>'/>
  16. <link rel='publisher' href='<?=$page->author?>'/>
  17. <meta name='description' content='<?=$page->description?>'/>
  18. <meta property='og:title' content='<?=$page->title?>'/>
  19. <meta property='og:url' content='<?=$page->canonical?>'/>
  20. <meta property='og:description' content='<?=$page->description?>'/>
  21. <meta property='og:image' content='<?=$page->icon?>'/>
  22. <meta property='og:site_name' content='<?=$page->name?>'/>
  23. <meta property='og:type' content='website'/>
  24. <meta property='og:locale' content='en'/>
  25. <meta name='twitter:card' content='summary'/>
  26. <meta name='twitter:title' content='<?=$page->title?>'/>
  27. <meta name='twitter:description' content='<?=$page->description?>'/>
  28. <meta name='twitter:image' content='<?=$page->icon?>'/>
  29. <meta name='twitter:url' content='<?=$page->canonical?>'/>
  30. <meta name='robots' content='index follow'/>
  31. </head>
  32. <body>
  33. <?php
  34. include __DIR__ . "/inc/header.php";
  35. ?>
  36. <section class='content'>
  37. <h2>
  38. <span>
  39. Summoners War DataBase
  40. </span>
  41. </h2>
  42. <article id='profile'>
  43. <h3>
  44. <?=$page->name?>
  45. </h3>
  46. <div id='info'>
  47. <?php
  48. if (isset($page->rep)){
  49. ?>
  50. <div id='rep'>
  51. <h4>
  52. Rep. Monster:
  53. </h4>
  54. <div class='monster_panel'>
  55. <?=html_unit_panel($page->rep)?>
  56. </div> <!-- .monster_panel -->
  57. </div>
  58. <?php
  59. } // if (isset($page->rep))
  60. ?>
  61. <div id='defense'>
  62. <h4>
  63. Arena defense:
  64. </h4>
  65. <?php
  66. foreach ($page->defense as $defense){
  67. ?>
  68. <div class='monster_panel'>
  69. <?=html_unit_panel($defense)?>
  70. </div>
  71. <?php
  72. }
  73. ?>
  74. </div>
  75. <div id='building'>
  76. <h4>
  77. Buildings:
  78. </h4>
  79. <?php
  80. foreach ($page->building as $building){
  81. ?>
  82. <?=html_building_panel($building)?>
  83. <?php
  84. }
  85. ?>
  86. </div>
  87. <div id='decoration'>
  88. <h4>
  89. Decorations:
  90. </h4>
  91. <?php
  92. foreach ($page->decoration as $decoration){
  93. ?>
  94. <?=html_building_panel($decoration)?>
  95. <?php
  96. }
  97. ?>
  98. </div>
  99. <div class='inventory' id='inventory_scroll'>
  100. <h4>
  101. Scrolls:
  102. </h4>
  103. <?php
  104. foreach ($page->inventory_scroll as $item){
  105. ?>
  106. <?=html_item_panel($item)?>
  107. <?php
  108. }
  109. ?>
  110. </div>
  111. <div class='inventory' id='inventory_craft_rune'>
  112. <h4>
  113. Rune crafting items:
  114. </h4>
  115. <?php
  116. foreach ($page->inventory_craft_rune as $item){
  117. ?>
  118. <?=html_item_panel($item)?>
  119. <?php
  120. }
  121. ?>
  122. </div>
  123. <div class='inventory' id='inventory_craft'>
  124. <h4>
  125. Other crafting items:
  126. </h4>
  127. <?php
  128. foreach ($page->inventory_craft as $item){
  129. ?>
  130. <?=html_item_panel($item)?>
  131. <?php
  132. }
  133. ?>
  134. </div>
  135. <div class='inventory' id='inventory_essence'>
  136. <h4>
  137. Essences:
  138. </h4>
  139. <?php
  140. foreach ($page->inventory_essence as $item){
  141. ?>
  142. <?=html_item_panel($item)?>
  143. <?php
  144. }
  145. ?>
  146. </div>
  147. </div>
  148. <div id='currency'>
  149. <ul>
  150. <li>
  151. <img title='Energy' src='<?=$path["img"]["layout"]?>currency/energy.png'/>
  152. <?=$page->currency["energy"]?> / <?=$page->currency["energy_max"]?>
  153. </li>
  154. <li>
  155. <img title='Arena Invitations' src='<?=$path["img"]["layout"]?>currency/arenaenergy.png'/>
  156. <?=$page->currency["arena_energy"]?> / <?=$page->currency["arena_energy_max"]?>
  157. </li>
  158. <li>
  159. <img title='Dimensional Energy' src='<?=$path["img"]["layout"]?>currency/dimensionenergy.png'/>
  160. <?=$page->currency["dimension_energy"]?> / <?=$page->currency["dimension_energy_max"]?>
  161. </li>
  162. <li>
  163. <img title='Dimensional Crystal' src='<?=$path["img"]["layout"]?>currency/darkportalenergy.png'/>
  164. <?=$page->currency["darkportal_energy"]?> / <?=$page->currency["darkportal_energy_max"]?>
  165. </li>
  166. <li>
  167. <img title='Mana' src='<?=$path["img"]["layout"]?>currency/mana.png'/>
  168. <?=$page->currency["mana"]?>
  169. </li>
  170. <li>
  171. <img title='Crystal' src='<?=$path["img"]["layout"]?>currency/crystal.png'/>
  172. <?=$page->currency["crystal"]?>
  173. </li>
  174. <li>
  175. <img title='Social Points' src='<?=$path["img"]["layout"]?>currency/socialpoint.png'/>
  176. <?=$page->currency["social_point"]?>
  177. </li>
  178. <li>
  179. <img title='Honor Points' src='<?=$path["img"]["layout"]?>currency/honor.png'/>
  180. <?=$page->currency["honor_point"]?>
  181. </li>
  182. <li>
  183. <img title='Guild Points' src='<?=$path["img"]["layout"]?>currency/guildpoint.png'/>
  184. <?=$page->currency["guild_point"]?>
  185. </li>
  186. <li>
  187. <img title='Honor Medals' src='<?=$path["img"]["layout"]?>currency/badge.png'/>
  188. <?=$page->currency["honor_medal"]?>
  189. </li>
  190. <li>
  191. <img src='<?=$path["img"]["layout"]?>currency/mark.png'/>
  192. <?=$page->currency["honor_mark"]?>
  193. </li>
  194. <li>
  195. <img title='Ancient Coins' src='<?=$path["img"]["layout"]?>currency/ancientcoin.png'/>
  196. <?=$page->currency["event_coin"]?>
  197. </li>
  198. <li>
  199. <img title='Ancient Crystal' src='<?=$path["img"]["layout"]?>currency/ancientstone.png'/>
  200. <?=$page->currency["ancient_stone"]?>
  201. </li>
  202. <li>
  203. <img title='Shapeshifting Stones' src='<?=$path["img"]["layout"]?>currency/costumestone.png'/>
  204. <?=$page->currency["costume_point"]?>
  205. </li>
  206. </ul>
  207. </div>
  208. </article>
  209. <article>
  210. <h3>
  211. <a href='/catalog'>
  212. Catalog
  213. </a>
  214. </h3>
  215. <p>
  216. Check out the catalog of every monster in the game.
  217. <br/>
  218. Plan on which monster to look forward or which one is worth building.
  219. </p>
  220. </article>
  221. <article>
  222. <h3>
  223. <a href='/monsters'>
  224. Monsters
  225. </a>
  226. </h3>
  227. <p>
  228. Review your monster collection.
  229. <br/>
  230. Get detailed info about their stats, skills-ups, equiped runes...
  231. </p>
  232. </article>
  233. <article>
  234. <h3>
  235. <a href='/runes'>
  236. Runes
  237. </a>
  238. </h3>
  239. <p>
  240. Review your rune collection.
  241. <br/>
  242. Use a variety of filters to navigate your rune inventory, getting every piece if info about them at first glance.
  243. </p>
  244. </article>
  245. <article>
  246. <h3>
  247. <a href='/fusion'>
  248. Fusion
  249. </a>
  250. </h3>
  251. <p>
  252. Check out fhe fusion diagrams
  253. <br/>
  254. Get a glance at the ingredients and resources you need for yoour next fusion.
  255. </p>
  256. </article>
  257. <article>
  258. <h3>
  259. <a href='/report'>
  260. Reports
  261. </a>
  262. </h3>
  263. <p>
  264. Get useful info to improve your gameplay.
  265. <ul>
  266. <li>
  267. Learn which of your monsters are in greater need of Devilmons.
  268. </li>
  269. <li>
  270. See the equiped runes that can be replaced with better ones from your inventory.
  271. </li>
  272. </ul>
  273. </p>
  274. </article>
  275. </section>
  276. <?php
  277. include __DIR__ . "/inc/footer.php";
  278. ?>
  279. </body>
  280. </html>