forked from ZwiiCMS-Team/ZwiiCMS
27 lines
1.2 KiB
PHP
Executable File
27 lines
1.2 KiB
PHP
Executable File
<?php $layout = new layout($this);
|
|
$lan = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); ?>
|
|
<!DOCTYPE html>
|
|
<html prefix="og: http://ogp.me/ns#" lang="<?php echo $lan;?>">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<?php $layout->showMetaTitle(); ?>
|
|
<?php $layout->showMetaDescription(); ?>
|
|
<?php $layout->showMetaType(); ?>
|
|
<?php $layout->showMetaImage(); ?>
|
|
<?php $layout->showFavicon(); ?>
|
|
<?php $layout->showVendor(); ?>
|
|
<?php $layout->showStyle(); ?>
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/common.css">
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false); ?>core/layout/lity.css">
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>theme.css?<?php echo md5_file(self::DATA_DIR.'theme.css'); ?>">
|
|
<link rel="stylesheet" href="<?php echo helper::baseUrl(false) . self::DATA_DIR; ?>custom.css?<?php echo md5_file(self::DATA_DIR.'custom.css'); ?>">
|
|
</head>
|
|
<body>
|
|
<?php $layout->showNotification(); ?>
|
|
<div id="site" class="container">
|
|
<section><?php $layout->showContent(); ?></section>
|
|
</div>
|
|
<?php $layout->showScript(); ?>
|
|
</body>
|
|
</html>
|