22 lines
1.0 KiB
PHP
22 lines
1.0 KiB
PHP
<?php $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 $this->showMetaTitle(); ?>
|
|
<?php $this->showMetaDescription(); ?>
|
|
<?php $this->showMetaType(); ?>
|
|
<?php $this->showMetaImage(); ?>
|
|
<?php $this->showFavicon(); ?>
|
|
<?php $this->showVendor(); ?>
|
|
<?php $this->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/blank.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 $this->showContent(); ?>
|
|
<?php $this->showScript(); ?>
|
|
</body>
|
|
</html>
|