Beispiel #1
0
<?php

/* ---  inicializace jadra  --- */
require '../../require/load.php';
SL::init('../../');
/* ---  vystup  --- */
if (_loginright_level != 10001) {
    exit;
}
require _indexroot . "require/headstart.php";
require _indexroot . "admin/functions.php";
?>
<link href="style.css.php?s=<?php 
echo _adminscheme . (_admin_schemeIsDark() ? '&amp;d' : '') . '&amp;' . _cacheid;
?>
" type="text/css" rel="stylesheet" />
<title><?php 
echo $_lang['admin.other.php.title'];
?>
</title>
</head>

<body>
<div id="external-container">

<?php 
// nacteni postdat
$process = false;
if (isset($_POST['code'])) {
    $code = $_POST['code'];
    if (_xsrfCheck()) {
Beispiel #2
0
            if ($getp == $item or in_array($getp, $modules[$item][3])) {
                $class = " class='act'";
            } else {
                $class = "";
            }
            $menu .= "<a href='index.php?p=" . $item . "'{$class}>" . $modules[$item][0] . "</a> \n";
        }
    }
    $menu = trim($menu);
} else {
    $menu .= "<a href='./' class='act'>" . $_lang['global.login'] . "</a>\n";
}
// dokonceni menu
$menu .= "\n</div>\n<hr class='hidden' />";
/* ---  html hlavicka  --- */
$scheme_dark = _admin_schemeIsDark();
$output .= '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="generator" content="SunLight CMS ' . _systemversion . ' ' . SL::$states[_systemstate] . _systemstate_revision . '" />
<meta name="robots" content="noindex,follow" />
<link href="' . $admin_base_css_path . '?s=' . _adminscheme . ($scheme_dark ? '&amp;d' : '') . '&amp;' . _cacheid . '" type="text/css" rel="stylesheet" />' . (empty($admin_extra_css) ? '' : "\n" . implode("\n", $admin_extra_css) . "\n") . '<script type="text/javascript">/* <![CDATA[ */var sl_scheme_dark = ' . ($scheme_dark ? 'true' : 'false') . ', sl_indexroot = \'' . _indexroot . '\';/* ]]> */</script>
<script type="text/javascript" src="remote/jscript.php?' . _cacheid . '&amp;' . _language . '"></script>
<script type="text/javascript" src="' . _indexroot . 'remote/jscript.php?' . _cacheid . '&amp;' . _language . '"></script>
<script type="text/javascript" src="remote/jquery.scrollwatch.min.js?' . _cacheid . '"></script>
<script type="text/javascript" src="remote/jquery.scrollfix.min.js?' . _cacheid . '"></script>
<script type="text/javascript" src="remote/jscript.php?' . _cacheid . '&amp;' . _language . '"></script>' . (empty($admin_extra_js) ? '' : "\n" . implode("\n", $admin_extra_js) . "\n") . (_lightbox ? '
<link rel="stylesheet" href="' . _indexroot . 'remote/lightbox/style.css?' . _cacheid . '" type="text/css" media="screen" />
<script type="text/javascript" src="' . _indexroot . 'remote/lightbox/script.js?' . _cacheid . '"></script>' : '') . (_codemirror ? '
<script type="text/javascript" src="modules/codemirror/codemirror.js?' . _cacheid . '"></script>