| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?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>This is a Blog post</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="blog" />
- <meta name="title" content="This is a Blog post" />
- <meta name="description" content="This is a full meta description of the article" />
- <meta name="generator" content="Dolibarr 16.0.0-alpha (https://www.dolibarr.org)" />
- <meta name="dolibarr:pageid" content="25" />
- <?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-this-is-a-blog-post">
- <!-- Enter here your HTML content. Add a section with an id tag and tag contenteditable="true" if you want to use the inline editor for the content -->
- <section id="mysection1" contenteditable="true" style="background: #fff; color: #000;">
- This is a blog post article...
- </section>
- </body>
- </html>
- <?php // BEGIN PHP
- $tmp = ob_get_contents(); ob_end_clean(); dolWebsiteOutput($tmp, "html", 25);
- // END PHP ?>
|