58 lines
1.7 KiB
PHP
58 lines
1.7 KiB
PHP
<?php
|
|
require_once($_SERVER['DOCUMENT_ROOT'] . "/config.php");
|
|
|
|
if (!$_SESSION['id']) {
|
|
$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https://" : "http://";
|
|
|
|
$host = $_SERVER['HTTP_HOST'];
|
|
$domainUrl = $protocol . $host;
|
|
|
|
header("Location: $domainUrl/index.php");
|
|
exit;
|
|
}
|
|
$get = clearInputData($_GET);
|
|
|
|
|
|
$endtime = microtime(true);
|
|
|
|
$t = $endtime - $starttime;
|
|
|
|
//ini_set('display_errors', 1);
|
|
//error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE);
|
|
|
|
|
|
require($_SERVER['DOCUMENT_ROOT'] . "/templates/new-header.php");
|
|
?>
|
|
<style>
|
|
.jw__layout .content-left .system-menu .menu-group svg {
|
|
|
|
margin-left: 25%;
|
|
width: 45px;
|
|
}
|
|
|
|
.header__nav a.nav__link.nav__link {
|
|
border-bottom: unset;
|
|
}
|
|
|
|
.loader-div img {
|
|
width: 100px !important;
|
|
}
|
|
</style>
|
|
<script>
|
|
const hasRestrictedAccess = Boolean(<?= $hasRestrictedAccess ?>)
|
|
</script>
|
|
<script src="https://api-maps.yandex.ru/2.1/?apikey=692f0a05-cb88-4158-88b9-06bc0dc93004&load=package.standard&lang=ru-RU&ns=yandexMap" async></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.8.0/jszip.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.8.0/xlsx.js"></script>
|
|
<title>JoyWork</title>
|
|
<script defer="defer" src="/complexes/js/chunk-vendors.5c8608ecfa127cfd.js"></script>
|
|
<script defer="defer" src="/complexes/js/app.1f9f041cf9868627.js"></script>
|
|
<link href="/complexes/css/chunk-vendors.1c789c8c0464dde3.css" rel="stylesheet">
|
|
<link href="/complexes/css/app.5cf9246828a2f072.css" rel="stylesheet">
|
|
<div id="app"></div>
|
|
<!-- built files will be auto injected -->
|
|
<?php
|
|
require($_SERVER['DOCUMENT_ROOT'] . "/templates/footer.php");
|
|
require($_SERVER['DOCUMENT_ROOT'] . "/templates/modals/req_info.php");
|
|
|
|
?>
|