help.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang='<?=$page->lang?>'>
  3. <head>
  4. <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
  5. <meta charset='utf-8'/>
  6. <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
  7. <title><?=$page->title?></title>
  8. <link rel='shortcut icon' href='<?=$page->favicon?>'/>
  9. <!-- CSS files -->
  10. <link rel='stylesheet' type='text/css' href='<?=$static["css"]?>ui.css'/>
  11. <link rel='stylesheet' type='text/css' href='<?=$static["css"]?>help.css'/>
  12. <!-- Script files -->
  13. <script type="text/javascript" src="<?=$static["js"]?>ui.js"></script>
  14. <script type="text/javascript" src="<?=$static["js"]?>help.js"></script>
  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='<?=$page->lang?>'/>
  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 $path["inc"] . "header.php";
  37. ?>
  38. <main>
  39. <?php
  40. foreach($page->help as $key=>$help) {
  41. ?>
  42. <section id='<?=$key?>' class='help'>
  43. <h3 class='pointer' onClick='toggleHelp("<?=$key?>");'>
  44. <img class='slider' src='<?=$static["layout"]?>control/slid_r.svg' alt='>'/>
  45. <?=$help["title"]?>
  46. </h3>
  47. <p>
  48. <?=$help["text"]?>
  49. </p>
  50. </section>
  51. <?php
  52. }
  53. ?>
  54. </main>
  55. <?php
  56. include $path["inc"] . "footer.php";
  57. ?>
  58. </body>
  59. </html>