diff options
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/$panes')
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/system.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/system.php b/Neutron-trunk/cms-special/admin-v2/$panes/system.php new file mode 100644 index 0000000..916f798 --- /dev/null +++ b/Neutron-trunk/cms-special/admin-v2/$panes/system.php @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html> + + <head> + <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"> + <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="system-head"> + <div id="system-head-banner"> + <div id="system-head-banner-image"></div> + </div> + <div id="system-head-version"> + <div> + <b>Neutron 10</b><br> + version <?= trim(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/api/prettyver")) ?> + </div> + </div> + </div> + + <div id="inner-items"> + <div class="inner-item"> + <div class="inner-item-image-outer"> + <img 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">About Neutron</span><br> + <span class="inner-item-description">View Neutron versions and data usage</span> + </div> + </div> + <div class="inner-item-enter-outer"> + <img class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/enter.png"> + </div> + </div> + </div> + </body> + +</html>
\ No newline at end of file |