Вход Регистрация
Файл: upload/core/templates/default/layout/main.html
Строк: 190
<?php
<!DOCTYPE html>
<
html lang="ru">
<
head>
    {{ 
meta|raw }}
    <
meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <
meta name="apple-mobile-web-app-capable" content="yes">
    <
meta name="apple-mobile-web-app-status-bar-style" content="default">
    <
meta name="apple-mobile-web-app-title" content="{{ site_name }}">
    
    <
link href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Macondo&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&family=Sixtyfour&display=swap" rel="stylesheet">
    <
link rel="stylesheet" href="{{ style|raw }}">
    <
link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

    <
link rel="icon" type="image/png" sizes="32x32" href="{{ templ_home }}/images/seo/favicon/favicon-32x32.png">
    <
link rel="icon" type="image/png" sizes="16x16" href="{{ templ_home }}/images/seo/favicon/favicon-16x16.png">
    <
link rel="icon" href="{{ templ_home }}/images/seo/favicon/favicon.ico" type="image/x-icon">
    
    <
link rel="manifest" href="{{ home }}/manifest.php">
    <
link rel="apple-touch-icon" href="{{ templ_home }}/images/seo/app/icon-180.png">
    
    <
script src="{{ home }}/core/js/Scripts.js"></script>
    <
script src="{{ home }}/core/js/bootstrap.js"></script>
    <
script src="{{ home }}/core/js/jquery-3.6.0.min.js"></script>
</
head>

<
body>

{% include 
'layout/modals.html' %}

{{ 
side_layout|raw }}

<
div class="head_bar">
    <
div class="left-block">

        <
span class="mobile">
            <
span id="hamburger">
                <
div id="nav-icon">
                    <
span></span>
                    <
span></span>
                    <
span></span>
                </
div>
            </
span>
        </
span>

        <
class="site_logo" href="{{ home }}"></a>

        <
div class="head_menu">

            <
class="head_menu-item {{ currentPath starts with '/users' ? 'active' : '' }}"
               
href="{{ home }}/users">Фрилансеры</a>

            <
class="head_menu-item {{ currentPath starts with '/new-works' ? 'active' : '' }}"
               
href="{{ home }}/new-works">Новые предложения</a>

            <
class="head_menu-item {{ currentPath starts with '/project-info' ? 'active' : '' }}"
               
href="{{ home }}/project-info">О проекте</a>

            <
class="head_menu-item {{ currentPath starts with '/rules' ? 'active' : '' }}"
               
href="{{ home }}/rules">Правила проекта</a>

        </
div>

    </
div>

    {% if 
user.id %}
        <
div class="right-block">

            {% if 
user.level_us %}
                <
class="user_but" href="{{ home }}/admin"><class="fas fa-gear"></i></a>
            {% endif %}

            <
class="user_but" href="{{ home }}/mes">
                <
class="fas fa-message"></i>
                <
span id="unreadCounter" class="unread-badge"
                      
style="display: {{ unread > 0 ? 'flex' : 'none' }};">
                    {{ 
unread }}
                </
span>
            </
a>

            <
div class="money_block">
                <
class="fas fa-wallet"></i>
                <
class="head_money number" href="{{ home }}/balance">
                    {{ 
user.k_money }}<span class="rub"></span>
                </
a>
            </
div>

            <
div class="dropdown">
                <
span class="user_but btn btn-secondary dropdown-toggle"
                      
data-bs-toggle="dropdown">
                    <
class="fas fa-user"></i>
                </
span>

                <
ul class="dropdown-menu head-drop">

                    <
li><class="dropdown-item" href="{{ home }}/id{{ user.id }}">
                        
Профиль <span class="icon-menu"><class="fas fa-user"></i></span>
                    </
a></li>

                    <
li><class="dropdown-item" href="{{ home }}/account">
                        
Редпрофиль <span class="icon-menu"><class="fas fa-user-pen"></i></span>
                    </
a></li>

                    <
li>
                        <
class="dropdown-item" href="{{ home }}/buys">
                            
Покупки
                            
{% if summ_sl %}
                                <
span class="readline number">{{ summ_sl }}</span>
                            {% else %}
                                <
span class="icon-menu"><class="fas fa-bag-shopping"></i></span>
                            {% endif %}
                        </
a>
                    </
li>

                    <
li>
                        <
class="dropdown-item" href="{{ home }}/sales">
                            
Продажи
                            
{% if summ_ud %}
                                <
span class="readline number">{{ summ_ud }}</span>
                            {% else %}
                                <
span class="icon-menu"><class="fas fa-coins"></i></span>
                            {% endif %}
                        </
a>
                    </
li>

                    <
li><class="dropdown-item" href="{{ home }}/cart">
                        
Избранные <span class="icon-menu"><class="fas fa-heart"></i></span>
                    </
a></li>

                    <
li><class="dropdown-item" href="{{ home }}/search">
                        
Поиск <span class="icon-menu"><class="fas fa-search"></i></span>
                    </
a></li>

                    <
li><class="dropdown-item" href="{{ home }}/tickets">
                        
Тикеты <span class="icon-menu"><class="fas fa-headset"></i></span>
                    </
a></li>

                    <
li><class="dropdown-item" data-bs-toggle="modal" data-bs-target="#exit" style="color:#ea4c3e;">
                        
Выход <span class="icon-menu"><class="fas fa-right-from-bracket"></i></span>
                    </
a></li>

                </
ul>
            </
div>

        </
div>

    {% else %}

        <
div class="right-block">
            <
class="btn button" href="{{ home }}/login">Войти</a>
            <
class="head_menu-item" href="{{ home }}/register">Регистрация</a>
        </
div>

    {% endif %}

</
div>

<
div class="content">
<
div id="overlay"></div>
<
div id="alertContainer"></div>
<
div class="loader" id="loader"><div class="bar"></div></div>
    {{ 
content|raw }}
</
div>

<
audio id="msgSound" src="{{ templ_home }}/sounds/message.mp3" preload="auto"></audio>

<
div class="home_us footer">
    <
div class="bottom_footer-info">
        <
class="footer-info-link" href="{{ home }}/offer">Публичная оферта</a>
        <
class="footer-info-link" href="{{ home }}/project-info">О проекте</a>
        <
class="footer-info-link" href="{{ home }}/orders">Услуги</a>
        <
class="footer-info-link" href="{{ home }}/privacy">Политика конфиденциальности</a>
        <
class="footer-info-link" href="mailto:{{ email_support }}">Обратная связь</a>
        <
class="footer-info-link" href="{{ home }}/solutions">База знаний</a>
    </
div>
</
div>

</
body>
</
html>
?>
Онлайн: 0
Реклама