core/skin/shkola5nt.ru/inc/header.html

87 lines
3.9 KiB
HTML
Raw Normal View History

2023-02-08 16:59:59 +05:00
<!DOCTYPE html>
<html lang="ru-RU">
<head>
{* служебные заголовки *}
<meta charset="utf-8">
<title>{$title|default:$global_settings.site_name}</title>
<meta name="yandex-verification" content="{$global_settings.yawebmaster}" />
{*<meta name="viewport" content="width=device-width" *>*}
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="https://{$smarty.SERVER.HTTP_HOST}/api/templates/{$smarty.const.SKIN}/" />
<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />
<meta name="yandex-verification" content="525a792724265c8f" />
{* иконка сайта *}
<link rel="shortcut icon" href="/api/templates/{$smarty.const.SKIN}/img/favicon.ico" />
{* Основные стили *}
<link rel="stylesheet" type="text/css" href="/api/bootstrap/4.5.0/css/bootstrap.min.css" />
<link rel="stylesheet" href="css/css{$smarty.cookies.ogr}.css?v=4" />
</head>
<body class="container" style="z-index: 1;">
{*include file=$girlyanda*}
{* Шапка *}
<header class="container-fluid" style="background-color: #fff;z-index:1;">
<div class="row">
<div class="col-xs col-sm col-md-4 col-lg-4 col-xl-4 d-none d-md-block" style="margin:0px;padding:0px;">
<img src="/api/templates/shkola5nt.ru/img/unesko.jpg" alt="Школа №5 Нижний Тагил">
</div>
<div class="col-xs col-sm col-md-4 col-lg-4 col-xl-4 d-none d-md-block" style="margin:0px;padding:0px;">
<img src="/api/templates/shkola5nt.ru/img/shkola5.jpg" alt="Школа №5 Нижний Тагил">
</div>
<div class="col-xs col-sm col-md-4 col-lg-4 col-xl-4" style="margin:0px;padding:0px;">
<img src="/img/users/23/header4.jpg" alt="Школа №5 Нижний Тагил">
{*<img src="/api/img/png/ng/49155-7-santa-claus-hat-hd-free-transparent-image-hd.png" class="ng_shapka">*}
</div>
</div>
</header>
{* меню сайта *}
<div class="container-fluid" style="margin:0px;padding:0px;">
{include file=$menu}
</div>
<div class="container-fluid">
<div class="row">
{* Левая менюшка *}
<aside class="col-xs-3 col-sm-3 col-md-3 col-lg-3 col-xl-3 d-none d-lg-block" style="margin:0px; background-color: #fff;">
<p class="text-center"><a href="/ver_ogr/{$smarty.const.URL}" class="ver_slep"><i class="fas fa-eye"></i> ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ</a></p>
<div class="card">
<div class="card-header"><p class="text-center show_mini_page" data-status="0" data-target="3" style="margin-bottom: 0px; cursor:pointer;" data-page="/mini_page/3" id="p_sved_oo">Сведения об ОО <i class="fas fa-angle-right strela" id="strela-3"></i></p></div>
<div class="card-body" style="padding: 0px;" id="mini-page-3">
</div>
</div>
<div class="card">
<div class="card-header"><p class="text-center" style="margin-bottom: 0px;">Меню сайта</p></div>
<div class="card-body" id="lb-s-now" style="padding: 1px;padding-left:-10px;">
</div>
</div>
<div class="card" style="margin-top:15px;">
<div class="card-header"><p class="text-center" style="margin-bottom: 0px;">Популярные страницы</p></div>
<div class="card-body" id="reyt_page">
</div>
</div>
</aside>
<!-- Контент -->
<article class="col-xs col-sm col-md col-lg">
{* определяем - главная ли страница *}
{if $smarty.const.ID==$global_settings.main_page}{* да главная *}
{if $global_settings.show_h1!=0}
{if isset($h1)}<h1>{$h1}</h1>{/if}
{else}
{if isset($h1)}<h1 class="text-while font-size-4">{$h1}</h1>{/if}
{/if}
{else} {* не главная *}
{if isset($h1)}<h1>{$h1}</h1>{/if}
{/if}