50 lines
1.6 KiB
PHP
50 lines
1.6 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);
|
||
|
|
?>
|
||
|
|
<input type="hidden" value="<?= $_SESSION['id']; ?>" id="session_user_id" />
|
||
|
|
<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 src="/complexForFunnel/js/chunk-vendors.9e9f44fe9cb293b0.js"></script>
|
||
|
|
<script defer src="/complexForFunnel/js/app.a6b19516d7be552f.js"></script>
|
||
|
|
<link href="/complexForFunnel/css/chunk-vendors.ce08a67175120c6c.css" rel="stylesheet">
|
||
|
|
<link href="/complexForFunnel/css/app.c6cca6905c6073d3.css" rel="stylesheet">
|
||
|
|
<div id="app"></div>
|