Merge remote-tracking branch 'remotes/easy-wi/master'

This commit is contained in:
Nexus633 2020-07-14 17:57:25 +02:00
commit a1f4be7d57
420 changed files with 49672 additions and 3 deletions

11000
css/admin.css Normal file

File diff suppressed because it is too large Load Diff

582
css/custom.css Normal file
View File

@ -0,0 +1,582 @@

ul.pagination {
display: -ms-flexbox;
display: flex;
padding-left: 0;
list-style: none;
border-radius: .25rem;
}
ul.pagination > li {
position: relative;
display: block;
padding: .5rem .75rem;
margin-left: -1px;
line-height: 1.25;
color: #007bff;
background-color: #fff;
border: 1px solid #dee2e6;
}
ul.pagination > li.active {
background-color: rgba(0,0,0,0.1)!important;
}
.breadcrumb {
display: -ms-flexbox!important;
display: flex!important;
-ms-flex-wrap: wrap!important;
flex-wrap: wrap!important;
padding: 1rem 2rem!important;
margin-bottom: 1rem!important;
list-style: none!important;
background-color: #e9ecef!important;
border-radius: .5rem!important;
}
#dataTable_wrapper {
margin-left: 50px!important;
}
#dataTable_wrapper > div > .row{
padding-left:50px;
}
#dataTable_wrapper > div > .col-xs-6 {
margin-left: 20px;
}
div > .pagination > li{
margin-left: 20px;
}
.breadcrumb > li{
padding-left: 5px;
}
.breadcrumb > li::after{
content: " //";
}
.restartbuttonde {
background:url(/images/icons//de/Restart.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.stopbuttonde {
background:url(/images/icons/de/stop.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.startbuttonde {
background:url(/images/icons/de/start.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cfgbuttonde {
background:url(/images/icons/de/cfg.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.modbuttonde {
background:url(/images/icons/de/addons.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cbackupsbuttonde {
background:url(/images/icons/de/createbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.rbackupsbuttonde {
background:url(/images/icons/de/recoverbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.ftpbuttonde {
background:url(/images/icons/de/ftp.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartplabuttonde {
background:url(/images/icons/de/restartplanner.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.consolebuttonde {
background:url(/images/icons/de/console.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.reinstallbuttonde {
background:url(/images/icons/de/reinstall.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.settingsbuttonde {
background:url(/images/icons/de/settings.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.content-header {
position: relative;
padding: 15px 15px 0 15px;
}
.restartbuttondk {
background:url(/images/icons/dk/Restart.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.stopbuttondk {
background:url(/images/icons/dk/stop.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.startbuttondk {
background:url(/images/icons/dk/start.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cfgbuttondk {
background:url(/images/icons/dk/cfg.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.modbuttondk {
background:url(/images/icons/dk/addons.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cbackupsbuttondk {
background:url(/images/icons/dk/createbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.rbackupsbuttondk {
background:url(/images/icons/dk/recoverbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.ftpbuttondk {
background:url(/images/icons/dk/ftp.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartplabuttondk {
background:url(/images/icons/dk/restartplanner.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.consolebuttondk {
background:url(/images/icons/dk/console.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.reinstallbuttondk {
background:url(/images/icons/dk/reinstall.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.settingsbuttondk {
background:url(/images/icons/dk/settings.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartbuttonit {
background:url(/images/icons/it/Restart.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.stopbuttonit {
background:url(/images/icons/it/stop.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.startbuttonit {
background:url(/images/icons/it/start.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cfgbuttonit {
background:url(/images/icons/it/cfg.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.modbuttonit {
background:url(/images/icons/it/addons.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cbackupsbuttonit {
background:url(/images/icons/it/createbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.rbackupsbuttonit {
background:url(/images/icons/it/recoverbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.ftpbuttonit {
background:url(/images/icons/it/ftp.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartplabuttonit {
background:url(/images/icons/it/restartplanner.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.consolebuttonit {
background:url(/images/icons/it/console.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.reinstallbuttonit {
background:url(/images/icons/it/reinstall.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.settingsbuttonit {
background:url(/images/icons/it/settings.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartbuttonpt {
background:url(/images/icons/pt/Restart.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.stopbuttonpt {
background:url(/images/icons/pt/stop.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.startbuttonpt {
background:url(/images/icons/pt/start.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cfgbuttonpt {
background:url(/images/icons/pt/cfg.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.modbuttonpt {
background:url(/images/icons/pt/addons.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cbackupsbuttonpt {
background:url(/images/icons/pt/createbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.rbackupsbuttonpt {
background:url(/images/icons/pt/recoverbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.ftpbuttonpt {
background:url(/images/icons/pt/ftp.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartplabuttonpt {
background:url(/images/icons/pt/restartplanner.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.consolebuttonpt {
background:url(/images/icons/pt/console.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.reinstallbuttonpt {
background:url(/images/icons/pt/reinstall.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.settingsbuttonpt {
background:url(/images/icons/pt/settings.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartbuttonru {
background:url(/images/icons/ru/Restart.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.stopbuttonru {
background:url(/images/icons/ru/stop.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.startbuttonru {
background:url(/images/icons/ru/start.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cfgbuttonru {
background:url(/images/icons/ru/cfg.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.modbuttonru {
background:url(/images/icons/ru/addons.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cbackupsbuttonru {
background:url(/images/icons/ru/createbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.rbackupsbuttonru {
background:url(/images/icons/ru/recoverbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.ftpbuttonru {
background:url(/images/icons/ru/ftp.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartplabuttonru {
background:url(/images/icons/ru/restartplanner.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.consolebuttonru {
background:url(/images/icons/ru/console.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.reinstallbuttonru {
background:url(/images/icons/ru/reinstall.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.settingsbuttonru {
background:url(/images/icons/ru/settings.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartbuttonuk {
background:url(/images/icons/uk/Restart.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.stopbuttonuk {
background:url(/images/icons/uk/stop.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.startbuttonuk {
background:url(/images/icons/uk/start.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cfgbuttonuk {
background:url(/images/icons/uk/cfg.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.modbuttonuk {
background:url(/images/icons/uk/addons.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.cbackupsbuttonuk {
background:url(/images/icons/uk/createbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.rbackupsbuttonuk {
background:url(/images/icons/uk/recoverbackups.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.ftpbuttonuk {
background:url(/images/icons/uk/ftp.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.restartplabuttonuk {
background:url(/images/icons/uk/restartplanner.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.consolebuttonuk {
background:url(/images/icons/uk/console.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.reinstallbuttonuk {
background:url(/images/icons/uk/reinstall.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}
.settingsbuttonuk {
background:url(/images/icons/uk/settings.png) no-repeat;
cursor:pointer;
width: 100px;
height: 115px;
border: none;
}

5
css/ftnaws.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
images/icons/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/de/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/de/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/de/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/de/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/de/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/de/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/de/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/dk/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/dk/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/dk/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/dk/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/dk/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/dk/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/dk/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
images/icons/it/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/it/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/it/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/it/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/it/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/it/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/it/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/pt/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/pt/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/pt/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/pt/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/pt/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/pt/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/pt/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
images/icons/reinstall.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/ru/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/ru/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/ru/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/ru/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/ru/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/ru/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/ru/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/settings.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/uk/Restart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/icons/uk/addons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
images/icons/uk/cfg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

BIN
images/icons/uk/console.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
images/icons/uk/ftp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
images/icons/uk/start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/icons/uk/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
images/logo-w.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 14 KiB

BIN
images/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

View File

@ -71,7 +71,7 @@ $languageObject = simplexml_load_file(EASYWIDIR . '/install/' . $menuLanguage .
$displayToUser = '';
$systemCheckOk = array();
$systemCheckError = array();
$easyWiVersion = ($developer == 'Y') ? '6.0.5' : '6.0.5';
$easyWiVersion = ($developer == 'Y') ? '6.1.6' : '6.1.6';
if ($currentStep == 0) {

View File

@ -193,6 +193,9 @@ if (versioncheck($version, '6.0.0', 'update_530-600.php', $response)) {
if (versioncheck($version, '6.0.5', 'update_600-605.php', $response)) {
$version = '6.0.5';
}
if (versioncheck($version, '6.1.6', 'update_605-616.php', $response)) {
$version = '6.1.6';
}
try {
@ -201,7 +204,7 @@ try {
if ($query->fetchColumn() == 'Y') {
$devVersion = '6.0.6';
$devVersion = '6.1.6';
if (versioncheck($version, $devVersion, 'update_developer.php', $response, true)) {
$version = $devVersion;

View File

@ -0,0 +1,89 @@
<?php
/**
* File: update_600-605.php.
* Author: Ulrich Block
* Date: 06.01.18
* Time: 13:39
* Contact: <ulrich.block@easy-wi.com>
*
* This file is part of Easy-WI.
*
* Easy-WI is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Easy-WI is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Easy-WI. If not, see <http://www.gnu.org/licenses/>.
*
* Diese Datei ist Teil von Easy-WI.
*
* Easy-WI ist Freie Software: Sie koennen es unter den Bedingungen
* der GNU General Public License, wie von der Free Software Foundation,
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder spaeteren
* veroeffentlichten Version, weiterverbreiten und/oder modifizieren.
*
* Easy-WI wird in der Hoffnung, dass es nuetzlich sein wird, aber
* OHNE JEDE GEWAEHELEISTUNG, bereitgestellt; sogar ohne die implizite
* Gewaehrleistung der MARKTFAEHIGKEIT oder EIGNUNG FUER EINEN BESTIMMTEN ZWECK.
* Siehe die GNU General Public License fuer weitere Details.
*
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
* Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
*/
if (isset($include) and $include == true) {
$query = $sql->prepare("INSERT INTO `easywi_version` (`version`,`de`,`en`) VALUES
('6.1.6','<div align=\"right\">14.07.2020</div>
<b>&Auml;nderungen:</b><br/>
<ul>
<li>General
<ul>
<li>Neues Theme (New) Hinzugefügt</li>
<li>kosmetische Fehler behoben</li>
<li>Festplattenkapazität wird nun Angezeigt</li>
<li>README.md Geupdatet</li>
<li>Spiel Liste geupdatet -> PaperMC Hinzugefügt</li>
<li>
</ul></li></li></ul>
<b>Bugfixes:</b>
<ul>
<li>Server Update / Sync & Löschen Bug Behoben</li>
<li>CMS Verlinkungen Behoben</li>
<li>Benutzer/Server Erstellen auf Slackware Behoben</li>
<li>Mobile Navigation Behoben</li>
<li>Alte CMD Commands Entfernt (Java)</li>
</ul>','<div align=\"right\">14.07.2020</div>
<b>Changes:</b><br/>
<ul>
<li>General
<ul>
<li>New theme (New) Added </li>
<li>cosmetic errors fixed</li>
<li>Hard disk capacity is now displayed</li>
<li>README.md Updated</li>
<li>Updated Gamelist -> Added PaperMC</li>
<li>
</ul></li></li>
<b>Bugfixes:</b>
<ul>
<li>Server Update / Sync and Delete Bug Fixed</li>
<li>CMS links fixed</li>
<li>Fixed User/Server creation on Slackware</li>
<li>Mobile Menu fixed</li>
<li>Old CMD Lines removed (Java)</li>
</ul>')");
$query->execute();
$response->add('Action: insert_easywi_version done: ');
$query->closecursor();
} else {
echo "Error: this file needs to be included by the updater!<br />";
}

7
js/admin125.min.js vendored Normal file
View File

@ -0,0 +1,7 @@
/*!
* Start Bootstrap - SB Admin 2 v4.0.7 (https://startbootstrap.com/template-overviews/sb-admin-2)
* Copyright 2013-2019 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/blob/master/LICENSE)
*/
!function(t){"use strict";t("#sidebarToggle, #sidebarToggleTop").on("click",function(o){t("body").toggleClass("sidebar-toggled"),t(".sidebar").toggleClass("toggled"),t(".sidebar").hasClass("toggled")&&t(".sidebar .collapse").collapse("hide")}),t(window).resize(function(){t(window).width()<768&&t(".sidebar .collapse").collapse("hide")}),t("body.fixed-nav .sidebar").on("mousewheel DOMMouseScroll wheel",function(o){if(768<t(window).width()){var e=o.originalEvent,l=e.wheelDelta||-e.detail;this.scrollTop+=30*(l<0?1:-1),o.preventDefault()}}),t(document).on("scroll",function(){100<t(this).scrollTop()?t(".scroll-to-top").fadeIn():t(".scroll-to-top").fadeOut()}),t(document).on("click","a.scroll-to-top",function(o){var e=t(this);t("html, body").stop().animate({scrollTop:t(e.attr("href")).offset().top},1e3,"easeInOutExpo"),o.preventDefault()})}(jQuery);

View File

@ -0,0 +1,40 @@
<section class="content-header">
<h1>
404 Error Page
</h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li class="active">404 error</li>
</ol>
</section>
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow"> 404</h2>
<div class="error-content">
<h3><i class="fa fa-warning text-yellow"></i> Oops! Page not found.</h3>
<p>
We could not find the page you were looking for.
Meanwhile, you may <a href="admin.php">return to dashboard</a> or try using the search form.
</p>
<form action="admin.php" method="get" class="search-form">
<input type="hidden" name="w" value="sr">
<?php if($pa['gserver']){ ?><input type="hidden" name="type[]" value="gs"><?php }?>
<?php if($pa['gimages']){ ?><input type="hidden" name="type[]" value="im"><?php }?>
<?php if($pa['addons']){ ?><input type="hidden" name="type[]" value="ad"><?php }?>
<?php if($pa['voiceserver']){ ?><input type="hidden" name="type[]" value="vo"><?php }?>
<?php if($pa['addvserver'] or $pa['modvserver'] or $pa['delvserver'] or $pa['usevserver']){ ?><input type="hidden" name="type[]" value="vs"><?php }?>
<?php if($pa['roots']){ ?><input type="hidden" name="type[]" value="ro"><?php }?>
<?php if($pa['user'] or $pa['user_users']){ ?><input type="hidden" name="type[]" value="us"><?php }?>
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button type='submit' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
</span>
</div>
</form>
</div>
</div>
</section>

View File

@ -0,0 +1,180 @@
<section class="content-header">
<h1><?php echo $sprache->heading_addons;?></h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="admin.php?w=gs"><i class="fa fa-gamepad"></i> <?php echo $gsprache->gameserver;?></a></li>
<li><a href="admin.php?w=ad"><i class="fa fa-gears"></i> <?php echo $gsprache->addon;?></a></li>
<li class="active"><?php echo $gsprache->add;?></li>
</ol>
</section>
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-md-12">
<form role="form" action="admin.php?w=ad&amp;d=ad" enctype="multipart/form-data" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo $token;?>">
<input type="hidden" name="action" value="ad">
<input type="hidden" name="import" value="1">
<div class="box box-success">
<div class="box-header">
<h3 class="box-title"><?php echo $gsprache->addon;?> XML <?php echo $gsprache->import;?></h3>
</div>
<div class="box-body">
<div class="form-group">
<label class="control-label" for="inputUpload"></label>
<div class="controls">
<input id="inputUpload" type="file" name="file">
</div>
</div>
</div>
<div class="box-footer">
<button class="btn btn-success" id="inputEdit" type="submit"><i class="fa fa-upload">&nbsp;<?php echo $gsprache->upload;?></i></button>
</div>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-success">
<form role="form" action="admin.php?w=ad&amp;d=ad&amp;r=ad" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo $token;?>">
<input type="hidden" name="action" value="ad">
<div class="box-body">
<div class="form-group">
<label for="inputGame2"><?php echo $sprache->game2;?></label>
<select class="form-control chosen-select" id="inputGame2" multiple="multiple" name="shorten[]">
<?php foreach ($gamesAssigned as $sid => $shorten){ ?><option value="<?php echo $sid;?>" <?php if(in_array($sid,$shortens)) echo 'selected="selected"';?>><?php echo $shorten;?></option><?php }?>
</select>
</div>
<div class="form-group">
<label for="inputEditRequires"><?php echo $sprache->requires;?></label>
<select class="form-control chosen-select" id="inputEditRequires" name="depending">
<option value="0"></option>
<?php foreach ($dependings as $depending) echo $depending; ?>
</select>
</div>
<div class="form-group">
<label for="inputProtect"><?php echo $sprache->protect;?></label>
<select class="form-control" id="inputProtect" name="paddon">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($paddon=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<div class="form-group<?php if(isset($errors['type'])) echo ' has-error';?>">
<label for="inputType"><?php echo $sprache->type;?></label>
<select class="form-control" id="inputType" name="type">
<option value="tool"><?php echo $sprache->tool;?></option>
<option value="map" <?php if($type=='map') echo 'selected="selected"';?>><?php echo $sprache->map;?></option>
</select>
</div>
<div class="form-group<?php if(isset($errors['addon'])) echo ' has-error';?>">
<label for="inputAddon"><?php echo $sprache->addon;?></label>
<input class="form-control" id="inputAddon" type="text" name="addon" value="<?php echo $addon;?>">
</div>
<div class="form-group<?php if(isset($errors['menudescription'])) echo ' has-error';?>">
<label for="inputAddon2"><?php echo $sprache->addon2;?></label>
<input class="form-control" id="inputAddon2" type="text" name="menudescription" value="<?php echo $menudescription;?>">
</div>
<div class="form-group<?php if(isset($errors['active'])) echo ' has-error';?>">
<label for="inputActive"><?php echo $sprache->active;?></label>
<select class="form-control" id="inputActive" name="active">
<option value="Y"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if($active=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
</select>
</div>
<div class="form-group">
<label for="inputFolders"><?php echo $sprache->folders;?></label>
<input class="form-control" id="inputFolders" type="text" name="folder" value="<?php echo $folder;?>">
</div>
<div class="form-group">
<label for="inputConfigs"><?php echo $sprache->configs;?></label>
<textarea class="form-control" id="inputConfigs" rows="5" name="configs"><?php echo $configs;?></textarea>
</div>
<div class="form-group">
<label for="inputStartCmd"><?php echo $sprache->start;?></label>
<textarea class="form-control" id="inputStartCmd" rows="5" name="cmd"><?php echo $cmd;?></textarea>
</div>
<div class="form-group">
<label for="inputRmCmd"><?php echo $sprache->rmcmd;?></label>
<textarea class="form-control" id="inputRmCmd" rows="5" name="rmcmd"><?php echo $rmcmd;?></textarea>
</div>
<h3><?php echo $sprache->description;?></h3>
<div class="form-group">
<?php foreach ($foundLanguages as $array){ ?>
<label class="checkbox-inline">
<input name="language[]" value="<?php echo $array['lang'];?>" onclick="textdrop('<?php echo $array['lang'];?>');" type="checkbox"> <img src="images/flags/<?php echo $array['lang'];?>.png" alt="Flag: 16_<?php echo $array['lang'];?>'.png"/>
</label>
<?php } ?>
</div>
<?php foreach ($foundLanguages as $array) { ?>
<div id="<?php echo $array['lang'];?>" class="form-group <?php echo $array['display'];?>">
<label for="inputLangs-<?php echo $array['lang'];?>"><img src="images/flags/<?php echo $array['lang'];?>.png" alt="Flag: 16_<?php echo $array['lang'];?>'.png"/></label>
<textarea class="form-control" id="inputLangs-<?php echo $array['lang'];?>" name="description[<?php echo $array['lang'];?>]"></textarea>
</div>
<?php } ?>
</div>
<div class="box-footer">
<button class="btn btn-success" id="inputEdit" type="submit"><?php echo $gsprache->add;?> <i class="fa fa-plus-circle"></i></button>
</div>
</form>
</div>
</div>
</div>
</section>
<script type="text/javascript">
$("#inputGame2").chosen({
disable_search_threshold: 3,
allow_single_deselect: true,
no_results_text: '<?php echo $gsprache->chosenNoResult;?>',
placeholder_text_single: '<?php echo $gsprache->chosenSelect;?>',
placeholder_text_multiple: '<?php echo $gsprache->chosenSelect;?>',
width: "100%"
});
$("#inputEditRequires").chosen({
disable_search_threshold: 3,
inherit_select_classes: true,
allow_single_deselect: true,
no_results_text: '<?php echo $gsprache->chosenNoResult;?>',
placeholder_text_single: '<?php echo $gsprache->chosenSelect;?>',
placeholder_text_multiple: '<?php echo $gsprache->chosenSelect;?>',
width: "100%"
});
</script>

View File

@ -0,0 +1,41 @@
<section class="content-header">
<h1><?php echo $sprache->heading_addons;?></h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="admin.php?w=gs"><i class="fa fa-gamepad"></i> <?php echo $gsprache->gameserver;?></a></li>
<li><a href="admin.php?w=ad"><i class="fa fa-gears"></i> <?php echo $gsprache->addon;?></a></li>
<li><?php echo $gsprache->del;?></li>
<li class="active"><?php echo $menudescription;?></li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-danger">
<form role="form" action="admin.php?w=ad&amp;d=dl&amp;id=<?php echo $id;?>&amp;r=ad" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="dl">
<div class="box-body">
<div class="form-group">
<label><?php echo $sprache->sure2;?></label>
</div>
<div class="form-group">
<label for="inputAddon2"><?php echo $sprache->addon2;?></label>
<input class="form-control" id="inputAddon2" type="text" name="menudescription" value="<?php echo $menudescription;?>" disabled="disabled">
</div>
</div>
<div class="box-footer">
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash-o">&nbsp;<?php echo $gsprache->del;?></i></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -0,0 +1,48 @@
<section class="content-header">
<h1><?php echo $sprache->heading_addons;?></h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="admin.php?w=gs"><i class="fa fa-gamepad"></i> <?php echo $gsprache->gameserver;?></a></li>
<li><a href="admin.php?w=ad"><i class="fa fa-gears"></i> <?php echo $gsprache->addon;?></a></li>
<li class="active"><?php echo $gsprache->overview;?></li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<?php echo $sprache->heading_addons;?> <a href="admin.php?w=ad&amp;d=ad"><span class="btn-success btn-sm"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->add;?></span></a>
</div>
</div>
<hr>
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-body table-responsive">
<table id="dataTable" class="table table-bordered table-hover">
<thead>
<tr>
<th><?php echo $sprache->aname;?></th>
<th>ID</a></th>
<th><?php echo $sprache->type;?></th>
<th><?php echo $sprache->type2;?></th>
<th><?php echo $gsprache->action;?></th>
</tr>
</thead>
<tfoot>
<tr>
<th><?php echo $sprache->aname;?></th>
<th>ID</a></th>
<th><?php echo $sprache->type;?></th>
<th><?php echo $sprache->type2;?></th>
<th><?php echo $gsprache->action;?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</section>

View File

@ -0,0 +1,150 @@
<section class="content-header">
<h1><?php echo $sprache->heading_addons;?></h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="admin.php?w=gs"><i class="fa fa-gamepad"></i> <?php echo $gsprache->gameserver;?></a></li>
<li><a href="admin.php?w=ad"><i class="fa fa-gears"></i> <?php echo $gsprache->addon;?></a></li>
<li><?php echo $gsprache->mod;?></li>
<li class="active"><?php echo $menudescription;?></li>
</ol>
</section>
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="row">
<div class="col-md-12">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<form role="from" action="admin.php?w=ad&amp;d=md&amp;id=<?php echo $id;?>&amp;r=ad" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="md">
<div class="box-body">
<div class="form-group">
<label for="inputGame2"><?php echo $sprache->game2;?></label>
<select class="form-control chosen-select" id="inputGame2" multiple="multiple" name="shorten[]">
<?php foreach ($gamesAssigned as $sid => $shorten){ ?><option value="<?php echo $sid;?>" <?php if(in_array($sid,$shortens)) echo 'selected="selected"';?>><?php echo $shorten;?></option><?php }?>
</select>
</div>
<div class="form-group">
<label for="inputEditRequires"><?php echo $sprache->requires;?></label>
<select class="form-control chosen-select" id="inputEditRequires" name="depending">
<option value="0"></option>
<?php foreach ($dependings as $depending) echo $depending; ?>
</select>
</div>
<div class="form-group">
<label for="inputProtect"><?php echo $sprache->protect;?></label>
<select class="form-control" id="inputProtect" name="paddon">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($paddon=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<div class="form-group<?php if(isset($errors['type'])) echo ' has-error';?>">
<label for="inputType"><?php echo $sprache->type;?></label>
<select class="form-control" id="inputType" name="type">
<option value="tool"><?php echo $sprache->tool;?></option>
<option value="map" <?php if($type=='map') echo 'selected="selected"';?>><?php echo $sprache->map;?></option>
</select>
</div>
<div class="form-group<?php if(isset($errors['addon'])) echo ' has-error';?>">
<label for="inputAddon"><?php echo $sprache->addon;?></label>
<input class="form-control" id="inputAddon" type="text" name="addon" value="<?php echo $addon;?>">
</div>
<div class="form-group<?php if(isset($errors['menudescription'])) echo ' has-error';?>">
<label for="inputAddon2"><?php echo $sprache->addon2;?></label>
<input class="form-control" id="inputAddon2" type="text" name="menudescription" value="<?php echo $menudescription;?>">
</div>
<div class="form-group<?php if(isset($errors['active'])) echo ' has-error';?>">
<label for="inputActive"><?php echo $sprache->active;?></label>
<select class="form-control" id="inputActive" name="active">
<option value="Y"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if($active=='N') echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
</select>
</div>
<div class="form-group">
<label for="inputFolders"><?php echo $sprache->folders;?></label>
<input class="form-control" id="inputFolders" type="text" name="folder" value="<?php echo $folder;?>">
</div>
<div class="form-group">
<label for="inputConfigs"><?php echo $sprache->configs;?></label>
<textarea class="form-control" id="inputConfigs" rows="5" name="configs"><?php echo $configs;?></textarea>
</div>
<div class="form-group">
<label for="inputStartCmd"><?php echo $sprache->start;?></label>
<textarea class="form-control" id="inputStartCmd" rows="5" name="cmd"><?php echo $cmd;?></textarea>
</div>
<div class="form-group">
<label for="inputRmCmd"><?php echo $sprache->rmcmd;?></label>
<textarea class="form-control" id="inputRmCmd" rows="5" name="rmcmd"><?php echo $rmcmd;?></textarea>
</div>
<h3><?php echo $sprache->description;?></h3>
<div class="form-group">
<?php foreach ($foundLanguages as $array){ ?>
<label class="checkbox-inline">
<input name="language[]" value="<?php echo $array['lang'];?>" onclick="textdrop('<?php echo $array['lang'];?>');" type="checkbox" <?php if(in_array($array['lang'], $definedLanguages)) echo 'checked';?>> <img src="images/flags/<?php echo $array['lang'];?>.png" alt="Flag: 16_<?php echo $array['lang'];?>'.png"/>
</label>
<?php } ?>
</div>
<?php foreach ($foundLanguages as $array) { ?>
<div id="<?php echo $array['lang'];?>" class="form-group <?php echo $array['display'];?>">
<label for="inputLangs-<?php echo $array['lang'];?>"><img src="images/flags/<?php echo $array['lang'];?>.png" alt="Flag: 16_<?php echo $array['lang'];?>'.png"/></label>
<textarea class="form-control" id="inputLangs-<?php echo $array['lang'];?>" name="description[<?php echo $array['lang'];?>]"><?php echo $array['description'];?></textarea>
</div>
<?php } ?>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save">&nbsp;<?php echo $gsprache->save;?></i></button>
</div>
</form>
</div>
</div>
</div>
</section>
<script type="text/javascript">
$("#inputGame2").chosen({
disable_search_threshold: 3,
allow_single_deselect: true,
no_results_text: '<?php echo $gsprache->chosenNoResult;?>',
placeholder_text_single: '<?php echo $gsprache->chosenSelect;?>',
placeholder_text_multiple: '<?php echo $gsprache->chosenSelect;?>',
width: "100%"
});
$("#inputEditRequires").chosen({
disable_search_threshold: 3,
inherit_select_classes: true,
allow_single_deselect: true,
no_results_text: '<?php echo $gsprache->chosenNoResult;?>',
placeholder_text_single: '<?php echo $gsprache->chosenSelect;?>',
placeholder_text_multiple: '<?php echo $gsprache->chosenSelect;?>',
width: "100%"
});
</script>

Some files were not shown because too many files have changed in this diff Show More