Файл: hostbiter.ru/Core/myhead.php
Строк: 110
<?
if($title == 'Мое меню' OR $title == 'Настройки'){
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"><head>
<title>Мое меню</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="/theme/default.css" type="text/css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
.tag {
font-family: Helvetica, Arial, sans-serif;
background: #588fe5;
display: inline-block;
color: #fff;
position: relative;
padding: 10px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
margin: 0 70px 0 0;
text-decoration: none;
}
.tag:hover {
background-color: #739fe4;
}
.tag:before {
background: #fff;
width: 10px;
height: 10px;
content: "";
display: inline-block;
border-radius: 20px;
margin: 0 5px 0 0;
}
.tag:after {
display: inline-block;
border: 20px solid;
border-color: transparent transparent transparent #588fe5;
height: 0;
width: 0;
position: absolute;
right: -40px;
top: 0;
content: "";
}
.tag:hover:after {
border-color: transparent transparent transparent #739fe4;
}
</style>
</head>
<body></div>
<div class="title" align="center">Мое меню</div>
<div class="style">
<?
}else{
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"><head>
<title><?=$title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/theme/default.css" type="text/css">
<style type="text/css">
.tag {
font-family: Helvetica, Arial, sans-serif;
background: #588fe5;
display: inline-block;
color: #fff;
position: relative;
padding: 10px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
margin: 0 70px 0 0;
text-decoration: none;
}
.tag:hover {
background-color: #739fe4;
}
.tag:before {
background: #fff;
width: 10px;
height: 10px;
content: "";
display: inline-block;
border-radius: 20px;
margin: 0 5px 0 0;
}
.tag:after {
display: inline-block;
border: 20px solid;
border-color: transparent transparent transparent #588fe5;
height: 0;
width: 0;
position: absolute;
right: -40px;
top: 0;
content: "";
}
.tag:hover:after {
border-color: transparent transparent transparent #739fe4;
}
</style>
</head>
<body><div class="title"><?=$title?></div>
<div class="style">
<?
}
if(isset($_SESSION['message'])){
echo '<font color="red"><center>'.$_SESSION['message'].'</center></font>';
$_SESSION['message'] = null;
}
if($user){
$sqlql = $db->prepare("UPDATE `users` SET `online` = ? WHERE `id` = ?");
$sqlql->execute([time(),$user['id']]);
}