Вход Регистрация
Файл: themes/adaptiv/template/head.php
Строк: 181
<?
ob_start
();
/*
function callbackpage($data = false) {
    global $PageConfig;
    return $PageConfig;
}
ob_start("callbackpage");*/
//header('Content-type: text/html; charset=utf-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="ru">
<head>
<meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml; charset=UTF-8" />
<meta name="format-detection" content="telephone=no"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<meta property="og:type" content="website">
<meta property="og:site_name" content="<?=$system['urlHost']?>">
<meta name="twitter:domain" content="<?=$system['urlHost']?>">
<? if (isset($PageConfig['title'])) : ?>
<meta property="og:title" content="<?=$PageConfig['title']?>">
<meta name="twitter:title" content="<?=$PageConfig['title']?>">
<? endif ?>
<? 
if (isset($PageConfig['description'])) : ?>
<meta property="og:description" content="<?=$PageConfig['description']?>">
<meta name="twitter:description" content="<?=$PageConfig['description']?>">
<? endif ?>
<meta property="og:url" content="<?=$set['http']?>://<?=$system['urlHost']?><?=$system['urlPage']?>">
<meta name="twitter:url" content="<?=$set['http']?>://<?=$system['urlHost']?><?=$system['urlPage']?>">
<meta property="og:locale" content="ru_RU">
<? if (isset($PageConfig['og_image'])) : ?>
<meta property="og:image" content="<?=$PageConfig['og_image']?>">
<meta name="twitter:image:src" content="<?=$PageConfig['og_image']?>">
<? endif ?>
<meta property="og:image:width" content="920">
<meta property="og:image:height" content="504">
<? if (isset($PageConfig['keywords'])) : ?>
<meta name="keywords" content="<?=$PageConfig['keywords']?>">
<? endif ?>
<? 
if (isset($PageConfig['description'])) : ?>
<meta name="description" content="<?=$PageConfig['description']?>">
<? endif ?>

<!-- bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/themes/<?=$set['theme']?>/breadcrumbs.css" type="text/css" media="screen">
<!-- bootstrap -->

<link rel="stylesheet" href="/themes/<?=$set['theme']?>/style.css" type="text/css" media="screen">
<link rel="stylesheet" href="/themes/<?=$set['theme']?>/toggleBottom.css" type="text/css" media="screen">
<link rel="stylesheet" href="/themes/<?=$set['theme']?>/font-awesome-4.7.0/css/font-awesome.min.css" type="text/css" media="screen">
<?

//ob_start('PageConfig');
//$dddd = ob_get_contents();
//$PageConfig2 = PageConfig();
//dump($PageConfig2);
?>
<? 
if (isset($PageConfig['title'])) : ?>
<title><?=$PageConfig['title']?></title>
<? endif ?>

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

<script src="/themes/<?=$set['theme']?>/js/jquery.min.1.8.3.js"></script>
<script src="/themes/<?=$set['theme']?>/js/system.js"></script>
</head>
<body>

<div class="LogoType text-center">
    <a href="/">
        <img src="/themes/<?=$set['theme']?>/images/LogoType.png" style="max-width: 100%;">
    </a>
</div>

<div class="head text-center">

    <? /*if ($urlPage != '/') :?>
        <a class="head-bottom" href="/">
            Главная
        </a>
    <? endif ;*/
?>
    
    <? if ($user) :?>
        <a class="head-bottom" href="/user/">
            <i class="fa fa-user" aria-hidden="true"></i> Кабинет
        </a>
        
        <? if ($user['id_level'] != 0) :?>
            <a class="head-bottom" href="/apanel/"><i style="color: #f49c95;" class="fa fa-cube exit-h " aria-hidden="true"></i> Админка</a>
        <? endif ;?>
        
        <? else :?>
        <a class="head-bottom" href="/user/login/"><i class="fa fa-user" aria-hidden="true"></i> Авторизация</a>
        <a class="head-bottom" href="/user/signin/"><i class="fa fa-user-plus" aria-hidden="true"></i> Регистрация</a>
    <? endif ;?>
<?

if (count($news_razd) > 0) {
    
?><br/><br/><?
    
foreach ($news_razd AS $p) {
        
?>
            <a class="head-bottom-razd" href="/news/razd/<?=$p['link']?>/">
                <?=output($p['name'], 'html')?>
            </a>
        <?
    
}    
}

if (isset(
$PageConfig['BreadCrumbs'])) {
    
?><br/><br/><?
    
echo BreadCrumbs($PageConfig['BreadCrumbs']);
}
?>
</div>

<div class="content">
<? if($message || $message_err) : ?>
    <div id="hiddenContent" class="msg <?=($message 'success' 'error')?>  anim-show show">
        <span style="float: right;cursor:pointer;" id="showHideContent">X</span>
        <?=($message $message $message_err)?> 
    </div>
<? endif ;?>

<?
Онлайн: 2
Реклама