diff options
author | Gitea <gitea@fake.local> | 2021-11-10 17:53:13 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-11-10 17:53:13 +0100 |
commit | 7b4af63a90a726b98a59b83e53f040a7a566a11d (patch) | |
tree | b85747947816fe4375e85ab6b822ffabec548c7b /Neutron-trunk/cms-special/admin-v2/$panes/security.php | |
parent | 80f78c2925530e945503ab603e79d1acc53075f4 (diff) | |
download | electrode-7b4af63a90a726b98a59b83e53f040a7a566a11d.tar.gz electrode-7b4af63a90a726b98a59b83e53f040a7a566a11d.tar.bz2 electrode-7b4af63a90a726b98a59b83e53f040a7a566a11d.zip |
Update
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/$panes/security.php')
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/security.php | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/security.php b/Neutron-trunk/cms-special/admin-v2/$panes/security.php new file mode 100644 index 0000000..31cdc52 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/security.php @@ -0,0 +1,80 @@ +<?php + +require_once "../../../resources/private/relative.php"; getRelativeDetails("cms-special"); +require_once $_SERVER['DOCUMENT_ROOT'] . "/api/lang/processor.php"; +require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin-v2/\$resources/session.php"; + +global $lang; + +?> +<!DOCTYPE html> +<html> + + <head> + <title>base</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/admin_v2/main.css"> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/admin_v2/inner.css"> + <?php if (strpos($_SERVER['HTTP_USER_AGENT'], "Chrome/")): ?> + <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/admin_v2/chromium.css"> + <style>:root { --mpcms-banner: url(<?php + + if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/resources/upload/banner.jpg")) { + echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/upload/banner.jpg"'); + } else { + echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/image/default.jpg"'); + } + + ?>); }</style> + <?php endif; ?> + <style>:root { --mpcms-banner: url(<?php + + if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/resources/upload/banner.jpg")) { + echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/upload/banner.jpg"'); + } else { + echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/image/default.jpg"'); + } + + ?>); }</style> + </head> + + <body> + <div id="inner-items"> + <div class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/advanced/jsonconf"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/advanced.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["security_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["security_descriptions"][0] ?></span> + </div> + </div> + <div class="inner-item-enter-outer"> + <img alt="" class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/enter.png"> + </div> + </div> + + <div class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/stats"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/stats.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["security_items"][1] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["security_descriptions"][1] ?></span> + </div> + </div> + <div class="inner-item-enter-outer"> + <img alt="" class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/enter.png"> + </div> + </div> + + </div> + </body> + + <script src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/js/jquery.js"></script> + <script src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/js/admin_v2.js"></script> + +</html>
\ No newline at end of file |