<?
$set['web'] = false;
//header("Content-type: application/vnd.wap.xhtml+xml");
//header("Content-type: application/xhtml+xml");
header("Content-type: text/html");
echo '<?xml version="1.0" encoding="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="/style/themes/<?=$set['set_them']?>/favicon.ico" />
<link rel="stylesheet" href="/style/themes/<?=$set['set_them']?>/style.css" type="text/css" />
<script src="/ajax/jquery.min.js"></script>
<!--[if lt IE 9]>
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="/style/themes/<?= $set['set_them']?>/javascript/jquery.touchslider.min.js"></script>
<script src="/style/themes/<?= $set['set_them']?>/javascript/main.min.js"></script>
<link rel="stylesheet" href="/style/themes/<?= $set['set_them']?>/design.css" type="text/css" />

</head>
<body>

<div class="body">
<!-- Модальное окно для фото -->
<div class="modal-object" id="modal-object"> 
<div class="loader-back" onclick="clozeModal()"></div>
<div class="modal-content" id="modal-content">
</div>
</div>
<!-- The End -->
<?
if (isset($_SESSION['message']))
{
	echo '<div class="msg">' . $_SESSION['message'] . '</div>';
	$_SESSION['message'] = NULL;
}

if ($_SERVER['PHP_SELF'] == '/index.php')
{
if($user['ekonom']==0){
	?>
	<center>
	<div class="logo">
	<a href="/"><img src="/style/themes/<?=$set['set_them']?>/img/log.png" alt="logo" /></a><br />
	</div>
	</center>
	<?
}else{
// Включена экономия трафика
}
} 



?>