| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?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="en">
- <head>
- <title>Header</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="Header" />
- <meta name="description" content="" />
- <meta name="generator" content="Dolibarr 17.0.0-beta (https://www.dolibarr.org)" />
- <meta name="dolibarr:pageid" content="253" />
- <?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 async 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-header">
- <section id="header" contenteditable="true">
- <nav class="navbar navbar-expand-lg bg-white shadow-lg">
- <div class="container">
- <button
- class="navbar-toggler"
- type="button"
- data-bs-toggle="collapse"
- data-bs-target="#navbarNav"
- aria-controls="navbarNav"
- aria-expanded="false"
- aria-label="Toggle navigation"
- >
- <span class="navbar-toggler-icon"></span>
- </button>
- <a class="navbar-brand" href="index.html"><?php echo $mysoc->name; ?></a>
- <div class="d-lg-none">
- <a href="contact.php#reservation"
- type="button"
- class="custom-btn btn btn-danger"
- data-bs-toggle="modal"
- data-bs-target="#BookingModal"
- ><?php $langs->trans("Reservation"); ?></a>
- </div>
- <div class="collapse navbar-collapse" id="navbarNav">
- <ul class="navbar-nav mx-auto">
- <li class="nav-item">
- <a class="nav-link<?php echo ($websitepage->ref == 'index' ? ' active' : ''); ?>" href="index.php"><?php echo $weblangs->trans("Home"); ?></a>
- </li>
- <li class="nav-item">
- <a class="nav-link<?php echo ($websitepage->ref == 'about' ? ' active' : ''); ?>" href="about.php"><?php echo $weblangs->trans("About"); ?></a>
- </li>
- <li class="nav-item">
- <a class="nav-link<?php echo ($websitepage->ref == 'menu' ? ' active' : ''); ?>" href="menu.php"><?php echo $weblangs->trans("Menu"); ?></a>
- </li>
-
- <li class="nav-item">
- <a class="nav-link<?php echo ($websitepage->ref == 'contact' ? ' active' : ''); ?>" href="contact.php"><?php echo $weblangs->trans("Contact"); ?></a>
- </li>
- </ul>
- </div>
- <div class="d-none d-lg-block">
- <a href="contact.php#reservation"
- type="button"
- class="custom-btn btn btn-danger"
- data-bs-toggle="modal"
- data-bs-target="#BookingModal"
- ><?php echo $weblangs->trans("Reservation"); ?></a>
- </div>
- </div>
- </nav>
- </section>
- </body>
- </html>
- <?php // BEGIN PHP
- $tmp = ob_get_contents(); ob_end_clean(); dolWebsiteOutput($tmp, "html", 253);
- // END PHP ?>
|