diff options
Diffstat (limited to 'Neutron-trunk/api/engine-cyclic/heads.php')
-rw-r--r-- | Neutron-trunk/api/engine-cyclic/heads.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Neutron-trunk/api/engine-cyclic/heads.php b/Neutron-trunk/api/engine-cyclic/heads.php new file mode 100644 index 0000000..0eeba9a --- /dev/null +++ b/Neutron-trunk/api/engine-cyclic/heads.php @@ -0,0 +1,40 @@ +<?php rlgps("Start DOM generation"); ?> +<!DOCTYPE html> +<html lang="<?= rlgps("Definied language");file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/lang"); ?>"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title><?php + + rlgps("Title generator"); + if (isset($MPCMSRendererPageNameValue) && $MPCMSRendererPageNameValue == "index") { + echo(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/sitename")); + } else { + echo(getPageName() . " ยท " . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/sitename")); + } + + ?></title> + <link href="<?= $_MD_INCLUDES ?>/material-components-web.min.css" rel="stylesheet"> + <script src="<?= $_MD_INCLUDES ?>/material-components-web.min.js"></script> + <link rel="stylesheet" href="<?= $_MDI_PATH ?>"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/fonts.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/themes/<?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/color") ?>-<?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/theme") ?>.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/menubar.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/content.css"> + <link rel="shortcut icon" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/upload/favicon.png" type="image/png"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/responsive.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/scrollbars.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/warnings.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/polymer/gallery.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/lib/pushbar.js/library.css"> + <script src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/lib/pushbar.js/library.js"></script> + <?php rlgps("Call <head> headers");require_once $_SERVER['DOCUMENT_ROOT'] . "/resources/private/headers/documenthead.php"; ?> +</head> +<body> +<script> + pushbar = new Pushbar({ + blur: true, + overlay: true + }); +</script> +<?php rlgps("Call <body> headers");require_once $_SERVER['DOCUMENT_ROOT'] . "/resources/private/headers/documentbody.php"; ?>
\ No newline at end of file |