20 lines
432 B
PHP
Executable File
20 lines
432 B
PHP
Executable File
<?php
|
|
|
|
use Vn\Lib\Locale;
|
|
|
|
echo '<meta name="content-language" content="'. Locale::get () .'"/>'."\n\t\t";
|
|
|
|
if ($result = $db->query ('SELECT name, content FROM metatag'))
|
|
{
|
|
while ($row = $result->fetch_assoc ())
|
|
echo "<meta name=\"{$row['name']}\" content=\"{$row['content']}\"/>\n\t\t";
|
|
|
|
$result->free ();
|
|
}
|
|
|
|
$this->includeJs ('js/vn/vn.js');
|
|
$this->includeJs ('js/vn/locale.js');
|
|
$this->includeJs ('pages/main/main.js');
|
|
|
|
?>
|