File size: 1.17Kb
<?php
$show_theme = !empty($user['set_them']) ? $user['set_them'] : $set['theme'];
if (stristr($_SERVER['HTTP_USER_AGENT'], 'msie') && stristr($_SERVER['HTTP_USER_AGENT'], 'windows'))
{
header('Content-type: text/html; charset=UTF-8');
}
else
{
header('Content-type: application/xhtml+xml; charset=UTF-8');
}
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<title><?=$set['title']?></title>
<link rel="shortcut icon" href="/favicon.png" />
<link rel="stylesheet" href="/style/themes/<?=$show_theme?>/style.css" type="text/css" />
<meta name="keywords" content="<?=$set['meta_keywords']?>" />
<meta name="description" content="<?=$set['meta_description']?>" />
</head>
<body>
<?php
if (file_exists(H.'style/themes/'.$show_theme.'/head.php'))
include_once H.'style/themes/'.$show_theme.'/head.php';
?>
<div class="title">
<?=$set['title']?>
</div>
<div class="aut">
<?=$user_id? '<a href="/pages/menu.php">Кабинет</a> | <a href="/login.php?exit">Выход</a>' : '<a href="/login.php">Войти на сайт</a>';?>
</div>
<div class="body">