1
0
mirror of https://github.com/myvesta/vesta.git synced 2025-03-11 20:25:44 -07:00

51 lines
1.8 KiB
HTML
Raw Normal View History

2015-05-29 02:07:55 +03:00
<!doctype html>
2016-11-27 00:12:12 +09:00
<html>
2015-05-29 02:07:55 +03:00
<head>
<meta charset="utf-8">
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
<title>myVesta - <?=__($TAB)?></title>
2023-06-12 16:28:15 +02:00
<link rel="stylesheet" href="/css/styles.min.css?1446554112">
2023-06-11 23:53:43 +02:00
<link type="text/css" href="/css/jquery-custom-dialogs.css" rel="stylesheet" />
<link href="/css/fonts/font_sans_pro.css" rel="stylesheet">
<link href="/css/fonts/font_lobster.css" rel="stylesheet">
<link rel="stylesheet" href="/css/fonts/font_awesome5.css">
2016-07-06 13:53:03 +03:00
<script>
//
// GLOBAL SETTINGS
//
2023-06-04 17:56:44 +02:00
<?php
$CURRENT_USER_FINAL=$_SESSION['user'];
if (isset($_SESSION['look']) && $_SESSION['look']!='') $CURRENT_USER_FINAL=$_SESSION['look'];
2023-06-12 15:38:39 +02:00
$right_sidebar_right=0;
$content_margin_right=240;
$content_margin_right=240;
$to_top_right=285;
$to_shortcuts_right=330;
if (isset($_COOKIE['iolog']) && $_COOKIE['iolog']=='0') {
$right_sidebar_right=-200;
$content_margin_right=40;
$to_top_right=85;
$to_shortcuts_right=130;
}
$GLOBALS['CURRENT_USER_FINAL']=$CURRENT_USER_FINAL;
$GLOBALS['right_sidebar_right']=$right_sidebar_right;
$GLOBALS['to_top_right']=$to_top_right;
$GLOBALS['to_shortcuts_right']=$to_shortcuts_right;
2023-06-04 17:56:44 +02:00
?>
2016-11-27 00:12:12 +09:00
var GLOBAL = {};
2016-07-06 13:53:03 +03:00
GLOBAL.FTP_USER_PREFIX = 'admin_';
GLOBAL.DB_USER_PREFIX = 'admin_';
GLOBAL.DB_DBNAME_PREFIX = 'admin_';
2023-06-04 17:56:44 +02:00
GLOBAL.CURRENT_USER = '<?=$_SESSION['user']?>';
GLOBAL.CURRENT_USER_LOOK = '<?=$_SESSION['look']?>';
2023-06-12 15:38:39 +02:00
GLOBAL.CURRENT_USER_FINAL = '<?=$GLOBALS['CURRENT_USER_FINAL']?>';
2016-07-06 13:53:03 +03:00
GLOBAL.AJAX_URL = '';
</script>
2023-06-12 15:38:39 +02:00
<style>
.l-content .l-center {margin-right: <?=$content_margin_right?>px}
</style>
2015-05-29 02:07:55 +03:00
</head>
2015-09-28 02:00:45 +03:00
<body class="body-<?=strtolower($TAB)?> lang-<?=$_SESSION['language']?>">