<!DOCTYPE html>
<html lang="{{ langs.getDefaultLang }}">
<head>
<title>{{ app_title }}</title>
<meta charset="UTF-8">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="blacktiehost.com">
<link rel="shortcut icon" type="image/x-icon" href="{{ main_url }}/themes/{{ theme }}/img/favicon.png"/>
<link type="text/css" rel="stylesheet" href="{{ main_url }}/themes/{{ theme }}/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="{{ main_url }}/themes/{{ theme }}/css/bootstrap-grid.css">
<link type="text/css" rel="stylesheet" href="{{ main_url }}/themes/{{ theme }}/css/bootstrap-utilities.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
<script src="{{ main_url }}/themes/default/js/copy.js"></script>
<script src="{{ main_url }}/themes/default/js/tooltip.js"></script>
</head>
<body class="d-flex vh-100 flex-column">
<nav class="navbar navbar-expand bg-body-secondary">
<div class="container">
<a class="navbar-brand" href="{{ main_url }}">
<img src="{{ main_url }}/themes/{{ theme }}/img/logo.png" alt="Logo" width="30" height="24" class="d-inline-block align-text-top me-2">
{{ app_title }}</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="{{ main_url }}">{{ langs.trans('Domains') }}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ main_url }}/records.php">{{ langs.trans('Records') }}</a>
</li>
</ul>
{% if user.id > 0 %}
<form class="d-flex" role="search" method="post">
<input type="hidden" name="action" value="search"/>
<input class="form-control me-2" name="search_string" type="text" placeholder="{{ langs.trans('Search') }}..." aria-label="Search">
<input class="btn btn-outline-success" type="submit" name="submit" value="{{ langs.trans('Search') }}"/>
</form>
{% endif %}
</div>
</div>
</nav>
{% if user.id > 0 %}
<nav class="navbar navbar-expand bg-body-tertiary">
<div class="container">
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<div class="d-flex ms-auto">
{% if user.first_name or user.last_name %}
<span>{{ langs.trans('Hi') }}, <b>{{ user.first_name }} {{ user.last_name }}</b></span> /
{% else %}
<span>{{ langs.trans('Hi') }}, <b>{{ user.username }}</b></span> /
{% endif %}
<a class="nav-link" href="profile.php"><i class="bi bi-person-fill"></i> {{ langs.trans('Profile') }}</a> /
{% if user.admin == 1 %}
<a class="nav-link" href="{{ main_url }}/admin"><i class="bi bi-gear"></i> {{ langs.trans('AdminDashboard') }}</a> /
{% endif %}
<a class="nav-link" href="{{ main_url }}?action=logout"><i class="bi bi-box-arrow-right"></i> {{ langs.trans('Logout') }}?</a>
</div>
</div>
</div>
</nav>
{% endif %}
<div class="flex-grow-1 bg-light">
<div class="container mt-5">
{% if error %}
<div class="container">
<div class="row">
<div class="col"></div>
<div class="col">
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<strong>{{ error }}</strong>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
</div>
</div>
{{ unset('PM_ERROR') }}
{% endif %}
{% if message %}
<div class="container">
<div class="row">
<div class="col"></div>
<div class="col">
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>{{ message }}</strong>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
</div>
</div>
{{ unset('PM_MESSAGE') }}
{% endif %}
{% block body %}{% endblock %}
</div>
</div>
<footer class="text-center text-lg-start bg-light text-muted">
<div class="text-center p-4" style="color: {{ text_color }};">
© 2021 - 2023 {{ langs.trans('AllRightsReserved') }}
<a class="text-reset fw-bold" href="https://blacktiehost.com/">BlackTieHost.com</a>
<div class="mt-3">
<a href="https://github.com/milenmk" target="_blank"><i class="bi bi-git"></i></a>
<a href="skype:milenmk1?chat" target="_blank"><i class="bi bi-skype"></i></a>
<a href="https://www.linkedin.com/in/milen-karaganski-0664a1255/" target="_blank"><i class="bi bi-linkedin"></i></a>
</div>
</div>
</footer>
{% block javascripts %}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js" integrity="sha384-mQ93GR66B00ZXjt0YO5KlohRA5SY2XofN4zfuZxLkoj1gXtW8ANNCe9d5Y3eG5eD"
crossorigin="anonymous"></script>
{% endblock %}
</body>
</html>
|