hedera-web/pages/main/ui.php

33 lines
1.1 KiB
PHP
Raw Normal View History

<?php
2018-05-23 10:14:20 +00:00
$lang = Vn\Lib\Locale::get();
$result = $db->query('SELECT name, content FROM metatag');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
2015-12-10 23:24:14 +00:00
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=no"/>
2016-10-30 22:48:18 +00:00
<meta name="mobile-web-app-capable" content="yes"/>
<link rel="shortcut icon" href="image/favicon/favicon.ico"/>
<link rel="apple-touch-icon" href="image/favicon/apple-touch-icon.png"/>
<link rel="icon" type="image/png" href="image/favicon/favicon.png"/>
<link rel="icon" type="image/svg+xml" href="image/icon.svg" sizes="any"/>
2017-12-05 12:59:22 +00:00
<link rel="manifest" href="<?=$dir?>/manifest.json"/>
2016-10-30 22:48:18 +00:00
<meta name="theme-color" content="#009688"/>
<meta name="content-language" content="<?=$lang?>"/>
2018-05-23 10:14:20 +00:00
<?php while ($row = $result->fetch_object()): ?>
<meta name="<?=$row->name?>" content="<?=$row->content?>"/>
<?php endwhile ?>
<?php foreach (getWebpackAssets() as $js): ?>
<script type="text/javascript" src="<?=$js?>"></script>
<?php endforeach ?>
<title>Verdnatura</title>
</head>
<body></body>
</html>