diff options
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/$panes')
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/accounts.php | 64 | ||||
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/content.php | 94 | ||||
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/features.php | 81 | ||||
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/language.php | 68 | ||||
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/maintenance.php | 64 | ||||
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/personalization.php | 94 | ||||
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/security.php | 80 | ||||
-rw-r--r--[-rwxr-xr-x] | Neutron-trunk/cms-special/admin-v2/$panes/system.php | 85 |
8 files changed, 624 insertions, 6 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/accounts.php b/Neutron-trunk/cms-special/admin-v2/$panes/accounts.php new file mode 100644 index 0000000..8ade4f5 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/accounts.php @@ -0,0 +1,64 @@ +<?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/password"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/password.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["accounts_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["accounts_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> + </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 diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/content.php b/Neutron-trunk/cms-special/admin-v2/$panes/content.php new file mode 100644 index 0000000..9fd564b --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/content.php @@ -0,0 +1,94 @@ +<?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/pages"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/pages.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["content_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["content_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/gallery"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/gallery.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["content_items"][1] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["content_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 class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/calendar"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/calendar.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["content_items"][2] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["content_descriptions"][2] ?></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 diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/features.php b/Neutron-trunk/cms-special/admin-v2/$panes/features.php new file mode 100644 index 0000000..8e956d3 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/features.php @@ -0,0 +1,81 @@ +<?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/widgets"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/optional.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["features_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["features_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> + + <div id="inner-items"> + <div class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/flags"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/flag.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["features_items"][1] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["features_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 diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/language.php b/Neutron-trunk/cms-special/admin-v2/$panes/language.php new file mode 100644 index 0000000..878bfc2 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/language.php @@ -0,0 +1,68 @@ +<?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"> + <?php foreach (scandir($_SERVER['DOCUMENT_ROOT'] . "/resources/i18n") as $locale): if (trim($locale) !== "." && trim($locale) !== ".."): ?> + <div class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/language/?_=<?= $locale ?>"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/locale.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/resources/i18n/" . $locale . "/\$metadata.json"), true)["localized_name"]; ?></span><br> + <span class="inner-item-description"><?= json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/resources/i18n/" . $locale . "/\$metadata.json"), true)["name"]; ?></span> + </div> + </div> + <div class="inner-item-enter-outer"> + <?php global $langsel; if ($locale === $langsel): ?> + <img alt="" class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/selected.png"> + <?php endif; ?> + </div> + </div> + <?php endif; endforeach; ?> +</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 diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/maintenance.php b/Neutron-trunk/cms-special/admin-v2/$panes/maintenance.php new file mode 100644 index 0000000..b49fcef --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/maintenance.php @@ -0,0 +1,64 @@ +<?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/reset"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/reset.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["maintenance_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["maintenance_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> + </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 diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/personalization.php b/Neutron-trunk/cms-special/admin-v2/$panes/personalization.php new file mode 100644 index 0000000..40991a8 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/personalization.php @@ -0,0 +1,94 @@ +<?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/appearance"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/branding.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["personalization_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["personalization_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/customization"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/colour.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["personalization_items"][1] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["personalization_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 class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/footer"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/footer.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["personalization_items"][2] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["personalization_descriptions"][2] ?></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 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 diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/system.php b/Neutron-trunk/cms-special/admin-v2/$panes/system.php index 916f798..34cbc91 100755..100644 --- a/Neutron-trunk/cms-special/admin-v2/$panes/system.php +++ b/Neutron-trunk/cms-special/admin-v2/$panes/system.php @@ -1,11 +1,33 @@ +<?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")) { @@ -25,27 +47,78 @@ <div id="system-head-version"> <div> <b>Neutron 10</b><br> - version <?= trim(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/api/prettyver")) ?> + version <?= trim(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/api/prettyver")) ?> « <?= trim(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/api/codename")) ?> » · build <?= substr(trim(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/api/version")), 5) ?> + </div> + </div> + </div> + + + <div class="inner-item" data-item-href="top://<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/logout"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/logoff.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["system_items"][3] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["system_descriptions"][3] ?></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 id="inner-items"> - <div class="inner-item"> + <div class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/about"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/about.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["system_items"][0] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["system_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/logs"> + <div class="inner-item-image-outer"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/audit.png"> + </div> + <div class="inner-item-text"> + <div> + <span class="inner-item-title"><?= $lang["admin-v2"]["system_items"][1] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["system_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> + + <?php if (!file_exists($GLOBALS['ORIGINAL_DOCUMENT_ROOT'] . "/NeutronCloud")): ?> + <div class="inner-item" data-item-href="parent://minteck.ro.lt/creations/neutron"> <div class="inner-item-image-outer"> - <img class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/about.png"> + <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/install.png"> </div> <div class="inner-item-text"> <div> - <span class="inner-item-title">About Neutron</span><br> - <span class="inner-item-description">View Neutron versions and data usage</span> + <span class="inner-item-title"><?= $lang["admin-v2"]["system_items"][2] ?></span><br> + <span class="inner-item-description"><?= $lang["admin-v2"]["system_descriptions"][2] ?></span> </div> </div> <div class="inner-item-enter-outer"> - <img class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/enter.png"> + <img alt="" class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/enter.png"> </div> </div> + <?php endif; ?> </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 |