| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php // BEGIN PHP
- $websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__;
- if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) {
- $pathdepth = count(explode('/', $_SERVER['SCRIPT_NAME'])) - 2;
- require_once $pathdepth ? str_repeat('../', $pathdepth) : './'.'master.inc.php';
- } // Not already loaded
- require_once DOL_DOCUMENT_ROOT.'/core/lib/website.lib.php';
- require_once DOL_DOCUMENT_ROOT.'/core/website.inc.php';
- ob_start();
- // END PHP ?>
- <html lang="fr">
- <head>
- <title>Menu</title>
- <meta charset="utf-8">
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta name="robots" content="index, follow" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="keywords" content="" />
- <meta name="title" content="Menu" />
- <meta name="description" content="Menu common to all pages" />
- <meta name="generator" content="Dolibarr 14.0.0-alpha (https://www.dolibarr.org)" />
- <meta name="dolibarr:pageid" content="24" />
- <?php if ($website->use_manifest) { print '<link rel="manifest" href="/manifest.json.php" />'."\n"; } ?>
- <!-- Include link to CSS file -->
- <link rel="stylesheet" href="/styles.css.php?website=<?php echo $websitekey; ?>" type="text/css" />
- <!-- Include link to JS file -->
- <script src="/javascript.js.php"></script>
- <!-- Include HTML header from common file -->
- <?php if (file_exists(DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html")) include DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html"; ?>
- <!-- Include HTML header from page header block -->
- </head>
- <!-- File generated by Dolibarr website module editor -->
- <body id="bodywebsite" class="bodywebsite bodywebpage-menu">
- <nav id="nav">
- <ul>
- <li><a href="home.php">Introduction</a></li>
- <li><a href="home.php#sectionfirst">Section on home page</a></li>
- <li><a href="home.php#sectionsecond">Another section on home page</a></li>
- <li><a href="generic.php">Another page</a></li>
- </ul>
- </nav>
- </body>
- </html>
- <?php // BEGIN PHP
- $tmp = ob_get_contents(); ob_end_clean(); dolWebsiteOutput($tmp, "html", 24);
- // END PHP ?>
|