Файл: sys/inc/thead.php
Строк: 70
<?php
$set['meta_keywords'] = (isset($set['meta_keywords'])) ? $set['meta_keywords'] : null;
$set['meta_description'] = (isset($set['meta_description'])) ? $set['meta_description'] : null;
if ($set['meta_keywords'] != NULL) {
function meta_keywords($str) {
global $set;
return str_replace('</head>', '<meta name="keywords" content="' . $set['meta_keywords'] . '" />' . "n</head>", $str);
}
ob_start('meta_keywords');
}
if ($set['meta_description'] != NULL) {
function meta_description($str) {
global $set;
return str_replace('</head>', '<meta name="description" content="' . htmlspecialchars($set['meta_description']) . '" />' . "n</head>", $str);
}
ob_start('meta_description');
}
header("Content-type: application/xhtml+xml; charset=utf-8");
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><?echo $set['title'];?></title>
<link rel = "shortcut icon" href = "/style/img/special.png" />
<link rel = "stylesheet" href = "/style/themes/<?php echo $set['set_them']; ?>/style.css" type = "text/css" />
<link rel = "stylesheet" href = "/style/themes/<?php echo $set['set_them']; ?>/default.css" type = "text/css" />
<link rel = "alternate" title = "Новости RSS" href = "/news/rss.php" type = "application/rss+xml" />
<link rel = "stylesheet" type = "text/css" href = "/style/css/keyboard.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type = "text/javascript" src = "/sys/js/keyboard.js" charset = "UTF-8"></script>
<script type = "text/javascript" src = "/sys/js/jquery.tiptip.js" charset = "UTF-8"></script>
<script>
$(document).ready(function () {
$(".dropdown .button, .dropdown button").click(function () {
$('.dropdown-slider').slideUp();
$('span.toggle').removeClass('active');
$(this).parent().find('.dropdown-slider').slideToggle('fast');
$(this).find('span.toggle').toggleClass('active');
return false;
});
$('.tiptip a.button, .tiptip button').tipTip();
});
$(document).bind('click', function (e) {
if (e.target.id != $('.dropdown').attr('class')) {
$('.dropdown-slider').slideUp();
$('span.toggle').removeClass('active');
}
});
</script>
</head>
<body>