page24.tpl.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php // BEGIN PHP
  2. $websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__;
  3. if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) {
  4. $pathdepth = count(explode('/', $_SERVER['SCRIPT_NAME'])) - 2;
  5. require_once $pathdepth ? str_repeat('../', $pathdepth) : './'.'master.inc.php';
  6. } // Not already loaded
  7. require_once DOL_DOCUMENT_ROOT.'/core/lib/website.lib.php';
  8. require_once DOL_DOCUMENT_ROOT.'/core/website.inc.php';
  9. ob_start();
  10. // END PHP ?>
  11. <html lang="fr">
  12. <head>
  13. <title>Menu</title>
  14. <meta charset="utf-8">
  15. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  16. <meta name="robots" content="index, follow" />
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <meta name="keywords" content="" />
  19. <meta name="title" content="Menu" />
  20. <meta name="description" content="Menu common to all pages" />
  21. <meta name="generator" content="Dolibarr 14.0.0-alpha (https://www.dolibarr.org)" />
  22. <meta name="dolibarr:pageid" content="24" />
  23. <?php if ($website->use_manifest) { print '<link rel="manifest" href="/manifest.json.php" />'."\n"; } ?>
  24. <!-- Include link to CSS file -->
  25. <link rel="stylesheet" href="/styles.css.php?website=<?php echo $websitekey; ?>" type="text/css" />
  26. <!-- Include link to JS file -->
  27. <script src="/javascript.js.php"></script>
  28. <!-- Include HTML header from common file -->
  29. <?php if (file_exists(DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html")) include DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html"; ?>
  30. <!-- Include HTML header from page header block -->
  31. </head>
  32. <!-- File generated by Dolibarr website module editor -->
  33. <body id="bodywebsite" class="bodywebsite bodywebpage-menu">
  34. <nav id="nav">
  35. <ul>
  36. <li><a href="home.php">Introduction</a></li>
  37. <li><a href="home.php#sectionfirst">Section on home page</a></li>
  38. <li><a href="home.php#sectionsecond">Another section on home page</a></li>
  39. <li><a href="generic.php">Another page</a></li>
  40. </ul>
  41. </nav>
  42. </body>
  43. </html>
  44. <?php // BEGIN PHP
  45. $tmp = ob_get_contents(); ob_end_clean(); dolWebsiteOutput($tmp, "html", 24);
  46. // END PHP ?>