Файл: sys/inc/thead.php
Строк: 49
<?php
/*
* DCMS S (Special)
* Версия файла 0.0.1
* Дата последнего редактирования 19.11.2015
* Модифицировал densnet
*/
$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="' . $set['meta_description'] . '" />' . "n</head>", $str);
}
ob_start('meta_description');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title><?= $set['title']; ?></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<!-- Bootstrap 4 CSS -->
<link rel="stylesheet" href="/style/css/bootstrap.css">
<link rel="stylesheet" href="/style/css/tether.css">
<link rel="stylesheet" href="/style/css/font-awesome.css">
<link rel="stylesheet" href="/style/css/style.css">
<script src="/style/js/jquery.min.js" ></script>
<script src="/style/js/bootstrap.js" ></script>
<script src="/style/js/drop.js" ></script>
<script src="/style/js/npm.js" ></script>
<script src="/style/js/tether.js" ></script>
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
$('#myTab a').click(function (e) {
e.preventDefault()
$(this).tab('show')
})
</script>
</head>
<body>
<div class="container">