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

105 lines
5.7 KiB
HTML

<!DOCTYPE html>
<html lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$title|default:"ChatNT - чат и знакомства Нижнего Тагила"}</title>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="Generator" content="YurecSoftware - Copyright (C) 2010 All rights not reserved.">
<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />
<meta name="viewport" content="width=device-width" *>
<link rel="stylesheet" href="https://yurecnt.ru/api/bootstrap/4.5.0/css/bootstrap.min.css" media="all" />
<link rel="stylesheet" href="/api/fonts/urw/urw.css" media="all" />
<link rel="stylesheet" href="/api/templates/{$smarty.const.SKIN}/css/css.css" media="all" />
</head>
<!-- Шапка -->
<header class="container shadow p-0">
<div class="row flex-items-xs-middle flex-items-md-middle" style="margin:0px;">
<div class="col-xs-1 col-lg-1">
<img src="/api/templates/{$smarty.const.SKIN}/img/logo.png" class="logo" alt="ChatNT - чат и знакомства Нижнего Тагила">
</div>
<div class="col-xs-3 col-lg-3">
<span class="txt_logo"><a href="/">ChatNT</a></span>
</div>
<div class="col-xs col-lg"></div>
{if $smarty.session.user_id}
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Кнопка выпадающего списка
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
<!-- div class="col-xs-3 col-lg-3 text-center" style="background-color:#ecf0f1;margin:0px">
<a href="/msg/"><i class="far fa-envelope" style="font-size: 1.5rem; margin-right: 10px;margin-top:10%;"></i></a>
<a href="/friends/"><i class="fas fa-users" style="font-size: 1.5rem; margin-right: 10px;margin-top:10%;"></i></a>
<a href="/edit_profile/"><i class="far fa-user" style="font-size: 1.5rem; margin-right: 10px;margin-top:10%;"></i></a>
<a href ="/exit/"><i class="fas fa-sign-out-alt" style="font-size: 1.5rem;margin-top:10%;"></i></a>
</div -->
{/if}
<!-- nav class="navbar navbar-expand-lg navbar-light" style="background: transparent;">
{if isset($smarty.session.user_id)}
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="/" title="Чаты"><i class="fa fa-comments" aria-hidden="true"><span class="mnutxt">Чаты</span></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/blogs/" title="Блоги"><i class="fa fa-file" aria-hidden="true"><span class="mnutxt">Блоги</span></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/foto/" title="Фотоархив"><i class="fa fa-file-image-o" aria-hidden="true"><span class="mnutxt">Фотоархив</span></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/love/" target="_blank" title="Знакомства"><i class="fa fa-heart" aria-hidden="true"><span class="mnutxt">Знакомства</span></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/msg/" target="_blank" title="Сообщения"><i class="fa fa-envelope" aria-hidden="true"><span class="mnutxt">Сообщения</span></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/user/" title="Мой профиль"><i class="fa fa-user" aria-hidden="true"><span class="mnutxt">Мой профиль</span></i></a>
</li>
{if $smarty.const.MOD=='room' && $room[0].sozdatel==$smarty.session.user_id}
<li class="nav-item">
<a class="nav-link" href="#" data-toggle="modal" data-target="#roomset" title="Настроить комнату"><i class="fa fa-cogs" aria-hidden="true"><span class="mnutxt">Настроить комнату</span></i></a>
</li>
{/if}
</ul>
{* форма поиска *}
<form class="form-inline my-2 my-lg-0">
<div class="input-group">
<input class="form-control {*mr-sm-2*}" type="text" placeholder="Поиск">
<button class="btn btn-outline-secondary my-2 my-sm-0 findbtn" type="submit"><i class="fa fa-search" aria-hidden="true"></i></button>
</div>
</form>
</div>
{/if}
</nav -->
</div>
</header>
<section class="container shadow margin-top-20">
{* определяем - главная ли страница *}
{if $smarty.const.ID==$global_settings.main_page}
{if $global_settings.show_h1!=0}
{if isset($h1)}<h1 class="text-right">{$h1}</h1>{/if}
{/if}
{else}
{if isset($h1)}<h1 class="text-right">{$h1}</h1>{/if}
{/if}
{if ($smarty.session.user_id)}
<div class="row">
<div class="col-xs-2 col-sm-2 col-md-2 col-lg-2 col-xl-2" >
{include file=$menu}
</div>
<div class="col-xs col-sm col-md col-lg col-xl">
{/if}