Вход Регистрация
Файл: style/touch/head.php
Строк: 84
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <meta name="format-detection" content="telephone=no" /> 
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title><?= $set['title'?></title>

        <script src="/style/js/jquery.js"></script> 
        <script src="/modules/public/js/public.js"></script>    
        <script src="/style/js/bootstrap.js"></script>

        <style>

            .list-group-item-komms {
                position: relative;
                display: block;
                padding: 2px;
                margin-bottom: -1px;
                background-color: #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'fff';} ?>;
                border: 1px solid #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'ddd';} ?>;
            }
            .list-group-item-komm {
                position: relative;
                display: block;
                padding: 2px;
                margin-bottom: -1px;
                background-color: #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'fff';} ?>;
                border: 1px solid #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'ddd';} ?>;
                overflow: hidden;
            }
            .list-group-item {
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
                position: relative;
                display: block;
                padding: 10px;
                margin-bottom: -1px;
                background-color: #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'fff';} ?>;
                border: 1px solid #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'ddd';} ?>;
                overflow: hidden;
            }
            .list-group-items {
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                position: relative;
                display: block;
                padding: 10px;
                margin-bottom: -1px;
                background-color: #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'fff';} ?>;
                border: 1px solid #<?php if (isset($user)){echo $user['color_blok'];}else{echo 'ddd';} ?>;
            }
        </style>
        <link rel="stylesheet" href="/style/css/font-awesome.css">
        <link rel="stylesheet" href="/style/touch/style.css"> 
        <link rel="stylesheet" href="/style/touch/demo.css">
        <link rel="stylesheet" href="/style/css/bootstrap.css">  
        <link rel="stylesheet" href="/style/touch/hint.css">

    </head> 

    <body> 
        <style>
            .horiz-menu__link:hover{
                background: #<?= $user['colorbp'?> !important;
            }
            span.badge {
                min-width: 1rem;
                padding: 0 6px;
                text-align: center;
                font-size: 1rem;
                border-radius: 2px;
                line-height: inherit;
                background-color: #<?= $user['color_count'?>;
                color: #fff;
                position: absolute;
                right: 15px;
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
            }
        </style>

        <div class="container"> 
            <?php
            
if (isset($user)) {
                
#Верхняя панель для авторизованных
                
include_once 'style/touch/aut.php';
            } else {
                
#Верхняя панель для гостей
                
?>
                <div class="unauth_header"> 
                    <a href="/aut.php" class="btn btn-info btn-sm" style="margin-top: 6px;"><i class="fa fa-sign-in fa-fw fa-lg"></i> Вход</a>   
                    <a href="/reg.php" class="btn btn-info btn-sm" style="margin-top: 6px;">Создать аккаунт</a>
                </div>

                <?php
            
}
            if (
$_SERVER['PHP_SELF'] != '/index.php') {
                echo 
"<div class='title'>";
                if (isset(
$user) && $user['set_times'] == 1) {
                    echo 
"<span style='float: right'>";
                    echo 
date("G:i"$time $user['set_timesdvig'] * 60 60);
                    echo 
"</span>";
                }
                echo 
"<span class='title_item'>";
                echo 
"<b>$set[title]</b>";
                echo 
"</span>";
                echo 
"</div>";
            }
Онлайн: 0
Реклама