blob: 840de2d09aff6517ec5722f1e22cf3aa8cd13947 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?php require_once "../../resources/private/relative.php"; getRelativeDetails("cms-special"); ?>
<?php
require $_SERVER['DOCUMENT_ROOT'] . "/api/lang/processor.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/api/renderer/main.php";
$buffer = ""; // Initialiser un nouveau tampon vide
function buffer(string $value) {
global $buffer;
$buffer = $buffer . $value;
}
buffer("<p>" . $lang["version"]["workswith"] . "<b><a href=\"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/public") . "\" target=\"_blank\">Neutron</a> " . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/version") . " \"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/codename") . "\"</b> (");
if (isset($__electrode) && isset($__electrode_version) && isset($__electrode_node_version)) {
buffer("Electrode " . $__electrode_version . ", NodeJS " . $__electrode_node_version . ", ");
}
if (file_exists($GLOBALS["ORIGINAL_DOCUMENT_ROOT"] . "/NeutronCloud") && is_file($GLOBALS["ORIGINAL_DOCUMENT_ROOT"] . "/NeutronCloud")) {
if (isset($__electrode) && isset($__electrode_version) && isset($__electrode_node_version)) {
buffer("Electrode " . $__electrode_version . ", NodeJS " . $__electrode_node_version . ", Neutron Cloud)");
} else {
buffer("Neutron Cloud)");
}
} else {
buffer("PHP " . PHP_VERSION . ", " . php_uname('s') . " " . php_uname('m') . " " . php_uname('r') . ")");
}
buffer($lang["version"]["renderer"][0] . "<b>" . $_RENDERER . $lang["version"]["renderer"][1] . $_VERSION . "</b>" . $lang["version"]["providedby"] . "<a href=\"https://minteck.ro.lt\" target=\"_blank\">Minteck</a>" . $lang["version"]["description"] . "</p>");
buffer("<p>" . $lang["version"]["freesoftware"][0] . "<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\" target=\"_blank\">" . $lang["version"]["freesoftware"][1] . "</a>" . $lang["version"]["freesoftware"][2] . "<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\" target=\"_blank\">" . $lang["version"]["freesoftware"][3] . "</a>" . $lang["version"]["freesoftware"][4] . "</p>");
buffer("<p>" . $lang["version"]["warranty"][0] . "<a href=\"https://www.gnu.org/licenses/gpl-3.0.html\" target=\"_blank\">" . $lang["version"]["warranty"][1] . "</a>" . $lang["version"]["warranty"][2] . "</p>");
buffer("<h2>" . $lang["version"]["resources"] . "</h2>");
buffer("<ul><li><a href=\"" . file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/api/bugs") . "/set_project.php?project_id=1\" target=\"_blank\">" . $lang["version"]["support"] . "</a></li>");
buffer("<li><a href=\"https://minteck.ro.lt/creations/dev/neutron\" target=\"_blank\">" . $lang["version"]["minteck"] . "</a></li>");
renderSpecial($buffer, $lang["version"]["title"]);
?>
|