#30 New theme based on Bootstrap3

This commit is contained in:
Ulrich Block 2014-08-30 11:47:54 +02:00
parent 9987e2b511
commit c08448e176
139 changed files with 5123 additions and 9487 deletions

View File

@ -258,6 +258,20 @@ if ($ui->smallletters('w', 9, 'get') == 'datatable') {
require_once IncludeTemplate($template_to_use,'ajax_userpanel_ticket_category.tpl', 'ajax');
die;
} else if (isset($user_id) and ($pa['gserver'] or $pa['restart']) and $ui->username('mapgroup', 50, 'get')) {
$sprache = getlanguagefile('gserver', $user_language, $reseller_id);
$query = $sql->prepare("SELECT `mapGroup` FROM `servertypes` WHERE `shorten`=? AND `resellerid`=? LIMIT 1");
$query->execute(array($ui->username('mapgroup', 50, 'get'), $reseller_id));
$mapGroup = $query->fetchColumn();
if ($mapGroup != null) {
require_once IncludeTemplate($template_to_use,'ajax_userpanel_mapgroup.tpl', 'ajax');
}
die;
}

View File

@ -70,18 +70,6 @@ if ($ui->smallletters('w',5, 'get') == 'check') {
} else if ($die == true) {
redirect('login.php');
} else if ($ui->username('mapgroup', 50, 'get')) {
$sprache = getlanguagefile('gserver', $user_language, $reseller_id);
$query = $sql->prepare("SELECT `mapGroup` FROM `servertypes` WHERE `shorten`=? AND `resellerid`=? LIMIT 1");
$query->execute(array($ui->username('mapgroup', 50, 'get'), $reseller_id));
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
if ($row['mapGroup'] != null) {
$mapGroup = $row['mapGroup'];
require_once IncludeTemplate($template_to_use,'ajax_userpanel_mapgroup.tpl', 'ajax');
}
}
} else if ($ui->id('id',19, 'get') and $ui->st('d', 'get')=="vs" and ($pa['addvserver'] or $pa['root'])) {
$sprache = getlanguagefile('reseller', $user_language, $reseller_id);
if ($reseller_id != 0 and $admin_id != $reseller_id) {

View File

@ -105,19 +105,17 @@ if ($ui->id('id', 10, 'get')) {
$ftpport = $row['ftpport'];
$ip = $row['ip'];
$ftpConnect = new EasyWiFTP($ip, $ftpport, $username, $ftppass);
if ($ftpConnect->ftpConnection) {
if (!$ftpConnect->downloadToTemp('/' . $pserver . $serverip . '_' . $port . '/' . $shorten . '/' . $binarydir . '/screenlog.0', 32768)) {
$error = 'Cannot download screenlog from /' . $pserver . $serverip . '_' . $port . '/' . $shorten . '/' . $binarydir . '/screenlog.0';
$error = 'Cannot download screenlog from /' . $ftpConnect->removeSlashes($pserver . $serverip . '_' . $port . '/' . $shorten . '/' . $binarydir . '/screenlog.0');
}
} else {
$error = 'Cannot connect to FTP Server ' . $ip . ':' . $ftpport;
}
}
if (isset($ip)) {

View File

@ -211,7 +211,7 @@ if (!isset($ip) or $ui->escaped('SERVER_ADDR', 'server') == $ip or in_array($ip,
$serverBatchArray[] = array('id' => $row['id'], 'type' => $row['gameq'], 'host' => $checkAtIPPort);
$i++;
if ($i == 50) {
if ($i == 5) {
$allServersArray[] = $serverBatchArray;
$serverBatchArray = array();
$i = 1;

View File

@ -39,7 +39,6 @@
class EasyWiFTP {
// define vars
public $ftpConnection = false, $ftpSecondConnection = false, $loggedIn = false, $secondLoggedIn = false, $tempHandle = null;
@ -59,7 +58,10 @@ class EasyWiFTP {
}
return false;
}
public function removeSlashes ($string) {
return str_replace(array('//', '///', '////'), '/', $string);
}
public function createSecondFTPConnect ($ip, $port, $user, $pwd, $ssl = 'N') {
@ -82,13 +84,15 @@ class EasyWiFTP {
public function downloadToTemp ($pathAndFile, $startAt = 0, $files = false) {
$pathAndFile = $this->removeSlashes($pathAndFile);
if (is_array($files)) {
$this->tempHandle = array();
foreach ($files as $file) {
$arrayCombined = str_replace(array('//', '///', '////'), '/', $pathAndFile . '/' . $file);
$arrayCombined = $this->removeSlashes($pathAndFile . '/' . $file);
$fileSize = @ftp_size($this->ftpConnection, $arrayCombined);
@ -246,7 +250,7 @@ class EasyWiFTP {
private function fileNameFromPath ($fileWithPath) {
$splitConfig = preg_split('/\//', str_replace(array('//', '///', '////'), '/', $fileWithPath), -1, PREG_SPLIT_NO_EMPTY);
$splitConfig = preg_split('/\//', $this->removeSlashes($fileWithPath), -1, PREG_SPLIT_NO_EMPTY);
return $splitConfig[count($splitConfig) - 1];
}

View File

@ -73,32 +73,48 @@ if (!isset($rowcount) or $rowcount == 0) {
if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset($port)) {
$date2 = $ui->gamestring('date', 'post');
$date = explode('_', $date2);
$template = '';
$anticheat = '';
$gsswitch = '';
$pro = '';
$restart = 'Y';
$backup = '';
$worldsafe = 'N';
$upload = '';
$binary = '';
$eacallowed = 'N';
$gameqArray = array();
$binaryArray = array();
$table = array();
if ($date[0] == 'mon') {
$date2 = $ui->gamestring('date', 'post');
@list($day, $hour) = explode('_', $date2);
$hour = $hour . ':00';
if ($day == 'mon') {
$day = $sprache->monday;
} else if ($date[0] == 'tue') {
} else if ($day == 'tue') {
$day = $sprache->tuesday;
} else if ($date[0] == 'wed') {
} else if ($day == 'wed') {
$day = $sprache->wednesday;
} else if ($date[0] == 'thu') {
} else if ($day == 'thu') {
$day = $sprache->thursday;
} else if ($date[0] == 'fri') {
} else if ($day == 'fri') {
$day = $sprache->friday;
} else if ($date[0] == 'sat') {
} else if ($day == 'sat') {
$day = $sprache->saturday;
} else if ($date[0] == 'sun') {
} else if ($day == 'sun') {
$day = $sprache->sunday;
}
$hour = $date[1] . ':00';
$table = array();
$query = $sql->prepare("SELECT `id`,`normal_3`,`normal_4`,`hlds_3`,`hlds_4`,`hlds_5`,`hlds_6` FROM `eac` WHERE `active`='Y' AND `resellerid`=? LIMIT 1");
$query->execute(array($reseller_id));
$rowcount = $query->rowCount();
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
$normal_3 = $row['normal_3'];
$normal_4 = $row['normal_4'];
@ -123,16 +139,6 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
$table[$row['shorten']] = array('shorten' => $shorten,'description' => $row['description'], 'defaultMapGroup' => $row['mapGroup'], 'protected' => $row['protected'], 'gameq' => $row['gameq'], 'gamebinary' => $row['gamebinary']);
}
$template = '';
$anticheat = '';
$gsswitch = '';
$pro = '';
$restart = 'Y';
$backup = '';
$worldsafe = 'N';
$upload = '';
$binary = '';
$query = $sql->prepare("SELECT * FROM `gserver_restarts` WHERE `restarttime`=? AND `switchID`=? AND `resellerid`=? LIMIT 1");
$query->execute(array($date2, $id, $reseller_id));
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
@ -158,7 +164,8 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
$style = ($restart == 'Y') ? 'style="width:690px;"' : 'style="display:none;border-spacing:0px;"';
if (!isset($eac) and $eacallowed== 'Y' and $rowcount>0 and ($gsswitch == 'css' or $gsswitch == 'cod4' or $gsswitch == 'cstrike' or $gsswitch == 'czero' or $gsswitch == 'tf')) {
if (!isset($eac) and $eacallowed == 'Y' and $rowcount > 0 and ($gsswitch == 'css' or $gsswitch == 'cod4' or $gsswitch == 'cstrike' or $gsswitch == 'czero' or $gsswitch == 'tf')) {
if ($gsswitch == 'cstrike' or $gsswitch == 'czero') {
if ($anticheat == 3 and $hlds_3 == 'Y') {
@ -185,17 +192,20 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
$eac[] = '<option value="6">Easy Anti Cheat Public 32Bit</option>';
}
} else {
if ($anticheat == 3 and $normal_3 == 'Y') {
$eac[] = '<option value="3" selected="selected">Easy Anti Cheat</option>';
} else if ($normal_3 == 'Y') {
$eac[] = '<option value="3">Easy Anti Cheat</option>';
}
if ($anticheat == 4 and $normal_4 == 'Y') {
$eac[] = '<option value="4" selected="selected">Easy Anti Cheat Public</option>';
} else if ($normal_4 == 'Y') {
$eac[] = '<option value="4">Easy Anti Cheat Public</option>';
}
}
} else if (!isset($eac)) {
$eac = array();
}
@ -213,6 +223,7 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
} else if ($ui->smallletters('edit2',4, 'post') == 'edit' and $ui->gamestring('date', 'post') and $ui->id('template',1, 'post') and $ui->id('anticheat',1, 'post') and $ui->gamestring('shorten', 'post') and $ui->active('backup', 'post') and $ui->active('restart', 'post') and isset($serverip) and isset($port)) {
$gameqArray = array();
$date = $ui->gamestring('date', 'post');
$template = $ui->id('template',1, 'post');
$anticheat = $ui->id('anticheat',1, 'post');
@ -238,7 +249,9 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
$worldsafe = ($ui->active('worldsafe', 'post')) ? $ui->active('worldsafe', 'post') : 'N';
if ($anticheat > 2) {
if ($gsswitch == 'cstrike' or $gsswitch == 'czero') {
if ($anticheat==3 and $hlds_3== 'N' and $hlds_5 == 'Y') {
$anticheat = 5;
} else if ($anticheat==3 and $hlds_3== 'N' and $hlds_5== 'N') {
@ -246,6 +259,7 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
} else {
$anticheat = 1;
}
if ($anticheat==4 and $hlds_4== 'N' and $hlds_6 == 'Y') {
$anticheat = 6;
} else if ($anticheat==4 and $hlds_4== 'N' and $hlds_6== 'N') {
@ -253,58 +267,54 @@ if ($ui->smallletters('edit',4, 'post') == 'edit' and isset($serverip) and isset
} else {
$anticheat = 1;
}
if ($anticheat==5 and $hlds_5== 'N') {
$anticheat = 1;
}
if ($anticheat==6 and $hlds_6== 'N') {
$anticheat = 1;
}
} else {
if ($anticheat==3 and $normal_3== 'N') {
$anticheat = 1;
}
if ($anticheat==4 and $normal_4== 'N') {
$anticheat = 1;
}
}
}
$restart = $ui->active('restart', 'post');
$backup = $ui->active('backup', 'post');
if($ui->mapname('map', 'post') && $serverlist['gameq'] != 'minecraft') {
$map = $ui->mapname('map', 'post');
}
else {
$map = '';
}
$map = ($ui->mapname('map', 'post') and $serverlist['gameq'] != 'minecraft') ? $ui->mapname('map', 'post') : '';
$protected = ($ui->active('protected', 'post') and $serverlist['protected'] == 'Y') ? $ui->active('protected', 'post') : 'N';
$stvupload = ($ui->active('upload', 'post')) ? $ui->active('upload', 'post') : 'N';
if ($ui->active('protected', 'post') && $serverlist['protected']=='Y') {
$protected = $ui->active('protected', 'post');
} else {
$protected = 'N';
}
if ($ui->active('upload', 'post')) {
$stvupload = $ui->active('upload', 'post');
} else {
$stvupload = 'N';
}
$query = $sql->prepare("SELECT `id` FROM `gserver_restarts` WHERE `restarttime`=? AND `switchID`=? AND `resellerid`=? LIMIT 1");
$query->execute(array($date, $id, $reseller_id));
$rowcount = $query->rowCount();
if ($rowcount==0) {
$pupdate = $sql->prepare("INSERT INTO `gserver_restarts` (`template`,`anticheat`,`protected`,`restarttime`,`gsswitch`,`map`,`mapGroup`,`restart`,`backup`,`worldsafe`,`upload`,`switchID`,`userid`,`resellerid`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
$pupdate->execute(array($template, $anticheat, $protected, $date, $gsswitch, $map, $ui->mapname('mapGroup', 'post'), $restart, $backup, $worldsafe, $stvupload, $id, $user_id, $reseller_id));
if ($rowcount == 0) {
$query = $sql->prepare("INSERT INTO `gserver_restarts` (`template`,`anticheat`,`protected`,`restarttime`,`gsswitch`,`map`,`mapGroup`,`restart`,`backup`,`worldsafe`,`upload`,`switchID`,`userid`,`resellerid`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
$query->execute(array($template, $anticheat, $protected, $date, $gsswitch, $map, $ui->mapname('mapGroup', 'post'), $restart, $backup, $worldsafe, $stvupload, $id, $user_id, $reseller_id));
} else {
$pupdate = $sql->prepare("UPDATE `gserver_restarts` SET `template`=?,`anticheat`=?,`protected`=?,`gsswitch`=?,`map`=?,`mapGroup`=?,`restart`=?,`backup`=?,`worldsafe`=?,`upload`=? WHERE `restarttime`=? AND `switchID`=? AND `userid`=? AND `resellerid`=? LIMIT 1");
$pupdate->execute(array($template, $anticheat, $protected, $gsswitch, $map, $ui->mapname('mapGroup', 'post'), $restart, $backup, $worldsafe, $stvupload, $date, $id, $user_id, $reseller_id));
$query = $sql->prepare("UPDATE `gserver_restarts` SET `template`=?,`anticheat`=?,`protected`=?,`gsswitch`=?,`map`=?,`mapGroup`=?,`restart`=?,`backup`=?,`worldsafe`=?,`upload`=? WHERE `restarttime`=? AND `switchID`=? AND `userid`=? AND `resellerid`=? LIMIT 1");
$query->execute(array($template, $anticheat, $protected, $gsswitch, $map, $ui->mapname('mapGroup', 'post'), $restart, $backup, $worldsafe, $stvupload, $date, $id, $user_id, $reseller_id));
}
$template_file = $spracheResponse->table_add;
} else if ($ui->smallletters('delete', 6, 'post') == 'delete' and $ui->gamestring('date', 'post') and isset($serverip) and isset($port)) {
$date = $ui->gamestring('date', 'post');
$pdelete = $sql->prepare("DELETE FROM `gserver_restarts` WHERE `restarttime`=? AND `switchID`=? AND `resellerid`=? LIMIT 1");
$pdelete->execute(array($date, $id, $reseller_id));
$query = $sql->prepare("DELETE FROM `gserver_restarts` WHERE `restarttime`=? AND `switchID`=? AND `resellerid`=? LIMIT 1");
$query->execute(array($date, $id, $reseller_id));
$template_file = $spracheResponse->table_del;;
} else if (isset($serverip) and isset($port)){

View File

@ -89,8 +89,8 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
}
while($row = $query->fetch(PDO::FETCH_ASSOC)) {
$slotUsage[] = "{y: '{$row['groupedDate']}', item1: {$row['averageused']}}";
$trafficUsage[] = "{y: '{$row['groupedDate']}', item1: {$row['fileTrafficMB']}}";
$slotUsage[] = "{y: '{$row['groupedDate']}', item1: " . ceil($row['averageused']) . "}";
$trafficUsage[] = "{y: '{$row['groupedDate']}', item1: " . ceil($row['fileTrafficMB']) . "}";
}
if ($ui->id('serverID', 10, 'post')) {
@ -104,8 +104,8 @@ if ($ui->w('action', 4, 'post') and !token(true)) {
foreach ($query->fetchAll(PDO::FETCH_ASSOC) as $row) {
$freeSlots = (int) ($row['s'] - $row['u']);
$usedSlots = (int) $row['u'];
$freeTraffic = (int) ($row['m'] - $row['f']);
$fileTraffic = (int) $row['f'];
$freeTraffic = ceil($row['m'] - ($row['f'] / 1024));
$fileTraffic = ceil($row['f'] / 1024);
}
}

View File

@ -1,3 +0,0 @@
<?php foreach($table as $k=>$v){ ?>
<option value="<?php echo $k;?>" ><?php echo $v;?></option>>
<?php } ?>

View File

@ -1,6 +0,0 @@
<?php if($ui->st('w','get')=='se'){ ?>
<label for="inputSelect"></label>
<select class="form-control" id="inputSelect" name="serverID">
<?php foreach ($data as $value) echo $value;?>
</select>
<?php } ?>

View File

@ -1,100 +0,0 @@
<!DOCTYPE html>
<html class="bg-black">
<head>
<meta charset="UTF-8">
<?php if(isset($header)) echo $header;?>
<title><?php if(isset($title)) echo $title;?></title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link rel="shortcut icon" href="images/favicon.png" type="image/png">
<meta name="robots" content="noindex">
<!-- bootstrap 3.1.1 -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- font Awesome -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
<!-- Theme style -->
<link href="css/adminlte/AdminLTE.css" rel="stylesheet" type="text/css" />
<?php echo implode('',$htmlExtraInformation['css']);?>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<?php echo implode('',$htmlExtraInformation['js']);?>
</head>
<body class="bg-black" <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<div class="form-box" id="login-box">
<?php if (isset($sus)) { ?>
<div class="alert alert-danger alert-dismissable">
<i class="fa fa-warning"></i>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $sprache->sus_heading;?></b> <?php echo $sus;?>
</div>
<?php } else { ?>
<div class="header"><?php echo $sprache->heading;?></div>
<?php if(isset($header)){ ?>
<div class="box box-info">
<div class="alert alert-danger">
<p><?php echo $text;?></p>
</div>
</div>
<?php } ?>
<form action="login.php" method="post">
<div class="body bg-gray">
<div class="form-group">
<input type="text" id="inputUser" name="username" class="form-control" placeholder="<?php echo $sprache->user;?>" required>
</div>
<div class="form-group">
<input type="password" id="inputPassword" name="password" class="form-control" placeholder="<?php echo $sprache->password;?>" required>
</div>
<?php if ($ewCfg['captcha']==1) { ?>
<div class="form-group input-group">
<span class="input-group-addon"><img src="images.php" alt="Captcha" /></span>
<input name="captcha" type="text" class="form-control" placeholder="Captcha" pattern="^[\w]{4}$" required>
</div>
<?php } ?>
<button type="submit" class="btn bg-blue btn-block">Login</button>
</div>
<div class="footer">
<?php if(count($serviceProviders)>0){ ?>
<div class="margin text-center">
<span>Sign in using social networks</span>
<br/>
<?php foreach($serviceProviders as $k=>$css){ ?>
<a href="login.php?serviceProvider=<?php echo $k;?>"><button class="btn bg-light-blue btn-circle btn-<?php echo $css;?>"><i class="fa fa-<?php echo $css;?>"></i></button></a>
<?php } ?>
</div>
<?php } ?>
<div class="margin">
<p><a href="login.php?w=pr">Lost PW</a></p>
</div>
</div>
</form>
<?php }?>
<div>
&copy; <a href="https://easy-wi.com" target="_blank" title="free gameserver, voiceserver, dedicated and virtualserver webinterface easy-wi.com">Easy-WI.com</a> 2011 - <?php echo date('Y'); ?>
</div>
</div>
<!-- jQuery 2.0.2 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>

View File

@ -1,72 +0,0 @@
<!DOCTYPE html>
<html class="bg-black">
<head>
<meta charset="UTF-8">
<?php if(isset($header)) echo $header;?>
<title><?php if(isset($title)) echo $title;?></title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link rel="shortcut icon" href="images/favicon.png" type="image/png">
<meta name="robots" content="noindex">
<!-- bootstrap 3.0.2 -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- font Awesome -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
<!-- Theme style -->
<link href="css/adminlte/AdminLTE.css" rel="stylesheet" type="text/css" />
<?php echo implode('',$htmlExtraInformation['css']);?>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<?php echo implode('',$htmlExtraInformation['js']);?>
</head>
<body class="bg-black" <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<div class="form-box" id="login-box">
<div class="header"><?php echo $sprache->multipleHeader;?></div>
<div class="body bg-gray">
<div class="callout callout-info">
<?php echo $sprache->multipleHelper;?>
</div>
<div class="box box-solid">
<div class="box-body">
<ul>
<?php foreach($connectedUsers as $k=>$v){ ?>
<li><a href="login.php?serviceProvider=<?php echo $serviceProvider;?>&amp;loginUserId=<?php echo $k;?>"><?php echo $v;?></a></li>
<?php }?>
<?php foreach($connectedSubstitutes as $k=>$v){ ?>
<li><a href="login.php?serviceProvider=<?php echo $serviceProvider;?>&amp;loginSubstituteId=<?php echo $k;?>"><?php echo $v;?></a></li>
<?php }?>
</ul>
</div>
</div>
</div>
<div class="footer">
&copy; <a href="https://easy-wi.com" target="_blank" title="free gameserver, voiceserver, dedicated and virtualserver webinterface easy-wi.com">Easy-WI.com</a> 2011 - <?php echo date('Y'); ?>
</div>
</div>
<!-- jQuery 2.0.2 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>

View File

@ -1,9 +0,0 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel"><?php echo $ewCfg['title'] . ' ' . $serverip .':' . $port;?></h4>
</div>
<div class="modal-body">
<?php echo $log;?>
</div>
</div><!-- /.modal-content -->

View File

@ -1,7 +0,0 @@
<section class="content">
<div class="box box-info">
<div class="box-body">
<?php if (isset($template_file))echo $template_file; ?>
</div>
</div>
</section>

View File

@ -1,62 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->template.' '.$gsprache->add;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></a></li>
<li class="active"><?php echo $gsprache->add;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="box box-info">
<div class="box-body">
<form role="form" action="<?php echo $targetFile;?>?w=gt&amp;d=ad&amp;r=gt" 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="form-group<?php if(isset($errors['name'])) echo ' error';?>">
<label for="inputName"><?php echo $sprache->description;?></label>
<input class="form-control" id="inputName" type="text" name="name" value="<?php echo $name;?>" required>
</div>
<div id="mods" class="form-group<?php if(isset($errors['servertype'])) echo ' error';?>">
<label for="inputServertype"><?php echo $sprache->game;?></label>
<select class="form-control" id="inputServertype" name="servertype">
<?php foreach ($table as $k=>$v) { ?>
<option value="<?php echo $k;?>" <?php if($k==$servertype) echo 'selected="selected"'; ?>><?php echo $v;?></option>
<?php } ?>
</select>
</div>
<div class="form-group<?php if(isset($errors['content'])) echo ' error';?>">
<label for="inputContent"><?php echo $gsprache->template;?></label>
<textarea class="form-control" id="inputContent" rows="20" name="content" required><?php echo $content;?></textarea>
</div>
<div class="form-group">
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"> <?php echo $gsprache->add;?></i></button>
</div>
</form>
</div>
</div>
</section>

View File

@ -1,32 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->template.' '.$gsprache->del;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="<?php echo $targetFile;?>?w=im"><?php echo $gsprache->template;?></a></li>
<li><?php echo $gsprache->del;?></li>
<li class="active"><?php echo $name;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body">
<form role="form" action="<?php echo $targetFile;?>?w=gt&amp;d=dl&amp;id=<?php echo $id;?>&amp;r=gt" 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="form-group">
<label for="inputName"><?php echo $sprache->description;?></label>
<input class="form-control" id="inputName" type="text" name="name" value="<?php echo $name;?>" disabled="disabled">
</div>
<div class="form-group">
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash-o"> <?php echo $gsprache->del;?></i></button>
</div>
</form>
</div>
</div>
</section>

View File

@ -1,52 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->template;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body">
<div>
<?php echo $gsprache->template;?> <a href="<?php echo $targetFile;?>?w=gt&amp;d=ad"<span class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></span></a>
</div>
<hr>
<div class="table-responsive">
<table id="dataTable" class="table table-bordered table-striped">
<thead>
<tr>
<th><?php echo $sprache->abkuerz;?></th>
<th>ID</th>
<th><?php echo $sprache->game;?></th>
<th><?php echo $gsprache->del;?></th>
<th><?php echo $gsprache->mod;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['name'];?></td>
<td><?php echo $table_row['id'];?></td>
<td><?php echo $table_row['servertype'];?></td>
<td><a href="<?php echo $targetFile;?>?w=gt&amp;d=dl&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-sm btn-danger"><i class="fa fa-trash-o"></i></span></a></td>
<td><a href="<?php echo $targetFile;?>?w=gt&amp;d=md&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-sm btn-primary"><i class="fa fa-edit"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
<tfoot>
<tr>
<th><?php echo $sprache->abkuerz;?></th>
<th>ID</th>
<th><?php echo $sprache->game;?></th>
<th><?php echo $gsprache->del;?></th>
<th><?php echo $gsprache->mod;?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</section>

View File

@ -1,61 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->template.' '.$gsprache->mod;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></a></li>
<li><?php echo $gsprache->mod;?></li>
<li class="active"><?php echo $name;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="box box-info">
<div class="box-body">
<form role="form" action="<?php echo $targetFile;?>?w=gt&amp;d=md&amp;id=<?php echo $id;?>&amp;r=gt" 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="form-group<?php if(isset($errors['name'])) echo ' error';?>">
<label for="inputName"><?php echo $sprache->description;?></label>
<input class="form-control" id="inputName" type="text" name="name" value="<?php echo $name;?>" required>
</div>
<div id="mods" class="form-group<?php if(isset($errors['servertype'])) echo ' error';?>">
<label for="inputServertype"><?php echo $sprache->game;?></label>
<select class="form-control" id="inputServertype" name="servertype">
<?php foreach ($table as $k=>$v) { ?>
<option value="<?php echo $k;?>" <?php if($k==$servertype) echo 'selected="selected"'; ?>><?php echo $v;?></option>
<?php } ?>
</select>
</div>
<div class="form-group<?php if(isset($errors['content'])) echo ' error';?>">
<label for="inputContent"><?php echo $gsprache->template;?></label>
<textarea class="form-control" id="inputContent" rows="20" name="content" required><?php echo $content;?></textarea>
</div>
<div class="form-group">
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"> <?php echo $gsprache->mod;?></i></button>
</div>
</form>
</div>
</div>
</section>

View File

@ -1,20 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->imprint;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->imprint;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-body">
<?php echo $imprint;?>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,3 +0,0 @@
<div class="hero-unit">
<h1>404</h1>
</div>

View File

@ -1,26 +0,0 @@
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->
<!-- add new calendar event modal -->
<!-- Easy-Wi -->
<script src="js/adminlte/easy-wi.js" type="text/javascript"></script>
<!-- jQuery 2.0.2 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js" type="text/javascript"></script>
<!-- jQuery UI 1.10.3
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" type="text/javascript"></script> -->
<?php echo implode('',$htmlExtraInformation['js']);?>
<!-- Bootstrap -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
<!-- AdminLTE App -->
<script src="js/adminlte/app.js" type="text/javascript"></script>
</body>
</html>

View File

@ -1,107 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->addon;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><?php echo $gsprache->addon;?></li>
<li><?php echo $table['serverip'].':'.$table['port'];?></li>
<li><?php echo $currentTemplate;?></li>
<li><?php echo $description;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_addons;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title"><?php echo $sprache->tools;?></h3>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<?php foreach ($table['tools'] as $table_row) { ?>
<tr>
<td style="width: 20%">
<?php echo $table_row['menudescription'];?>
<?php if($table_row['addescription']!=''){ ?>
<a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="fa fa-question-circle"></i></a>
<?php }?>
</td>
<td>
<?php if($table_row['action']=='none'){ ?>
<a href="#" id="<?php echo 'requires-'.$table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['alt'];?>">
<span class="btn btn-sm btn-warning">
<i class="fa fa-exclamation-triangle"></i>
</span>
</a>
<?php } else { ?>
<a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');">
<span class="btn btn-sm btn-<?php if($table_row['action']=='ad') echo 'success'; else echo 'danger'; ?>">
<i class="fa <?php if($table_row['action']=='ad') echo 'fa fa-plus-circle'; else echo 'fa-trash-o';?>"></i> <?php echo ($table_row['action']=='ad') ? $gsprache->add : $gsprache->del; ?>
</span>
</a>
<?php } ?>
</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title"><?php echo $sprache->maps;?></h3>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<?php foreach ($table['maps'] as $table_row) { ?>
<tr>
<td style="width: 20%">
<?php echo $table_row['menudescription'];?>
<?php if($table_row['addescription']!=''){ ?>
<a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="fa fa-question-circle"></i></a>
<?php }?>
</td>
<td>
<a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');">
<span class="btn btn-sm btn-<?php if($table_row['action']=='ad') echo 'success'; else echo 'danger'; ?>">
<i class="fa <?php if($table_row['action']=='ad') echo 'fa fa-plus-circle'; else echo 'fa-trash-o';?>"></i> <?php echo ($table_row['action']=='ad') ? $gsprache->add : $gsprache->del; ?>
</span>
</a>
</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<script type="text/javascript">
$(document).popover({
selector : '.popover-source-dynamic[data-trigger="hover"]',
trigger : 'hover'
});
</script>

View File

@ -1,63 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->backup;?></li>
<li><?php echo $serverip.":".$port;?></li>
<li class="active"><?php echo $gsprache->settings;?></li>
</ol>
</section>
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=bu&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="md2">
<div class="box-body">
<?php if (count($errors)>0){ ?>
<div class="alert alert-danger alert-dismissable">
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="form-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label for="input_ftp_adresse"><?php echo $sprache->ftp_adresse;?></label>
<input id="input_ftp_adresse" type="text" class="form-control" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label for="input_ftp_port"><?php echo $sprache->ftp_port;?></label>
<input id="input_ftp_port" type="text" class="form-control" name="ftp_port" value="<?php echo $ftp_port;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label for="input_ftp_user"><?php echo $sprache->ftp_user;?></label>
<input id="input_ftp_user" type="text" class="form-control" name="ftp_user" value="<?php echo $ftp_user;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label for="input_ftp_password"><?php echo $sprache->ftp_password;?></label>
<input id="input_ftp_password" type="text" class="form-control" name="ftp_password" value="<?php echo $ftp_password;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_path'])) echo ' error';?>">
<label for="input_ftp_path"><?php echo $sprache->ftp_path;?></label>
<input id="input_ftp_path" type="text" class="form-control" name="ftp_path" value="<?php echo $ftp_path;?>" required/>
</div>
</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>

View File

@ -1,37 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->backup;?></li>
<li><?php echo $serverip.":".$port;?></li>
<li class="active"><?php echo $sprache->recover;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=bu&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="rb2">
<div class="box-body">
<div class="form-group">
<label for="inputTemplate"><?php echo $gsprache->template;?></label>
<select class="form-control" name="template" id="inputTemplate">
<?php foreach($shortens as $shorten) { echo '<option>'.$shorten.'</option>'; } ?>
</select>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputRecover" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->recover;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,141 +0,0 @@
<section class="content-header">
<h1><?php echo $sprache->restarttime;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> </li>
<li><?php echo $sprache->restarttime;?> </li>
<li class="active"><?php echo $serverip.":".$port;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_calendar;?>
</div>
</div>
</div>
<div class="col-md-2">
<div class="box box-info">
<div class="box-body">
<form role="form" id="newRestart" action="userpanel.php?w=ca&amp;id=<?php echo $id;?>" method="post">
<input type="hidden" id="date" name="date" value=""/>
<input type="hidden" id="edit" name="edit" value="edit" />
<div class="input-group">
<label class="input-group-addon"><i class="fa fa-calendar"></i></label>
<select class="form-control" id="day" name="day">
<option value="mon"><?php echo $sprache->monday;?></option>
<option value="tue"><?php echo $sprache->tuesday;?></option>
<option value="wed"><?php echo $sprache->wednesday;?></option>
<option value="thu"><?php echo $sprache->thursday;?></option>
<option value="fri"><?php echo $sprache->friday;?></option>
<option value="sat"><?php echo $sprache->saturday;?></option>
<option value="sun"><?php echo $sprache->sunday;?></option>
</select>
</div>
<br/>
<div class="input-group">
<label class="input-group-addon"><i class="fa fa-clock-o"></i></label>
<select class="form-control" id="hour" name="hour">
<?php for($i=0;$i<=23;$i++) { ?>
<option value="<?php echo $i;?>"><?php echo str_pad($i,2,"0",STR_PAD_LEFT);?>:00</option>
<?php } ?>
</select>
</div>
<br/>
</div><!-- /.box-body -->
</div><!-- /.box -->
<button class="btn btn-primary"><i class="fa fa-edit"></i> <?php echo $gsprache->add;?></button>
</form>
</div><!-- ./col -->
<script type="text/javascript">
$(document).ready(function (){
$('#newRestart').submit(function() {
var date=$('#day').val()+'_'+$('#hour').val();
$('#date').val(date);
});
});
</script>
<div class="col-md-10">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th data-class="expand"><?php echo $gsprache->datetime;?></th>
<th data-hide="phone"><?php echo $gsprache->backup;?></th>
<th data-hide="phone"><?php echo $sprache->restarts;?></th>
<th data-hide="phone,tablet"><?php echo $gsprache->template;?></th>
<th data-hide="phone,tablet"><?php echo $sprache->startmap;?></th>
<th data-hide="phone"><?php echo $sprache->protect;?></th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<?php
$days=array('mon'=>$sprache->monday,
'tue'=>$sprache->tuesday,
'wed'=>$sprache->wednesday,
'thu'=>$sprache->thursday,
'fri'=>$sprache->friday,
'sat'=>$sprache->saturday,
'sun'=>$sprache->sunday);
foreach($days as $day => $dayname) {
for($i=0;$i<=23;$i++) {
if(!empty($restarts[$i][$day])){ ?>
<tr>
<td>
<?php echo $dayname." - ".str_pad($i,2,"0",STR_PAD_LEFT).":00" ?>
</td>
<td>
<?php echo $restarts[$i][$day]['backup']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['restart']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['template']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['map']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['protected']; ?>
</td>
<td class="span1">
<form action="userpanel.php?w=ca&amp;id=<?php echo $id;?>&amp;r=ca" method="post" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<input type="hidden" name="date" value="<?php echo $day.'_'.$i;?>"/>
<input type="hidden" name="delete" value="delete" />
<button class="btn btn-danger btn-mini"><i class="icon-trash icon-white"></i> <?php echo $gsprache->del;?></button>
</form>
</td>
<td class="span1">
<form action="userpanel.php?w=ca&amp;id=<?php echo $id;?>" method="post">
<input type="hidden" name="date" value="<?php echo $day.'_'.$i;?>"/>
<input type="hidden" name="edit" value="edit" />
<button class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i> <?php echo $gsprache->mod;?></button>
</form>
</td>
</tr>
<?php
}
}
} ?>
</tbody>
</table>
</div><!-- /.box-body -->
</div>
</div>
</section>

View File

@ -1,135 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $sprache->restarttime;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $sprache->restarttime;?></li>
<li><?php echo $serverip.':'.$port;?></li>
<li class="active"><?php echo $day.' '.$hour." ".$sprache->hour;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body">
<form role="form" action="userpanel.php?w=ca&amp;id=<?php echo $id;?>&amp;r=ca" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<script type="text/javascript">
$(document).ready(function (){
$('#inputSwitch').change(function() {
var shorten=$('#inputSwitch').val();
$('#inputTemplate1').text(shorten);
$('#inputTemplate2').text(shorten+'-2');
$('#inputTemplate3').text(shorten+'-3');
if($(this).find('option:selected').data('protected')=='Y') {
$('#protectedSettings').collapse('show');
}
else {
$('#protectedSettings').collapse('hide');
}
if($(this).find('option:selected').data('gameq')=='minecraft') {
console.log('minecraft');
$('#worldsaveSettings').collapse('show');
$('#mapSettings').collapse('hide');
}
else {
console.log('not minecraft');
$('#worldsaveSettings').collapse('hide');
$('#mapSettings').collapse('show');
}
if(shorten=='csgo') {
$('#mapGroupSettings').collapse('show');
}
else {
$('#mapGroupSettings').collapse('hide');
}
});
$('#inputSwitch').change();
});
</script>
<div class="form-group">
<label for="inputBackup"><?php echo $gsprache->backup;?></label>
<select class="form-control" name="backup" id="inputBackup">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($backup=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<div class="form-group">
<label for="inputWorldSave">Minecraft Worldsave</label>
<select class="form-control" name="worldsafe" id="inputWorldSave">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($worldsafe=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<?php if(in_array('srcds_run',$binaryArray) and (in_array(2,$uploadallowed) or in_array(3,$uploadallowed))){ ?>
<div class="form-group">
<label for="inputSourceTV">SourceTV Demo Upload</label>
<select class="form-control" name="upload" id="inputSourceTV">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($upload=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<?php } ?>
<div class="form-group">
<label for="inputRestart"><?php echo $sprache->restarts;?></label>
<select class="form-control" name="restart" id="inputRestart">
<option value="Y" data-toggle="collapse" data-target="#restartSettings"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if($restart=="N") echo 'selected="selected"';?> data-toggle="collapse" data-target="#restartSettings"><?php echo $gsprache->no;?></option>
</select>
</div>
<div id="restartSettings" class="collapse <?php if ($restart=='Y') echo 'in';?>">
<div class="form-group">
<label for="inputSwitch"><?php echo $sprache->gameswitch;?></label>
<select class="form-control" name="shorten" id="inputSwitch" onchange="$.get('serverallocation.php?mapgroup=' + this.value, function(data) { $('#mapGroup').html(data); });">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['shorten'];?>" <?php if($gsswitch==$table_row['shorten']) echo 'selected="selected"';?> data-protected="<?php echo $table_row['protected'];?>" data-gameq="<?php echo $table_row['gameq'];?>"><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
</div>
</div>
<div class="form-group">
<label for="inputTemplate"><?php echo $gsprache->template;?></label>
<select class="form-control" name="template" id="inputTemplate">
<option id="inputTemplate1" value="1"></option>
<option id="inputTemplate2" value="2" <?php if($template=="2") echo 'selected="selected"';?>></option>
<option id="inputTemplate3" value="3" <?php if($template=="3") echo 'selected="selected"';?>></option>
</select>
</div>
<?php if ($pallowed=="Y") { ?>
<div class="form-group">
<label for="inputProtected"><?php echo $sprache->protect;?></label>
<select class="form-control" name="protected" id="inputProtected">
<option value="N" data-toggle="collapse" data-target="#anticheatSettings"><?php echo $sprache->off2;?></option>
<option value="Y" data-toggle="collapse" data-target="#anticheatSettings" <?php if($pro=="Y") echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<?php } ?>
<div id="anticheatSettings" class="collapse <?php if ($pro!='Y') echo 'in';?>">
<div class="form-group">
<label for="inputCheat"><?php echo $sprache->anticheat;?></label>
<select class="form-control" name="anticheat" id="inputCheat">
<option value="1"><?php echo $anticheatsoft." ".$sprache->on;?></option>
<option value="2" <?php if($anticheat=="2") echo 'selected="selected"';?>><?php echo $anticheatsoft." ".$sprache->off2;?></option>
<?php foreach($eac as $ea) echo $ea;?>
</select>
</div>
</div>
<div class="form-group">
<label for="inputMap"><?php echo $sprache->map;?></label>
<input class="form-control" id="inputMap" type="text" name="map" value="<?php echo $map;?>" >
</div>
<div class="control-group" id="mapGroup">
<label for="inputMapGroup"><?php echo $sprache->startmapgroup;?></label>
<input class="form-control" id="inputMapGroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>" >
</div>
</div>
</div>
<label for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save">&nbsp;<?php echo $gsprache->save;?></i></button>
<input class="form-control" type="hidden" name="date" value="<?php echo $date2;?>">
<input class="form-control" type="hidden" name="edit2" value="edit">
</form>
</section>

View File

@ -1,47 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->gameserver;?></li>
<li><?php echo $sprache->config;?>
<li class="active"><?php echo $serverip.':'.$port;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_config;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover table-bordered">
<tbody>
<?php foreach ($configs as $config){ ?>
<tr>
<td><strong><?php echo $config['line'];?></strong></td>
<td class="span3">
<?php if($config['permission']=="easy" or $config['permission']=="both") { ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=easy&amp;config=<?php echo urlencode($config['line']);?>"><span class="btn-primary btn-sm"><i class="fa fa-edit"></i> <?php echo $sprache->easy;?></span></a>
<?php } ?>
<?php if($config['permission']=="full" or $config['permission']=="both") { ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=full&amp;config=<?php echo urlencode($config['line']);?>"><span class=" btn-primary btn-sm"><i class="fa fa-edit"></i> <?php echo $sprache->full;?></span></a>
<?php } ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div>
</section>

View File

@ -1,672 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->gameserver;?></li>
<li><?php echo $sprache->config;?>
<li><?php echo $serverip.':'.$port;?></li>
<li class="active"><?php echo htmlentities($configname);?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_config;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=easy&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input class="form-control" type="hidden" name="config" value="<?php echo $postconfig;?>">
<input class="form-control" type="hidden" name="update" value="1">
<?php if(isset($oldrcon)){ ?>
<input class="form-control" type="hidden" name="oldrcon" value="<?php echo $oldrcon;?>" />
<?php } ?>
<div class="box-header">
<h3 class="box-title"><?php echo htmlentities($configname);?></h3>
</div>
<div class="box-body">
<?php if($gamebinary=="srcds_run" and $configname=="server.cfg"){ ?>
<div class="form-group">
<label for="hostname">hostname</label>
<input class="form-control" id="hostname" type="text" name="hostname" value="<?php if(isset($linearray['hostname'])) echo $linearray['hostname']; echo 'Hostname';?>">
</div>
<div class="form-group">
<label for="sv_password">sv_password</label>
<input class="form-control" id="sv_password" type="text" name="sv_password" value="<?php if(isset($linearray['sv_password'])) echo $linearray['sv_password']; echo '';?>">
</div>
<div class="form-group">
<label for="sv_contact">sv_contact</label>
<input class="form-control" id="sv_contact" type="text" name="sv_contact" value="<?php if(isset($linearray['sv_contact'])) echo $linearray['sv_contact']; echo 'email@mail.tld';?>">
</div>
<div class="form-group">
<label for="sv_tags">sv_tags</label>
<input class="form-control" id="sv_tags" type="text" name="sv_tags" value="<?php if(isset($linearray['sv_tags'])) echo $linearray['sv_tags']; echo 'Homepage, Clanname';?>">
</div>
<div class="form-group">
<label for="motdfile">motdfile</label>
<input class="form-control" id="motdfile" type="text" name="motdfile" value="<?php if(isset($linearray['motdfile'])) echo $linearray['motdfile']; echo 'motd.txt';?>">
</div>
<div class="form-group">
<label for="mapcyclefile">mapcyclefile</label>
<input class="form-control" id="mapcyclefile" type="text" name="mapcyclefile" value="<?php if(isset($linearray['mapcyclefile'])) echo $linearray['mapcyclefile']; echo 'mapcycle.txt';?>">
</div>
<div class="form-group">
<label for="sv_downloadurl">sv_downloadurl</label>
<input class="form-control" id="sv_downloadurl" type="text" name="sv_downloadurl" value="<?php if(isset($linearray['sv_downloadurl'])) echo $linearray['sv_downloadurl']; else echo 'http://www.domain.tld/fastdownload';?>">
</div>
<div class="form-group">
<label for="net_maxfilesize">net_maxfilesize</label>
<input class="form-control" id="net_maxfilesize" type="text" name="net_maxfilesize" value="<?php if(isset($linearray['net_maxfilesize'])) echo $linearray['net_maxfilesize']; echo '64';?>">
</div>
<div class="form-group">
<label for="rcon_password">rcon_password</label>
<input class="form-control" id="rcon_password" type="text" name="rcon_password" value="<?php if(isset($linearray['rcon_password'])) echo $linearray['rcon_password']; echo 'RconPassword';?>">
</div>
<div class="form-group">
<label for="sv_rcon_minfailures">sv_rcon_minfailures</label>
<input class="form-control" id="sv_rcon_minfailures" type="text" name="sv_rcon_minfailures" value="<?php if(isset($linearray['sv_rcon_minfailures'])) echo $linearray['sv_rcon_minfailures']; echo 3;?>">
</div>
<div class="form-group">
<label for="sv_rcon_maxfailures">sv_rcon_maxfailures</label>
<input class="form-control" id="sv_rcon_maxfailures" type="text" name="sv_rcon_maxfailures" value="<?php if(isset($linearray['sv_rcon_maxfailures'])) echo $linearray['sv_rcon_maxfailures']; echo 5;?>">
</div>
<div class="form-group">
<label for="sv_rcon_banpenalty">sv_rcon_banpenalty</label>
<input class="form-control" id="sv_rcon_banpenalty" type="text" name="sv_rcon_banpenalty" value="<?php if(isset($linearray['sv_rcon_banpenalty'])) echo $linearray['sv_rcon_banpenalty']; echo 0;?>">
</div>
<div class="form-group">
<label for="sv_rcon_minfailuretime">sv_rcon_minfailuretime</label>
<input class="form-control" id="sv_rcon_minfailuretime" type="text" name="sv_rcon_minfailuretime" value="<?php if(isset($linearray['sv_rcon_minfailuretime'])) echo $linearray['sv_rcon_minfailuretime']; echo '15';?>">
</div>
<div class="form-group">
<label for="sv_pure">sv_pure</label>
<select class="form-control"id="sv_pure" name="sv_pure">
<option value="0">0</option>
<option value="1" <?php if(isset($linearray['sv_pure']) and $linearray['sv_pure']==1) echo 'selected="selected"';?>>1</option>
<option value="2" <?php if(isset($linearray['sv_pure']) and $linearray['sv_pure']=="2") echo 'selected="selected"';?>>2</option>
</select>
</div>
<div class="form-group">
<label for="sv_pure_kick_clients">sv_pure_kick_clients</label>
<select class="form-control"id="sv_pure_kick_clients" name="sv_pure_kick_clients">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_pure_kick_clients']) and $linearray['sv_pure_kick_clients']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_timeout">sv_timeout</label>
<input class="form-control" id="sv_timeout" type="text" name="sv_timeout" value="<?php if(isset($linearray['sv_timeout'])) echo $linearray['sv_timeout']; echo '65';?>">
</div>
<div class="form-group">
<label for="sv_alltalk">sv_alltalk</label>
<select class="form-control"id="sv_alltalk" name="sv_alltalk">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['sv_alltalk']) and $linearray['sv_alltalk']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_voiceenable">sv_voiceenable</label>
<select class="form-control"id="sv_voiceenable" name="sv_voiceenable">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['sv_voiceenable']) and $linearray['sv_voiceenable']=="9") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_allowdownload">sv_allowdownload</label>
<select class="form-control"id="sv_allowdownload" name="sv_allowdownload">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['sv_allowdownload']) and $linearray['sv_allowdownload']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_allowupload">sv_allowupload</label>
<select class="form-control"id="sv_allowupload" name="sv_allowupload">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_allowupload']) and $linearray['sv_allowupload']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_region">sv_region</label>
<input class="form-control" id="sv_region" type="text" name="sv_region" value="<?php if(isset($linearray['sv_region'])) echo $linearray['sv_region']; echo '225';?>">
</div>
<div class="form-group">
<label for="sv_friction">sv_friction</label>
<input class="form-control" id="sv_friction" type="text" name="sv_friction" value="<?php if(isset($linearray['sv_friction'])) echo $linearray['sv_friction']; echo 4;?>">
</div>
<div class="form-group">
<label for="sv_stopspeed">sv_stopspeed</label>
<input class="form-control" id="sv_stopspeed" type="text" name="sv_stopspeed" value="<?php if(isset($linearray['sv_stopspeed'])) echo $linearray['sv_stopspeed']; echo '50';?>">
</div>
<div class="form-group">
<label for="sv_gravity">sv_gravity</label>
<input class="form-control" id="sv_gravity" type="text" name="sv_gravity" value="<?php if(isset($linearray['sv_gravity'])) echo $linearray['sv_gravity']; echo '800';?>">
</div>
<div class="form-group">
<label for="sv_accelerate">sv_accelerate</label>
<input class="form-control" id="sv_accelerate" type="text" name="sv_accelerate" value="<?php if(isset($linearray['sv_accelerate'])) echo $linearray['sv_accelerate']; echo 5;?>">
</div>
<div class="form-group">
<label for="sv_airaccelerate">sv_airaccelerate</label>
<input class="form-control" id="sv_airaccelerate" type="text" name="sv_airaccelerate" value="<?php if(isset($linearray['sv_airaccelerate'])) echo $linearray['sv_airaccelerate']; echo '10';?>">
</div>
<div class="form-group">
<label for="sv_wateraccelerate">sv_wateraccelerate</label>
<input class="form-control" id="sv_wateraccelerate" type="text" name="sv_wateraccelerate" value="<?php if(isset($linearray['sv_wateraccelerate'])) echo $linearray['sv_wateraccelerate']; echo '10';?>">
</div>
<div class="form-group">
<label for="sv_allow_color_correction">sv_allow_color_correction</label>
<select class="form-control"id="sv_allow_color_correction" name="sv_allow_color_correction">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_allow_color_correction']) and $linearray['sv_allow_color_correction']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_allow_wait_command">sv_allow_wait_command</label>
<select class="form-control"id="sv_allow_wait_command" name="sv_allow_wait_command">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_allow_wait_command']) and $linearray['sv_allow_wait_command']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_flashlight">mp_flashlight</label>
<select class="form-control"id="mp_flashlight" name="mp_flashlight">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['mp_flashlight']) and $linearray['mp_flashlight']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_footsteps">mp_footsteps</label>
<select class="form-control"id="mp_footsteps" name="mp_footsteps">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['mp_footsteps']) and $linearray['mp_footsteps']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_falldamage">mp_falldamage</label>
<select class="form-control"id="mp_falldamage" name="mp_falldamage">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['mp_falldamage']) and $linearray['mp_falldamage']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_limitteams">mp_limitteams</label>
<select class="form-control"id="mp_limitteams" name="mp_limitteams">
<option value="1">1</option>
<option value="2" <?php if(isset($linearray['mp_limitteams']) and $linearray['mp_limitteams']=="2") echo 'selected="selected"';?>>2</option>
<option value="3" <?php if(isset($linearray['mp_limitteams']) and $linearray['mp_limitteams']=="3") echo 'selected="selected"';?>>3</option>
</select>
</div>
<div class="form-group">
<label for="mp_friendlyfire">mp_friendlyfire</label>
<select class="form-control"id="mp_friendlyfire" name="mp_friendlyfire">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['mp_friendlyfire']) and $linearray['mp_friendlyfire']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_autokick">mp_autokick</label>
<select class="form-control"id="mp_autokick" name="mp_autokick">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['mp_autokick']) and $linearray['mp_autokick']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_forcecamera">mp_forcecamera</label>
<select class="form-control"id="mp_forcecamera" name="mp_forcecamera">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['mp_forcecamera']) and $linearray['mp_forcecamera']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_fadetoblack">mp_fadetoblack</label>
<select class="form-control"id="mp_fadetoblack" name="mp_fadetoblack">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['mp_fadetoblack']) and $linearray['mp_fadetoblack']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_allowspectators">mp_allowspectators</label>
<select class="form-control"id="mp_allowspectators" name="mp_allowspectators">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['mp_allowspectators']) and $linearray['mp_allowspectators']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_chattime">mp_chattime</label>
<input class="form-control" id="mp_chattime" type="text" name="mp_chattime" value="<?php if(isset($linearray['mp_chattime'])) echo $linearray['mp_chattime']; echo '10';?>">
</div>
<div class="form-group">
<label for="log">log</label>
<select class="form-control"id="log" name="log">
<option value="off"><?php echo $sprache->off2;?></option>
<option value="on" <?php if(isset($linearray['log']) and $linearray['log']=="on") echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_log_onefile">sv_log_onefile</label>
<select class="form-control"id="sv_log_onefile" name="sv_log_onefile">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_log_onefile']) and $linearray['sv_log_onefile']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_logfile">sv_logfile</label>
<select class="form-control"id="sv_logfile" name="sv_logfile">
<option value="1">1</option>
<option value="0" <?php if(isset($linearray['sv_logfile']) and $linearray['sv_logfile']=="0") echo 'selected="selected"';?>>0</option>
</select>
</div>
<div class="form-group">
<label for="sv_logbans">sv_logbans</label>
<select class="form-control"id="sv_logbans" name="sv_logbans">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_logbans']) and $linearray['sv_logbans']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_logecho">sv_logecho</label>
<select class="form-control"id="sv_logecho" name="sv_logecho">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_logecho']) and $linearray['sv_logecho']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_logdetail">mp_logdetail</label>
<select class="form-control"id="mp_logdetail" name="mp_logdetail">
<option value="0">0</option>
<option value="1" <?php if(isset($linearray['mp_logdetail']) and $linearray['mp_logdetail']==1) echo 'selected="selected"';?>>1</option>
<option value="2" <?php if(isset($linearray['mp_logdetail']) and $linearray['mp_logdetail']=="2") echo 'selected="selected"';?>>2</option>
<option value="3" <?php if(isset($linearray['mp_logdetail']) and $linearray['mp_logdetail']=="3") echo 'selected="selected"';?>>3</option>
</select>
</div>
<div class="form-group">
<label for="mp_timelimit">mp_timelimit</label>
<input class="form-control" id="mp_timelimit" type="text" name="mp_timelimit" value="<?php if(isset($linearray['mp_timelimit'])) echo $linearray['mp_timelimit']; echo '20';?>">
</div>
<div class="form-group">
<label for="mp_winlimit">mp_winlimit</label>
<input class="form-control" id="mp_winlimit" type="text" name="mp_winlimit" value="<?php if(isset($linearray['mp_winlimit'])) echo $linearray['mp_winlimit']; echo 0;?>">
</div>
<div class="form-group">
<label for="sv_minrate">sv_minrate</label>
<input class="form-control" id="sv_minrate" type="text" name="sv_minrate" value="<?php if(isset($linearray['sv_minrate'])) echo $linearray['sv_minrate']; echo '20000';?>">
</div>
<div class="form-group">
<label for="sv_maxrate">sv_maxrate</label>
<input class="form-control" id="sv_maxrate" type="text" name="sv_maxrate" value="<?php if(isset($linearray['sv_maxrate'])) echo $linearray['sv_maxrate']; echo '100000';?>">
</div>
<div class="form-group">
<label for="sv_minupdaterate">sv_minupdaterate</label>
<input class="form-control" id="sv_minupdaterate" type="text" name="sv_minupdaterate" value="<?php if(isset($linearray['sv_minupdaterate'])) echo $linearray['sv_minupdaterate']; echo '40';?>">
</div>
<div class="form-group">
<label for="sv_maxupdaterate">sv_maxupdaterate</label>
<input class="form-control" id="sv_maxupdaterate" type="text" name="sv_maxupdaterate" value="<?php if(isset($linearray['sv_maxupdaterate'])) echo $linearray['sv_maxupdaterate']; echo '66';?>">
</div>
<div class="form-group">
<label for="sv_mincmdrate">sv_mincmdrate</label>
<input class="form-control" id="sv_mincmdrate" type="text" name="sv_mincmdrate" value="<?php if(isset($linearray['sv_mincmdrate'])) echo $linearray['sv_mincmdrate']; echo '40';?>">
</div>
<div class="form-group">
<label for="sv_maxcmdrate">sv_maxcmdrate</label>
<input class="form-control" id="sv_maxcmdrate" type="text" name="sv_maxcmdrate" value="<?php if(isset($linearray['sv_maxcmdrate'])) echo $linearray['sv_maxcmdrate']; echo '66';?>">
</div>
<div class="form-group">
<label for="sv_client_cmdrate_difference">sv_client_cmdrate_difference</label>
<input class="form-control" id="sv_client_cmdrate_difference" type="text" name="sv_client_cmdrate_difference" value="<?php if(isset($linearray['sv_client_cmdrate_difference'])) echo $linearray['sv_client_cmdrate_difference']; echo '30';?>">
</div>
<div class="form-group">
<label for="sv_client_min_interp_ratio">sv_client_min_interp_ratio</label>
<select class="form-control"id="sv_client_min_interp_ratio" name="sv_client_min_interp_ratio">
<option value="1">1</option>
<option value="2" <?php if(isset($linearray['sv_client_min_interp_ratio']) and $linearray['sv_client_min_interp_ratio']=="2") echo 'selected="selected"';?>>2</option>
<option value="0" <?php if(isset($linearray['sv_client_min_interp_ratio']) and $linearray['sv_client_min_interp_ratio']=="0") echo 'selected="selected"';?>>0</option>
</select>
</div>
<div class="form-group">
<label for="sv_client_max_interp_ratio">sv_client_max_interp_ratio</label>
<select class="form-control"id="sv_client_max_interp_ratio" name="sv_client_max_interp_ratio">
<option value="1">1</option>
<option value="2" <?php if(isset($linearray['sv_client_max_interp_ratio']) and $linearray['sv_client_max_interp_ratio']=="2") echo 'selected="selected"';?>>2</option>
<option value="0" <?php if(isset($linearray['sv_client_max_interp_ratio']) and $linearray['sv_client_max_interp_ratio']=="0") echo 'selected="selected"';?>>0</option>
</select>
</div>
<div class="form-group">
<label for="mp_fraglimit">mp_fraglimit</label>
<input class="form-control" id="mp_fraglimit" type="text" name="mp_fraglimit" value="<?php if(isset($linearray['mp_fraglimit'])) echo $linearray['mp_fraglimit']; echo 0;?>">
</div>
<div class="form-group">
<label for="mp_maxrounds">mp_maxrounds</label>
<input class="form-control" id="mp_maxrounds" type="text" name="mp_maxrounds" value="<?php if(isset($linearray['mp_maxrounds'])) echo $linearray['mp_maxrounds']; echo 0;?>">
</div>
<?php } ?>
<?php if ($shorten=="css" and $configname=="server.cfg"){ ?>
<div class="form-group">
<label for="motdfile_text">motdfile_text</label>
<input class="form-control" id="motdfile_text" type="text" name="motdfile_text" value="<?php if(isset($linearray['motdfile_text'])) echo $linearray['motdfile_text']; echo '';?>">
</div>
<div class="form-group">
<label for="sv_disablefreezecam">sv_disablefreezecam</label>
<select class="form-control"id="sv_disablefreezecam" name="sv_disablefreezecam">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['sv_disablefreezecam']) and $linearray['sv_disablefreezecam']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_nonemesis">sv_nonemesis</label>
<select class="form-control"id="sv_nonemesis" name="sv_nonemesis">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_nonemesis']) and $linearray['sv_nonemesis']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_nomvp">sv_nomvp</label>
<select class="form-control"id="sv_nomvp" name="sv_nomvp">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_nomvp']) and $linearray['sv_nomvp']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_nostats">sv_nostats</label>
<select class="form-control"id="sv_nostats" name="sv_nostats">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_nostats']) and $linearray['sv_nostats']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_allowminmodels">sv_allowminmodels</label>
<select class="form-control"id="sv_allowminmodels" name="sv_allowminmodels">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['sv_allowminmodels']) and $linearray['sv_allowminmodels']==1) echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_hudhint_sound">sv_hudhint_sound</label>
<select class="form-control"id="sv_hudhint_sound" name="sv_hudhint_sound">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_hudhint_sound']) and $linearray['sv_hudhint_sound']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_competitive_minspec">sv_competitive_minspec</label>
<select class="form-control"id="sv_competitive_minspec" name="sv_competitive_minspec">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_competitive_minspec']) and $linearray['sv_competitive_minspec']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_legacy_grenade_damage">sv_legacy_grenade_damage</label>
<select class="form-control"id="sv_legacy_grenade_damage" name="sv_legacy_grenade_damage">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_legacy_grenade_damage']) and $linearray['sv_legacy_grenade_damage']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_enableboost">sv_enableboost</label>
<select class="form-control"id="sv_enableboost" name="sv_enableboost">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_enableboost']) and $linearray['sv_enableboost']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="sv_enablebunnyhopping">sv_enablebunnyhopping</label>
<select class="form-control"id="sv_enablebunnyhopping" name="sv_enablebunnyhopping">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['sv_enablebunnyhopping']) and $linearray['sv_enablebunnyhopping']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_forceautoteam">mp_forceautoteam</label>
<select class="form-control"id="mp_forceautoteam" name="mp_forceautoteam">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['mp_forceautoteam']) and $linearray['mp_forceautoteam']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_enableroundwaittime">mp_enableroundwaittime</label>
<select class="form-control"id="mp_enableroundwaittime" name="mp_enableroundwaittime">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['mp_enableroundwaittime']) and $linearray['mp_enableroundwaittime']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_startmoney">mp_startmoney</label>
<input class="form-control" id="mp_startmoney" type="text" name="mp_startmoney" value="<?php if(isset($linearray['mp_startmoney'])) echo $linearray['mp_startmoney']; echo 800;?>">
</div>
<div class="form-group">
<label for="mp_roundtime">mp_roundtime</label>
<input class="form-control" id="mp_roundtime" type="text" name="mp_roundtime" value="<?php if(isset($linearray['mp_roundtime'])) echo $linearray['mp_roundtime']; echo 5;?>">
</div>
<div class="form-group">
<label for="mp_buytime">mp_buytime</label>
<input class="form-control" id="mp_buytime" type="text" name="mp_buytime" value="<?php if(isset($linearray['mp_buytime'])) echo $linearray['mp_buytime']; echo '0.5';?>">
</div>
<div class="form-group">
<label for="mp_c4timer">mp_c4timer</label>
<input class="form-control" id="mp_c4timer" type="text" name="mp_c4timer" value="<?php if(isset($linearray['mp_c4timer'])) echo $linearray['mp_c4timer']; echo 45;?>">
</div>
<div class="form-group">
<label for="mp_freezetime">mp_freezetime</label>
<input class="form-control" id="mp_freezetime" type="text" name="mp_freezetime" value="<?php if(isset($linearray['mp_freezetime'])) echo $linearray['mp_freezetime']; echo 6;?>">
</div>
<div class="form-group">
<label for="mp_spawnprotectiontime">mp_spawnprotectiontime</label>
<input class="form-control" id="mp_spawnprotectiontime" type="text" name="mp_spawnprotectiontime" value="<?php if(isset($linearray['mp_spawnprotectiontime'])) echo $linearray['mp_spawnprotectiontime']; echo 0;?>">
</div>
<div class="form-group">
<label for="mp_hostagepenalty">mp_hostagepenalty</label>
<input class="form-control" id="mp_hostagepenalty" type="text" name="mp_hostagepenalty" value="<?php if(isset($linearray['mp_hostagepenalty'])) echo $linearray['mp_hostagepenalty']; echo 0;?>">
</div>
<div class="form-group">
<label for="mp_tkpunish">mp_tkpunish</label>
<select class="form-control"id="mp_tkpunish" name="mp_tkpunish">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['mp_tkpunish']) and $linearray['mp_tkpunish']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<?php } else if ($shorten=="dods" and $configname=="server.cfg"){ ?>
<div class="form-group">
<label for="dod_bonusround">dod_bonusround</label>
<select class="form-control"id="dod_bonusround" name="dod_bonusround">
<option value="0"><?php echo $sprache->off2;?></option>
<option value="1" <?php if(isset($linearray['dod_bonusround']) and $linearray['dod_bonusround']==1) echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<div class="form-group">
<label for="dod_bonusroundtime">dod_bonusroundtime</label>
<input class="form-control" id="dod_bonusroundtime" type="text" name="dod_bonusroundtime" value="<?php if(isset($linearray['dod_bonusroundtime'])) echo $linearray['dod_bonusroundtime']; echo '10';?>">
</div>
<div class="form-group">
<label for="dod_enableroundwaittime">dod_enableroundwaittime</label>
<select class="form-control"id="dod_enableroundwaittime" name="dod_enableroundwaittime">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['dod_enableroundwaittime']) and $linearray['dod_enableroundwaittime']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="dod_freezecam"></label>
<select class="form-control"id="dod_freezecam" name="dod_freezecam">
<option value="1"><?php echo $sprache->on;?></option>
<option value="0" <?php if(isset($linearray['dod_freezecam']) and $linearray['dod_freezecam']=="0") echo 'selected="selected"';?>><?php echo $sprache->off2;?></option>
</select>
</div>
<div class="form-group">
<label for="mp_limit_allies_rifleman">mp_limit_allies_rifleman</label>
<input class="form-control" id="mp_limit_allies_rifleman" type="text" name="mp_limit_allies_rifleman" value="<?php if(isset($linearray['mp_limit_allies_rifleman'])) echo $linearray['mp_limit_allies_rifleman']; echo 3;?>">
</div>
<div class="form-group">
<label for="mp_limit_allies_support">mp_limit_allies_support</label>
<input class="form-control" id="mp_limit_allies_support" type="text" name="mp_limit_allies_support" value="<?php if(isset($linearray['mp_limit_allies_support'])) echo $linearray['mp_limit_allies_support']; echo -1;?>">
</div>
<div class="form-group">
<label for="mp_limit_allies_assault">mp_limit_allies_assault</label>
<input class="form-control" id="mp_limit_allies_assault" type="text" name="mp_limit_allies_assault" value="<?php if(isset($linearray['mp_limit_allies_assault'])) echo $linearray['mp_limit_allies_assault']; echo -1;?>">
</div>
<div class="form-group">
<label for="mp_limit_allies_sniper">mp_limit_allies_sniper</label>
<input class="form-control" id="mp_limit_allies_sniper" type="text" name="mp_limit_allies_sniper" value="<?php if(isset($linearray['mp_limit_allies_sniper'])) echo $linearray['mp_limit_allies_sniper']; else echo 1;?>">
</div>
<div class="form-group">
<label for="mp_limit_allies_mg">mp_limit_allies_mg</label>
<input class="form-control" id="mp_limit_allies_mg" type="text" name="mp_limit_allies_mg" value="<?php if(isset($linearray['mp_limit_allies_mg'])) echo $linearray['mp_limit_allies_mg']; else echo 1;?>">
</div>
<div class="form-group">
<label for="mp_limit_allies_rocket">mp_limit_allies_rocket</label>
<input class="form-control" id="mp_limit_allies_rocket" type="text" name="mp_limit_allies_rocket" value="<?php if(isset($linearray['mp_limit_allies_rocket'])) echo $linearray['mp_limit_allies_rocket']; else echo 2;?>">
</div>
<div class="form-group">
<label for="mp_limit_axis_rifleman">mp_limit_axis_rifleman</label>
<input class="form-control" id="mp_limit_axis_rifleman" type="text" name="mp_limit_axis_rifleman" value="<?php if(isset($linearray['mp_limit_axis_rifleman'])) echo $linearray['mp_limit_axis_rifleman']; echo 3;?>">
</div>
<div class="form-group">
<label for="mp_limit_axis_support">mp_limit_axis_support</label>
<input class="form-control" id="mp_limit_axis_support" type="text" name="mp_limit_axis_support" value="<?php if(isset($linearray['mp_limit_axis_support'])) echo $linearray['mp_limit_axis_support']; echo -1;?>">
</div>
<div class="form-group">
<label for="mp_limit_axis_assault">mp_limit_axis_assault</label>
<input class="form-control" id="mp_limit_axis_assault" type="text" name="mp_limit_axis_assault" value="<?php if(isset($linearray['mp_limit_axis_assault'])) echo $linearray['mp_limit_axis_assault']; echo -1;?>">
</div>
<div class="form-group">
<label for="mp_limit_axis_sniper">mp_limit_axis_sniper</label>
<input class="form-control" id="mp_limit_axis_sniper" type="text" name="mp_limit_axis_sniper" value="<?php if(isset($linearray['mp_limit_axis_sniper'])) echo $linearray['mp_limit_axis_sniper']; else echo 1;?>">
</div>
<div class="form-group">
<label for="mp_limit_axis_mg">mp_limit_axis_mg</label>
<input class="form-control" id="mp_limit_axis_mg" type="text" name="mp_limit_axis_mg" value="<?php if(isset($linearray['mp_limit_axis_mg'])) echo $linearray['mp_limit_axis_mg']; else echo 1;?>">
</div>
<div class="form-group">
<label for="mp_limit_axis_rocket">mp_limit_axis_rocket</label>
<input class="form-control" id="mp_limit_axis_rocket" type="text" name="mp_limit_axis_rocket" value="<?php if(isset($linearray['mp_limit_axis_rocket'])) echo $linearray['mp_limit_axis_rocket']; else echo 2;?>">
</div>
<?php } ?>
<?php foreach ($array_keys as $key) { ?>
<div class="form-group">
<label for="<?php echo $key;?>"><?php echo $key;?></label>
<input class="form-control" id="<?php echo $key;?>" type="text" name="<?php echo $key;?>" value="<?php echo $unknownarray[$key];?>">
</div>
<?php } ?>
<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>

View File

@ -1,51 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a>
<li><?php echo $sprache->config;?></li>
<li><?php echo $serverip.':'.$port;?></li>
<li class="active"><?php echo htmlentities($configname);?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_config;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=full&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="config" value="<?php echo $postconfig;?>">
<input type="hidden" name="update" value="1">
<div class="box-header">
<h3 class="box-title"><?php echo htmlentities($configname);?></h3>
</div>
<div class="body-box">
<div class="form-group">
<label for="inputConfig"></label>
<textarea class="form-control" id="inputConfig" rows="15" name="cleanedconfig"><?php echo $cleanedconfig;?></textarea>
</div>
</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>
</section>

View File

@ -1,109 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->fastdownload;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->fastdownload;?></li>
<li class="active"><?php echo $serverip.':'.$port;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=fd&amp;d=es&amp;id=<?php echo $id;?>&amp;r=fd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="md">
<div class="box-body">
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="form-group">
<label for="inputFLD"><?php echo $sprache->haupt2;?></label>
<select class="form-control" id="inputFLD" name="masterfdl" onchange="SwitchShowHideRows('details');">
<option value="Y"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if ($masterfdl=="N") echo 'selected="selected"'; ?>><?php echo $gsprache->no;?></option>
</select>
</div>
<div class="N switch <?php if ($masterfdl=='Y') echo 'display_none'; ?> form-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label for="input_ftp_adresse"><?php echo $gameSprache->ftp_adresse;?></label>
<input class="form-control" id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label for="input_ftp_port"><?php echo $gameSprache->ftp_port;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label for="input_ftp_user"><?php echo $gameSprache->ftp_user;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label for="input_ftp_password"><?php echo $gameSprache->ftp_password;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group">
<label for="input_ftp_path"><?php echo $gameSprache->ftp_path;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</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">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

View File

@ -1,80 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->fastdownload;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->fastdownload;?></li>
<li class="active"><?php echo $sprache->haupt;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl;?>
</div>
</div>
</div>
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=fd&amp;d=eu&amp;r=fd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="md">
<div class="box-body">
<div class="form-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label for="input_ftp_adresse"><?php echo $gameSprache->ftp_adresse;?></label>
<input class="form-control" id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
<div class="form-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label for="input_ftp_port"><?php echo $gameSprache->ftp_port;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
<div class="form-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label for="input_ftp_user"><?php echo $gameSprache->ftp_user;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
<div class="form-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label for="input_ftp_password"><?php echo $gameSprache->ftp_password;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
<div class="form-group">
<label for="input_ftp_path"><?php echo $gameSprache->ftp_path;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</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>

View File

@ -1,52 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->fastdownload;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li class="active"><?php echo $gsprache->fastdownload;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<?php if ($pa['modfastdl']==true) { ?>
<tr>
<td><?php echo $sprache->haupt;?></td>
<td><?php echo $fdlpath[1];?></td>
<td><a href="userpanel.php?w=fd&amp;d=eu"><span class="btn btn-sm btn-primary"><i class="fa fa-edit"></i> <?php echo $sprache->haupt.' '.$gsprache->settings;?></span></a></td>
</tr>
<?php } ?>
<?php foreach ($table as $table_row){ ?>
<tr>
<td><?php echo $table_row['serverip']?>:<?php echo $table_row['port']?></td>
<td>
<form class="form-inline" method="post" action="userpanel.php?w=fd&amp;d=ud&amp;id=<?php echo $table_row['id']?>&amp;r=fd" onsubmit="return confirm('<?php echo $table_row['serverip']?>:<?php echo $table_row['port']?>: <?php echo $sprache->startfdl;?>');">
<button class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i> <?php echo $sprache->startfdl;?></button>
</form>
</td>
<td><?php if ($pa['modfastdl']==true) { ?><a href="userpanel.php?w=fd&amp;d=es&amp;id=<?php echo $table_row['id']?>"><span class="btn btn-sm btn-primary"><i class="fa fa-edit"></i> <?php echo $gsprache->settings;?></span></a><?php } ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,101 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->gameserver;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_list;?>
</div>
</div>
</div>
<!-- Content -->
<?php foreach ($table as $table_row){ ?>
<div class="panel box <?php if($table_row['img']=='16_bad') echo 'box-primary'; else if($table_row['img']=='16_error') echo 'box-danger'; else echo 'box-success';?>">
<!-- Gameserver Name -->
<h4><img src="images/games/icons/<?php echo $table_row['gameShorten'];?>.png" alt="<?php echo $table_row['gameShorten'];?>" width="14" /> <a href="hlsw://<?php echo $table_row['server'];?>"><?php echo $table_row['server'].' '.$table_row['name'];?></a></h4>
<!-- Gameserver Warnings -->
<?php if(!empty($table_row['premoved'])){ ?><div class="alert alert-warning alert-dismissable"><i class="fa fa-warning"></i> <?php echo $table_row['premoved'];?></div><?php } ?>
<?php if(!empty($table_row['nameremoved'])){ ?><div class="alert alert-warning alert-dismissable"><i class="fa fa-warning"></i> <?php echo $table_row['nameremoved'];?></div><?php } ?>
<div id="collapseOne" class="panel-collapse collapse in">
<div class="box-body">
<!-- Gameserver Buttons -->
<div class="form-group">
<a href="userpanel.php?w=gs&amp;d=rs&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-success inline"><i class="icon-white icon-play"></i> <?php echo $sprache->restarts;?></button></a>
<?php if($table_row['stopped']=='N'){ ?><a href="userpanel.php?w=gs&amp;d=st&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_stop;?>');"><button class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> <?php echo $sprache->stop;?></button></a><?php } ?>
<?php if(!empty($table_row['pro'])){ ?><a href="userpanel.php?w=pr&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->protect . ' '; echo ($table_row['imgp']=='16_protected') ? $sprache->off2 : $sprache->on;?>?');"><button class="btn btn-sm <?php if($table_row['imgp']=='16_protected')echo 'btn-info';else if($table_row['imgp']=='16_unprotected') echo 'btn-warning';?>"><i class="fa fa-shield"></i> <?php echo $sprache->protect.' '.$table_row['pro'];?></button></a><?php } ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-cogs"></i> <?php echo $sprache->config;?></button></a>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['imgp']!='16_protected' and $table_row['ftpAllowed']) { ?>
<a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-files-o"></i> <?php echo $sprache->webFtp;?></button></a>
<?php } ?>
<?php if($pa['useraddons']){ ?><a href="userpanel.php?w=ao&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-puzzle-piece"></i> <?php echo $gsprache->addon;?></button></a><?php } ?>
<a href="userpanel.php?w=ca&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-calendar"></i> <?php echo $sprache->restarttime;?></button></a>
<div class="btn-group">
<button data-toggle="dropdown" class="btn btn-sm btn-primary dropdown-toggle"><i class="fa fa-floppy-o"></i> <?php echo $gsprache->backup;?> <span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=mb&amp;r=gs"><i class="fa fa-plus-circle fa-fw"></i> <?php echo $sprache->create;?></a></li>
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=rb"><i class="fa fa-refresh fa-fw"></i> <?php echo $sprache->recover;?></a></li>
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=md"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
</ul>
</div>
<a class="btn btn-sm btn-primary" data-toggle="modal" data-target="#compose-modal-<?php echo $table_row['id'];?>"><i class="fa fa-terminal"></i> <?php echo $gsprache->logs;?></a>
<!-- COMPOSE MESSAGE MODAL -->
<div class="modal fade" id="compose-modal-<?php echo $table_row['id'];?>" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content" id="modal-content-<?php echo $table_row['id'];?>">
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></button></a>
<a href="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button></a>
<?php if($table_row['upload']==true){ ?><a href="userpanel.php?w=gs&amp;d=du&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');"><button class="btn btn-sm btn-info"><i class="icon-white icon-film"></i> SourceTV</button></a><?php } ?>
</div>
<!-- Gameserver Details -->
<dl class="dl-horizontal">
<dt><?php echo $gsprache->template;?></dt>
<dd><?php echo $table_row['shorten'];?></dd>
<dt><?php echo $sprache->updatetime;?></dt>
<dd><?php echo $table_row['updatetime'];?></dd>
<dt><?php echo $sprache->map;?></dt>
<dd><?php echo $table_row['map'];?></dd>
<dt><?php echo $sprache->player;?></dt>
<dd><?php echo $table_row['numplayers']?>/<?php echo $table_row['maxplayers'];?></dd>
<?php if($table_row['ramLimited']=='Y') { ?>
<dt><?php echo $sprache->ramMax;?></dt>
<dd><?php echo $table_row['maxram'];?> MB</dd>
<?php } ?>
<?php if($table_row['taskset']=='Y' and $table_row['coreCount']>0) { ?>
<dt><?php echo $sprache->coreBind;?></dt>
<dd><?php echo $table_row['cores'].' ('.$table_row['coreCount'].')';?></dd>
<?php } ?>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['imgp']!='16_protected' and $table_row['ftpAllowed']) { ?>
<dt><?php echo $sprache->ftp_link;?></dt>
<dd><a href="<?php echo $table_row['ftpdata'];?>"><?php echo $table_row['ftpdata'];?></a></dd>
<dt><?php echo $sprache->ftp_adresse;?></dt>
<dd>ftp://<?php echo $table_row['ip'].":".$table_row['ftpport'].$pserver.$table_row['ip'].'_'.$table_row['port']."/".$table_row['shorten'];?></dd>
<dt><?php echo $sprache->ftp_user;?></dt>
<dd><?php echo $table_row['cname'];?></dd>
<dt><?php echo $sprache->ftp_password;?></dt>
<dd><?php echo $table_row['cftppass'];?></dd>
<?php } ?>
</dl>
</div>
</div>
</div>
<?php }?>
</section>

View File

@ -1,182 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $sprache->server_details;?></li>
<li class="active"><?php echo $address;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_md;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $id;?>&amp;r=gs" 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">
<?php if ($pa['ftpaccess'] and $ftpAccess=='Y') { ?>
<div class="form-group">
<label for="ftppass"><?php echo $sprache->ftp_password;?></label>
<input class="form-control" id="ftppass" type="text" name="ftppass" value="<?php echo $ftppass;?>" required>
</div>
<?php } ?>
<div class="form-group">
<label for="gameswitch"><?php echo $sprache->gameswitch;?></label>
<select class="form-control" id="gameswitch" name="shorten" onchange="SwitchShowHideRows(this.value);">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['id'];?>" <?php if($serverID==$table_row['id']) echo 'selected="selected"';?>><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
</div>
<?php foreach ($table as $table_row) { ?>
<div class="<?php echo $table_row['id'].' '.$table_row['displayNone'];?> switch">
<?php if(count($table_row['mods'])>0){ ?>
<div class="form-group">
<label for="mod_<?php echo $table_row['id'];?>">Mods</label>
<select class="form-control" id="mod_<?php echo $table_row['id'];?>" name="mod_<?php echo $table_row['id'];?>">
<?php foreach ($table_row['mods'] as $mod_single) { ?>
<option <?php if($table_row['mod']==$mod_single) echo 'selected="selected"';?>><?php echo $mod_single;?></option>
<?php } ?>
</select>
</div>
<?php } ?>
<div class="form-group">
<label for="servertemplate_<?php echo $table_row['id'];?>"><?php echo $gsprache->template;?></label>
<select class="form-control" id="servertemplate_<?php echo $table_row['id'];?>" name="servertemplate_<?php echo $table_row['id'];?>">
<option value="1"><?php echo $table_row['shorten'];?></option>
<option value="2" <?php if($table_row['servertemplate']==2) echo "selected";?>><?php echo $table_row['shorten'];?>-2</option>
<option value="3" <?php if($table_row['servertemplate']==3) echo "selected";?>><?php echo $table_row['shorten'];?>-3</option>
</select>
</div>
<?php if (in_array($table_row['gamebinary'],array('hlds_run','srcds_run','cod4_lnxded'))) { ?>
<div class="form-group">
<label for="anticheat_<?php echo $table_row['id'];?>"><?php echo $sprache->anticheat;?></label>
<select class="form-control" id="anticheat_<?php echo $table_row['id'];?>" name="anticheat_<?php echo $table_row['id'];?>">
<option value="1"><?php echo $table_row['anticheatsoft']." ".$sprache->on;?></option>
<option value="2" <?php if($table_row['anticheat']==2) echo 'selected="selected"';?>><?php echo $table_row['anticheatsoft']." ".$sprache->off2;?></option>
<?php foreach($table_row['eac'] as $eac) echo $eac;?>
</select>
</div>
<?php } ?>
<?php if ($table_row['upload']==true) { ?>
<div class="form-group">
<label for="uploaddir_<?php echo $table_row['id'];?>">SourceTV Demo FTP</label>
<input class="form-control" id="uploaddir_<?php echo $table_row['id'];?>" type="text" name="uploaddir_<?php echo $table_row['id'];?>" value="<?php echo $table_row['uploaddir'];?>">
</div>
<?php } ?>
<?php if ($table_row['userfps']=="Y") { ?>
<div class="form-group">
<label for="fps_<?php echo $table_row['id'];?>"><?php echo $sprache->fps;?></label>
<input class="form-control" id="fps_<?php echo $table_row['id'];?>" type="text" name="fps_<?php echo $table_row['id'];?>" value="<?php echo $table_row['fps'];?>">
</div>
<?php } ?>
<?php if ($table_row['usertick']=="Y") { ?>
<div class="form-group">
<label for="tic_<?php echo $table_row['id'];?>"><?php echo $sprache->tick;?></label>
<input class="form-control" id="tic_<?php echo $table_row['id'];?>" type="text" name="tic_<?php echo $table_row['id'];?>" value="<?php echo $table_row['tic'];?>">
</div>
<?php } ?>
<?php if ($table_row['usermap']=="Y" and !in_array($table_row['map'],array('',null))) { ?>
<div class="form-group">
<label for="map_<?php echo $table_row['id'];?>"><?php echo $sprache->startmap;?></label>
<input class="form-control" id="map_<?php echo $table_row['id'];?>" type="text" name="map_<?php echo $table_row['id'];?>" value="<?php echo $table_row['map'];?>">
</div>
<?php if($table_row['workshopCollection']!==false){ ?>
<div class="form-group">
<label for="workShop_<?php echo $table_row['id'];?>">Steam Workshop</label>
<select class="form-control" id="workShop_<?php echo $table_row['id'];?>" name="workShop_<?php echo $table_row['id'];?>" onchange="SwitchShowHideRows(this.value,'mapGroupWorkShop-<?php echo $table_row['id'];?>');">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($table_row['workShop']=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<div class="Y <?php if($table_row['workShop']=='N') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> form-group">
<label for="workshopCollection_<?php echo $table_row['id'];?>">Workshop Collection</label>
<input class="form-control" id="workshopCollection_<?php echo $table_row['id'];?>" type="text" name="workshopCollection_<?php echo $table_row['id'];?>" value="<?php echo $table_row['workshopCollection'];?>">
<span class="help-block"><?php echo $sprache->collection_info;?></span>
</div>
<div class="Y <?php if($table_row['workShop']=='N') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> form-group">
<label for="webapiAuthkey_<?php echo $table_row['id'];?>">Steam Webapi Authkey</label>
<input class="form-control" id="webapiAuthkey_<?php echo $table_row['id'];?>" type="text" name="webapiAuthkey_<?php echo $table_row['id'];?>" value="<?php echo $table_row['webapiAuthkey'];?>">
<span class="help-block"><?php echo $sprache->authkey_info;?></span>
</div>
<?php } ?>
<?php if(!in_array($table_row['defaultMapGroup'],array('',null))){ ?>
<div class="N <?php if($table_row['workShop']=='Y') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> form-group">
<label for="mapGroup_<?php echo $table_row['id'];?>"><?php echo $sprache->startmapgroup;?></label>
<select class="form-control" id="mapGroup_<?php echo $table_row['id'];?>" name="mapGroup_<?php echo $table_row['id'];?>">
<?php foreach($table_row['mapGroupsAvailable'] as $g){ ?>
<option<?php if($g==$table_row['mapGroup']) echo ' selected="selected"';?>><?php echo $g;?></option>
<?php }?>
</select>
</div>
<?php } ?>
<?php } ?>
</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">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

View File

@ -1,122 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->migration;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li class="active"><?php echo $gsprache->migration;?></li>
</ol>
</section>
<section class="content">
<form role="form" action="userpanel.php?w=ms" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input class="form-control" class="form-control" type="hidden" name="token" value="<?php echo token();?>">
<input class="form-control" class="form-control" type="hidden" name="action" value="ms">
<div class="col-md-6">
<div class="box box-info">
<div class="box-header">
<h4 class="box-title"><?php echo $sprache->import_source;?></h4>
</div>
<div class="box-body">
<?php if(count($error)>0) { ?>
<div class="row-fluid alert alert-error span11">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Error!</strong> <?php echo implode('<br />',$error);?>
</div>
<?php }?>
<div class="form-group">
<label for="ftpAddress"><?php echo $sprache->ftp_adresse;?></label>
<input class="form-control" id="ftpAddress" type="text" name="ftpAddress" value="<?php echo $ftpAddress;?>" required>
</div>
<div class="form-group">
<label for="ftpPort"><?php echo $sprache->ftp_port;?></label>
<input class="form-control" id="ftpPort" type="text" name="ftpPort" value="<?php echo $ftpPort;?>" required>
</div>
<div class="form-group">
<label for="ftpUser"><?php echo $sprache->ftp_user;?></label>
<input class="form-control" id="ftpUser" type="text" name="ftpUser" value="<?php echo $ftpUser;?>" required>
</div>
<div class="form-group">
<label for="ftpPassword"><?php echo $sprache->ftp_password;?></label>
<input class="form-control" id="ftpPassword" type="text" name="ftpPassword" value="<?php echo $ftpPassword;?>" required>
</div>
<div class="form-group">
<label for="ftpPath"><?php echo $sprache->ftp_path;?></label>
<input class="form-control" id="ftpPath" type="text" name="ftpPath" value="<?php echo $ftpPath;?>">
</div>
<div class="form-group">
<label for="ssl">SSL</label>
<select class="form-control" id="ssl" name="ssl">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($ssl=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="box box-info">
<div class="box-header">
<h4 class="box-title"><?php echo $sprache->import_destination;?></h4>
</div>
<div class="box-body">
<div class="form-group">
<label for="server"><?php echo $sprache->server;?></label>
<select class="form-control" id="server" name="switchID" onchange="SwitchShowHideRows(this.value, 'switch', 1)">
<option></option>
<?php foreach($table as $row){ ?><option value="<?php echo $row['id'];?>" <?php if($thisID==$row['id']) echo 'selected="selected"';?>><?php echo $row['address'];?></option><?php }?>
</select>
</div>
<?php foreach($table as $row){ ?>
<div class="<?php echo $row['id'];?> form-group switch <?php if($thisID!=$row['id']) echo 'display_none';?>">
<label for="<?php echo $row['id'];?>-template"><?php echo $gsprache->template;?></label>
<select class="form-control" id="<?php echo $row['id'];?>-template" name="template[<?php echo $row['id'];?>]">
<?php foreach($row['games'] as $game){ ?>
<option value="<?php echo $game['shorten'];?>" <?php if($thisTemplate==$game['shorten']) echo 'selected="selected"';?>><?php echo $game['shorten'].' ('.$game['description'].')';?></option>
<option value="<?php echo $game['shorten'].'-2';?>" <?php if($thisTemplate==$game['shorten'].'-2') echo 'selected="selected"';?>><?php echo $game['shorten'].'-2 ('.$game['description'].')';?></option>
<option value="<?php echo $game['shorten'].'-3';?>" <?php if($thisTemplate==$game['shorten'].'-3') echo 'selected="selected"';?>><?php echo $game['shorten'].'-3 ('.$game['description'].')';?></option>
<?php }?>
</select>
</div>
<?php }?>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-play"></i> <?php echo $gsprache->exec;?></button>
</div>
</div>
</div>
</form>
</section>
<script type="text/javascript">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

View File

@ -1,18 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li>Web FTP</li>
<li class="active"><?php echo $address;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body">
<?php echo $monstaDisplay;?>
</div>
</div>
</section>

View File

@ -1,79 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li class="active"><?php echo $gsprache->gameserver." ".$sprache->reinstall;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_reinstall;?>
</div>
</div>
</div>
<div class="box box-info">
<form role="form" action="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input class="form-control" type="hidden" name="action" value="ri">
<input type="hidden" id="type" name="type" value="N">
<div class="box-body">
<div class="form-group">
<label for="game"><?php echo $gsprache->game;?></label>
<select class="form-control" id="game" name="game" onchange="toggleTemplates();">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['id'];?>" data-shorten="<?php echo $table_row['shorten'];?>"><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
</div>
<div class="form-group">
<label for="template"><?php echo $gsprache->template;?></label>
<select class="form-control" id="template" name="template">
<option id="template1" value="1"><?php echo $shorten;?></option>
<option id="template2" value="2" <?php echo $selected2;?>><?php echo $shorten;?>-2</option>
<option id="template3" value="3" <?php echo $selected3;?>><?php echo $shorten;?>-3</option>
<option value="4"><?php echo $gsprache->all;?></option>
</select>
</div>
<div class="form-group">
<label><?php echo $sprache->type;?></label>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
<input type="radio" name="options" value="N" onchange="$('#type').val(this.value);" checked> <?php echo $sprache->resync;?>
</label>
<label class="btn btn-primary">
<input type="radio" name="options" value="Y" onchange="$('#type').val(this.value);"> <?php echo $sprache->reinstall;?>
</label>
</div>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-play-circle"></i> <?php echo $gsprache->exec;?></button>
</div>
</form>
</div>
</section>
<script type="text/javascript">
function toggleTemplates () {
var shorten = $('#game').find(':selected').data('shorten');
$('#template1').text(shorten);
$('#template2').text(shorten + '-2');
$('#template3').text(shorten + '-3');
}
</script>

View File

@ -1,261 +0,0 @@
<!DOCTYPE html>
<html dir="ltr" lang="<?php echo $user_language;?>">
<head>
<?php if(isset($header)) echo $header; ?>
<meta charset="UTF-8">
<title><?php if(isset($ewCfg['title'])) echo $ewCfg['title']; ?></title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<meta name="robots" content="index,follow,noodp,noydir" />
<meta name="description" content="">
<meta name="author" content="2012 - <?php echo date('Y'); ?> <?php if(isset($ewCfg['title'])) echo $ewCfg['title']; ?>">
<!-- bootstrap 3.0.2 -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- font Awesome -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
<!-- Ionicons -->
<link href="//cdn.jsdelivr.net/ionicons/1.4.1/css/ionicons.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="css/adminlte/AdminLTE.css" rel="stylesheet" type="text/css" />
<?php echo implode('',$htmlExtraInformation['css']);?>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body class="skin-blue" <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<!-- header logo: style can be found in header.less -->
<header class="header">
<a href="https://easy-wi.com" class="logo" target="_blank">
<!-- Add the class icon to your logo image or logo icon to add the margining -->
<img src="images/logo_180px.png" title="Easy-Wi" width="32">
Easy-Wi
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="navbar-right">
<div class="nav navbar-btn pull-right">
<a href="login.php?w=lo"><span class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> Logout</span></a>
</div>
<ul class="nav navbar-nav">
<?php if($statsArray['ticketsTotal']>0){ ?>
<!-- Messages: style can be found in dropdown.less-->
<li class="dropdown messages-menu">
<a href="userpanel.php?w=ti" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-life-ring"></i>
<span class="label label-success"><?php echo $statsArray['ticketsTotal'];?></span>
</a>
</li>
<?php } ?>
<?php if($statsArray['warningTotal']>0){ ?>
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-warning"></i>
<span class="label label-danger"><?php echo $statsArray['warningTotal'];?></span>
</a>
<ul class="dropdown-menu">
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu">
<?php if($statsArray['gameserverNotRunning']>0){ ?><li><a href="userpanel.php?w=gs&amp;d=md"><i class="fa fa-warning danger"></i> <?php echo $statsArray['gameserverNotRunning'].' '.$sprache_bad->gserver_crashed;?></a></li><?php }?>
<?php if($statsArray['gameserverNoPassword']>0){ ?><li><a href="userpanel.php?w=gs&amp;d=md"><i class="fa fa-warning warning"></i> <?php echo $statsArray['gameserverNoPassword'].' '.$sprache_bad->gserver_removed;?></a></li><?php }?>
<?php if($statsArray['gameserverNoTag']>0){ ?><li><a href="userpanel.php?w=gs&amp;d=md"><i class="fa fa-warning warning"></i> <?php echo $statsArray['gameserverNoTag'].' '.$sprache_bad->gserver_tag_removed;?></a></li><?php }?>
<?php if($statsArray['voiceserverCrashed']>0){ ?><li><a href="userpanel.php?w=vo&amp;d=md"><i class="fa fa-warning danger"></i> <?php echo $statsArray['voiceserverCrashed'].' '.$sprache_bad->voice_crashed;?></a></li><?php }?>
</ul>
</li>
</ul>
</li>
<?php } ?>
<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="glyphicon glyphicon-user"></i>
<span><?php echo $great_user;?> <i class="caret"></i></span>
</a>
<ul class="dropdown-menu">
<li><a href="#"><?php echo $gsprache->last.'<br />'.$great_last;?></a></li>
<li class="divider"></li>
<?php if ($support_phonenumber!="") echo '<li><a href="#"><i class="fa fa-phone fa-fw"></i> '.$gsprache->hotline.": ".$support_phonenumber.'</a></li><li class="divider"></li>';?>
<li><a href="userpanel.php?w=se&amp;d=pw"><i class="fa fa-key fa-fw"></i> <?php echo $gsprache->password." ".$gsprache->change;?></a></li>
<li><a href="userpanel.php?w=se"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
<li class="divider"></li>
<li><a href="https://easy-wi.com" target="_blank"><i class="fa fa-info-circle fa-fw"></i> About</a></li>
<li><a href="https://easy-wi.com/forum/" target="_blank"><i class="fa fa-comments fa-fw"></i> Forum</a></li>
<li><a href="https://easy-wi.com/de/handbuch/" target="_blank"><i class="fa fa-question-circle fa-fw"></i> Wiki</a></li>
<li><a href="https://www.facebook.com/easywi" target="_blank"><i class="fa fa-facebook-square fa-fw"></i> Easy-WI @ Facebook</a></li>
<li><a href="https://twitter.com/EasyWI" target="_blank"><i class="fa fa-twitter fa-fw"></i> Easy-WI @ Twitter</a></li>
<li><a href="https://github.com/easy-wi/developer" target="_blank"><i class="fa fa-github fa-fw"></i> Easy-WI @ Github</a></li>
<li><a href="https://github.com/ValveSoftware/steam-for-linux/issues" target="_blank"><i class="fa fa-bug fa-fw"></i> Steam Bugtracker</a></li>
</ul>
</li>
</ul>
</div>
<div class="navbar-right">
<div class="navbar-text">
<?php foreach ($languages as $language){ echo '<a href="userpanel.php?l='.$language.'"><img src="images/flags/'.$language.'.png" alt="Flag: '.$language.'.png."></a> ';} ?>
</div>
</div>
</nav>
</header>
<div class="wrapper row-offcanvas row-offcanvas-left">
<!-- Left side column. contains the logo and sidebar -->
<aside class="left-side sidebar-offcanvas">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<li class="treeview <?php if(in_array($w,array('da','se','lo','ip','ho','su'))) echo 'active';?>">
<a href="#">
<i class="fa fa-home fa-fw"></i>
<span>Home</span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<li <?php if($w=='da' or $w=='ho') echo 'class="active"';?>><a href="userpanel.php?w=da"><i class="fa fa-angle-double-right"></i> Dashboard</a></li>
<?php if(!isset($_SESSION['sID'])){ ?><li <?php if($w=='su') echo 'class="active"';?>><a href="userpanel.php?w=su"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->substitutes;?></a></li><?php }?>
<li <?php if($w=='lo') echo 'class="active"';?>><a href="userpanel.php?w=lo"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->logs;?></a></li>
<?php if($easywiModules['ip']){ ?><li <?php if($w=='ip') echo 'class="active"';?>><a href="userpanel.php?w=ip"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->imprint;?></a></li><?php }?>
<?php foreach ($customModules['us'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><a href="userpanel.php?w='.$k.'"><i class="fa fa-angle-double-right"></i> '.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php if($easywiModules['ti'] and $pa['usertickets']) { ?>
<li class="treeview <?php if($w=='ti') echo 'active';?>">
<a href="#">
<i class="fa fa-life-ring"></i>
<span><?php echo $gsprache->support;?></span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<li <?php if($w=='ti' and $d!='ad') echo 'class="active"';?>><a href="userpanel.php?w=ti"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->overview;?></a></li>
<li <?php if($w=='ti' and $d=='ad') echo 'class="active"';?>><a href="userpanel.php?w=ti&amp;d=ad"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->support2;?></a></li>
<?php foreach ($customModules['ti'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
<?php if($easywiModules['gs'] and $gscount>0 and $pa['restart']) { ?>
<li class="treeview <?php if(in_array($w,array('gs','gt','fd','ao','ca','bu','ms','pr'))) echo 'active';?>">
<a href="#">
<i class="fa fa-gamepad"></i> <span><?php echo $gsprache->gameserver;?></span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<?php if($pa['restart']) { ?>
<li <?php if(in_array($w,array('gs','ao','ca','bu','pr'))) echo 'class="active"';?>><a href="userpanel.php?w=gs"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->overview;?></a></li>
<?php } ?>
<?php if($pa['fastdl']) { ?>
<li <?php if($w=='fd') echo 'class="active"';?>><a href="userpanel.php?w=fd"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->fastdownload;?></a></li>
<?php } ?>
<?php if($pa['restart']) { ?>
<li <?php if($w=='ms') echo 'class="active"';?>><a href="userpanel.php?w=ms"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->migration;?></a></li>
<li <?php if($w=='gt') echo 'class="active"';?>><a href="userpanel.php?w=gt"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->file.' '.$gsprache->template;?></a></li>
<?php } ?>
<?php foreach ($customModules['gs'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
<?php if($easywiModules['vo'] and ($voicecount>0 or $tsdnscount>0) and $pa['voiceserver']) { ?>
<li class="treeview <?php if(in_array($w,array('vo','vu','vd'))) echo 'active';?>">
<a href="#">
<i class="fa fa-microphone"></i> <span><?php echo $gsprache->voiceserver;?></span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<?php if($voicecount>0) { ?><li <?php if($w=='vo') echo 'class="active"';?>><a href="userpanel.php?w=vo"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->overview;?></a></li><?php } ?>
<?php if($voicecount>0) { ?><li <?php if($w=='vu') echo 'class="active"';?>><a href="userpanel.php?w=vu"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->stats;?></a></li><?php } ?>
<?php if($tsdnscount>0) { ?><li <?php if($w=='vd') echo 'class="active"';?>><a href="userpanel.php?w=vd"><i class="fa fa-angle-double-right"></i> TS3 DNS</a></li><?php } ?>
<?php foreach ($customModules['vo'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
<?php if($easywiModules['ws'] and $vhostcount>0 and $pa['webvhost']) { ?>
<li class="treeview <?php if(in_array($ui->smallletters('w',255,'get'),array('wv')) or isset($customModules['ws'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
<a href="#">
<i class="fa fa-cubes"></i> <span><?php echo $gsprache->webspace;?></span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<li <?php if($ui->smallletters('w',255,'get')=='wv') echo 'class="active"';?>><a href="userpanel.php?w=wv"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->overview;?></a></li>
<?php foreach ($customModules['ws'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
<?php if($easywiModules['my'] and $dbcount>0 and ($pa['mysql'] or $pa['mysql'])) { ?>
<li class="treeview <?php if($w=='my') echo 'active';?>">
<a href="#">
<i class="fa fa-database"></i> <span>MySQL</span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<li <?php if($w=='my') echo 'class="active"';?>><a href="userpanel.php?w=my"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->overview;?></a></li>
<?php foreach ($customModules['my'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
<?php if($easywiModules['ro'] and ($virtualcount+$rootcount)>0 and $pa['roots']) { ?>
<li class="treeview <?php if(in_array($w,array('de','vm'))) echo 'active';?>">
<a href="#">
<i class="fa fa-laptop"></i> <span>Rootserver</span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<?php if($rootcount>0) { ?><li <?php if($w=='de') echo 'class="active"';?>><a href="userpanel.php?w=de"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->dedicated;?></a></li><?php } ?>
<?php if($virtualcount>0) { ?><li <?php if($w=='vm') echo 'class="active"';?>><a href="userpanel.php?w=vm"><i class="fa fa-angle-double-right"></i> <?php echo $gsprache->virtual;?></a></li><?php } ?>
<?php foreach ($customModules['ro'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
<?php if(count($customModules['mo'])>0) { ?>
<li class="treeview <?php if(isset($customModules['mo'][$ui->smallletters('w',255,'get')])) echo 'active';?>">
<a href="#">
<i class="fa fa-tasks"></i> <span><?php echo $gsprache->modules;?></span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<?php foreach ($customModules['mo'] as $k => $v) { echo '<li '; echo ($ui->smallletters('w',255,'get')==$k) ? 'class="active"' : ''; echo '><i class="fa fa-angle-double-right"></i> <a href="userpanel.php?w='.$k.'">'.$v.'</a></li>'; }; ?>
</ul>
</li>
<?php } ?>
</ul>
</section>
<!-- /.sidebar -->
</aside>
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side">

View File

@ -1,185 +0,0 @@
<section class="content-header">
<h1>Dashboard</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active">Dashboard</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $gsprache->help_home;?>
</div>
</div>
</div>
<!-- Main row -->
<div class="row">
<?php if($easywiModules['ti'] and $pa['usertickets']) { ?>
<section class="col-md-4">
<div class="box box-info" id="loading-example">
<div class="box-header">
<i class="fa fa-support"></i>
<h3 class="box-title"><?php echo $gsprache->support;?></h3>
</div><!-- /.box-header -->
<div class="box-body no-padding">
<div class="row">
<div class="col-xs-6 text-center" style="border-right: 1px solid #f4f4f4">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['ticketsNew'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['ticketsTotal'];?>" data-fgColor="#00a65a">
<div class="knob-label"><?php echo $statsArray['ticketsNew'].'/'.$statsArray['ticketsTotal'];?> <?php echo $sprache_bad->tickets_new;?></div>
</div><!-- ./col -->
<div class="col-xs-6 text-center">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['ticketsInProcess'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['ticketsTotal'];?>" data-fgColor="#3c8dbc">
<div class="knob-label"><?php echo $statsArray['ticketsInProcess'].'/'.$statsArray['ticketsTotal'];?> <?php echo $sprache_bad->tickets_open;?></div>
</div><!-- ./col -->
</div><!-- /.row - inside box -->
</div><!-- /.box-body -->
</div>
</section>
<?php } ?>
<?php if($easywiModules['ws'] and $vhostcount>0 and $pa['webvhost']) { ?>
<section class="col-md-3">
<div class="box box-info" id="loading-example">
<div class="box-header">
<i class="fa fa-cubes"></i>
<h3 class="box-title"><?php echo $gsprache->webspace;?></h3>
</div><!-- /.box-header -->
<div class="box-body no-padding">
<div class="row">
<div class="col-xs-12 text-center">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['webspaceSpaceUsed'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['webspaceSpaceGivenActive'];?>" data-fgColor="#00a65a">
<div class="knob-label"><?php echo $statsArray['webspaceSpaceUsed'].'/'.$statsArray['webspaceSpaceGivenActive'];?> MB</div>
</div>
</div><!-- /.row - inside box -->
</div><!-- /.box-body -->
</div>
</section>
<?php } ?>
<?php if($easywiModules['my'] and $dbcount>0 and ($pa['mysql'] or $pa['mysql'])) { ?>
<section class="col-md-3">
<div class="box box-info" id="loading-example">
<div class="box-header">
<i class="fa fa-database"></i>
<h3 class="box-title">MySQL</h3>
</div><!-- /.box-header -->
<div class="box-body no-padding">
<div class="row">
<div class="col-xs-12 text-center">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['mysqlDBSpaceUsed'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['mysqlDBSpaceUsed'];?>" data-fgColor="#00a65a">
<div class="knob-label"><?php echo $statsArray['mysqlDBSpaceUsed'];?> MB</div>
</div>
</div><!-- /.row - inside box -->
</div><!-- /.box-body -->
</div>
</section>
<?php } ?>
<?php if($easywiModules['gs'] and $gscount>0 and $pa['restart']) { ?>
<section class="col-md-4">
<!-- Box (with bar chart) -->
<div class="box box-info" id="loading-example">
<div class="box-header">
<i class="fa fa-gamepad"></i>
<h3 class="box-title"><?php echo $gsprache->gameserver;?></h3>
</div><!-- /.box-header -->
<div class="box-body no-padding">
<div class="row">
<div class="col-xs-4 text-center" style="border-right: 1px solid #f4f4f4">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['gameserverSlotsUsed'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['gameserverSlotsActive'];?>" data-fgColor="#00a65a">
<div class="knob-label"><?php echo $statsArray['gameserverSlotsUsed'].'/'.$statsArray['gameserverSlotsActive'];?> <?php echo $sprache_bad->usage_slots;?></div>
</div><!-- ./col -->
<div class="col-xs-4 text-center" style="border-right: 1px solid #f4f4f4">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['gameserverNoTag'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['gameserverActive'];?>" data-fgColor="#f39c12">
<div class="knob-label"><?php echo ($statsArray['gameserverNoTag'] + $statsArray['gameserverNoPassword']).'/'.$statsArray['gameserverActive'];?> Rulebreak</div>
</div><!-- ./col -->
<div class="col-xs-4 text-center">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['gameserverNotRunning'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['gameserverActive'];?>" data-fgColor="#f56954">
<div class="knob-label"><?php echo $statsArray['gameserverNotRunning'].'/'.$statsArray['gameserverActive'];?> <?php echo $sprache_bad->crashed;?></div>
</div><!-- ./col -->
</div><!-- /.row - inside box -->
</div><!-- /.box-body -->
</div>
</section>
<?php } ?>
<?php if($easywiModules['vo'] and ($voicecount>0) and $pa['voiceserver']) { ?>
<section class="col-md-4">
<div class="box box-info" id="loading-example">
<div class="box-header">
<i class="fa fa-microphone"></i>
<h3 class="box-title"><?php echo $gsprache->voiceserver;?></h3>
</div><!-- /.box-header -->
<div class="box-body no-padding">
<div class="row">
<div class="col-xs-4 text-center" style="border-right: 1px solid #f4f4f4">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['voiceserverSlotsUsed'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['voiceserverSlotsActive'];?>" data-fgColor="#00a65a">
<div class="knob-label"><?php echo $statsArray['voiceserverSlotsUsed'].'/'.$statsArray['voiceserverSlotsActive'];?> <?php echo $sprache_bad->usage_slots;?></div>
</div><!-- ./col -->
<div class="col-xs-4 text-center" style="border-right: 1px solid #f4f4f4">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['voiceserverTrafficUsed'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['voiceserverTrafficAllowed'];?>" data-fgColor="#3c8dbc">
<div class="knob-label"><?php echo $statsArray['voiceserverTrafficUsed'].'/'.$statsArray['voiceserverTrafficAllowed'];?> <?php echo $sprache_bad->traffic;?></div>
</div><!-- ./col -->
<div class="col-xs-4 text-center">
<input type="text" class="knob" data-readonly="true" value="<?php echo $statsArray['voiceserverCrashed'];?>" data-width="60" data-height="60" data-min="0" data-max="<?php echo $statsArray['voiceserverActive'];?>" data-fgColor="#f56954">
<div class="knob-label"><?php echo $statsArray['voiceserverCrashed'].'/'.$statsArray['voiceserverActive'];?> <?php echo $sprache_bad->crashed;?></div>
</div><!-- ./col -->
</div><!-- /.row - inside box -->
</div><!-- /.box-body -->
</div>
</section>
<?php } ?>
</div>
<?php if(count($feedArray)>0) { ; echo '<hr>';?>
<!-- row -->
<div class="row">
<div class="col-md-12">
<!-- The time line -->
<ul class="timeline">
<?php foreach ($feedArray as $url => $array) { ?>
<?php foreach ($array as $feed) { ?>
<?php if($lastdate!=$feed['date']){ ?>
<!-- timeline time label -->
<li class="time-label"><span class="bg-green"><?php echo $feed['date'];?></span></li>
<!-- /.timeline-label -->
<?php }; $lastdate=$feed['date'];?>
<!-- timeline item -->
<li>
<i class="fa fa-info bg-blue"></i>
<div class="timeline-item">
<span class="time"><i class="fa fa-clock-o"></i> <?php echo $feed['time'];?></span>
<h3 class="timeline-header"><?php echo $feed['title'];?></h3>
<div class="timeline-body">
<?php echo $feed['text'];?>
</div>
<div class='timeline-footer'>
<a class="btn btn-primary btn-xs" href="<?php echo $feed['link'];?>" target="_blank">Read more</a>
</div>
</div>
</li>
<?php } ?>
<!-- END timeline item -->
<li>
<i class="fa fa-clock-o"></i>
</li>
<?php } ?>
</ul>
</div>
</div>
<?php }?>
</section><!-- /.content -->

View File

@ -1,48 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->logs;?></h1>
<ol class="breadcrumb">
<li><a href="admin.php"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->logs;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_logs;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body table-responsive">
<table id="dataTable" class="table table-bordered table-hover">
<thead>
<tr>
<th><?php echo $sprache->date;?></th>
<th><?php echo $sprache->account;?></th>
<th><?php echo $sprache->action;?></th>
<th><?php echo $sprache->ip;?></th>
</tr>
</thead>
<tfoot>
<tr>
<th><?php echo $sprache->date;?></th>
<th><?php echo $sprache->account;?></th>
<th><?php echo $sprache->action;?></th>
<th><?php echo $sprache->ip;?></th>
</tr>
</tfoot>
</table>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div>
</div>
</section><!-- /.content -->

View File

@ -1,45 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1>MySQL <?php echo $gsprache->databases;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active">MySQL <?php echo $gsprache->databases;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php foreach ($table as $table_row) { ?>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<h4><?php echo $table_row['dbname'].' '.$table_row['description'];?></h4>
<!-- Mysql Buttons -->
<div class="form-group">
<a href="userpanel.php?w=my&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-primary btn-sm"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></span></a>
<?php if(strlen($table_row['interface'])>0){ ?><a href="<?php echo $table_row['interface'];?>" target="_blank"><span class="btn btn-sm btn-primary"><i class="fa fa-hdd-o"></i> phpMyAdmin</span></a><?php }?>
<a href="userpanel.php?w=my&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></span></a>
</div>
<!-- Mysql Details -->
<dl class="dl-horizontal">
<?php if(strlen($table_row['description'])>0){ ?>
<dt><?php echo $sprache->description;?></dt>
<dd><?php echo $table_row['description'];?></dd>
<?php } ?>
<dt><?php echo $sprache->dbname;?></dt>
<dd><?php echo $table_row['dbname'];?></dd>
<dt>IP</dt>
<dd><?php echo $table_row['ip'];?></dd>
<dt>Port</dt>
<dd><?php echo $table_row['port'];?></dd>
<dt><?php echo $sprache->dbSize;?></dt>
<dd><?php echo $table_row['dbSize'];?>MB</dd>
</dl>
</div>
</div>
</div>
</div>
<?php } ?>
</section>

View File

@ -1,47 +0,0 @@
<section class="content-header">
<h1>MySQL <?php echo $gsprache->databases.' '.$gsprache->mod;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=my">MySQL <?php echo $gsprache->databases;?></a></li>
<li class="active"><?php echo $dbname.' ('.$ip.' )';?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=my&amp;id=<?php echo $id;?>&amp;r=my" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input class="input-group-addon" type="hidden" name="action" value="md">
<div class="box-body">
<div class="form-group">
<label for="inputDescription"><?php echo $sprache->description;?></label>
<input class="form-control" id=inputDescription type="text" name="description" value="<?php echo $description;?>">
</div>
<div class="form-group">
<label for="password"><?php echo $sprache->password;?></label>
<input class="form-control" id="password" type="text" name="password" value="<?php echo $password;?>">
</div>
<?php if($manage_host_table == 'Y'){ ?>
<div class="form-group">
<label for="ips"><?php echo $sprache->ips;?></label>
<textarea class="form-control" id="ips" name="ips" rows="5"><?php echo $ips?></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>

View File

@ -1,44 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1>MySQL <?php echo $gsprache->databases.' '.$sprache->reinstall;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=my">MySQL <?php echo $gsprache->databases;?></a></li>
<li><?php echo $sprache->reinstall;?></li>
<li class="active"><?php echo $dbname.' ('.$ip.' )';?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=my&amp;d=ri&amp;id=<?php echo $id;?>&amp;r=my" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="ri">
<div class="box-body">
<dl class="dl-horizontal">
<dt>IP</dt>
<dd><?php echo $ip;?></dd>
<dt><?php echo $sprache->user;?></dt>
<dd><?php echo $dbname;?></dd>
<dt><?php echo $sprache->dbname;?></dt>
<dd><?php echo $dbname;?></dd>
<?php if(strlen($description)>0){ ?>
<dt><?php echo $sprache->description;?></dt>
<dd><?php echo $description;?></dd>
<?php } ?>
</dl>
</div>
<div class="box-footer">
<button class="btn btn-warning" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,39 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->settings.' '.$sprache->passw;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=se"><?php echo $gsprache->settings;?></a></li>
<li class="active"><?php echo $sprache->passw;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=se&amp;d=pw&amp;r=se" 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="password1"><?php echo $sprache->passw_1;?></label>
<input class="form-control" id="password1" type="password" name="password" value="" required>
</div>
<div class="form-group">
<label for="password2"><?php echo $sprache->passw_2;?></label>
<input class="form-control" id="password2" type="password" name="pass2" value="" required>
</div>
</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>

View File

@ -1,40 +0,0 @@
<section class="content-header">
<h1>Rootserver <?php echo $gsprache->dedicated;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li>Rootserver</li>
<li><?php echo $gsprache->dedicated;?></li>
<li class="active"><?php echo $gsprache->overview;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead>
<tr>
<th data-class="expand"><?php echo $sprache->ip;?></th>
<th data-hide="phone,tablet">ID</th>
<th data-hide="phone"><?php echo $gsprache->status;?></th>
<th data-hide="phone"><?php echo $gsprache->jobPending;?></th>
<th><?php echo $sprache->rescue.' / '.$sprache->reinstall;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['ip'];?></td>
<td><?php echo $table_row['id'];?></td>
<td><i class="<?php if($table_row['active']=='Y') echo 'icon-ok'; else if($table_row['active']=='C') echo 'warning-sign'; else echo 'icon-ban-circle';?>"></i></td>
<td><?php echo $table_row['jobPending'];?></td>
<td><a href="userpanel.php?w=de&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</section>

View File

@ -1,71 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->dedicated.' '.$sprache->rescue.' / '.$sprache->reinstall;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=de"><?php echo $gsprache->dedicated;?></a></li>
<li><?php echo $sprache->rescue.' / '.$sprache->reinstall;?></li>
<li class="active"><?php echo $ip;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="col-md-6">
<div class="box box-info">
<div class="box-body">
<?php if(isset($error)){ ?>
<div class="alert alert-danger"><button type="button" class="close" data-dismiss="alert">&times;</button><i class="fa fa-warning"></i> <?php echo $error?></div>
<?php }else{ ?>
<dl class="dl-horizontal">
<dt><?php echo $sprache->status?>:</dt>
<dd><?php echo $status;?></dd>
<dt><?php echo $sprache->description?>:</dt>
<dd><?php echo $description." ".$bitversion;?> Bit</dd>
<dt><?php echo $sprache->initialRescuPass;?>:</dt>
<dd><?php echo $pass;?></dd>
<?php foreach(customColumns('S',$id) as $row){ ?>
<dt><?php echo $row['menu'];?>:</dt>
<dd><?php echo $row['value'];?></dd>
<?php }?>
</dl>
</div>
</div>
</div>
<div class="col-md-6">
<div class="box box-info">
<div class="box-body">
<form role="form" action="userpanel.php?w=de&amp;d=ri&amp;id=<?php echo $id;?>&amp;r=de" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<div class="form-group">
<label for="inputAction"><?php echo $sprache->action?></label>
<div class="controls">
<select class="form-control" id="inputAction" name="action" onchange="SwitchShowHideRows(this.value);">
<?php echo implode('',$option);?>
</select>
</div>
</div>
<?php if($showImages){ ?>
<div class="ri display_none switch form-group warning">
<?php echo $sprache->attention;?>
</div>
<div class="ri display_none switch form-group">
<label class="form-label" for="inputImage"><?php echo $gsprache->template;?></label>
<div class="controls">
<select class="form-control" id="inputImage" name="imageid">
<?php foreach ($templates as $template){ ?>
<option value="<?php echo $template['id']?>"><?php echo $template['description'];?></option>
<?php } ?>
</select>
</div>
</div>
<?php } ?>
<?php }?>
</div>
</div>
<label for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button>
</form>
</div>
</section>

View File

@ -1,39 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->virtual;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->virtual;?></li>
<li class="active"><?php echo $gsprache->overview;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead>
<tr>
<th data-class="expand"><?php echo $sprache->ip;?></th>
<th data-hide="phone,tablet">ID</th>
<th data-hide="phone"><?php echo $gsprache->status;?></th>
<th data-hide="phone"><?php echo $gsprache->jobPending;?></th>
<th><?php echo $sprache->rescue.' / '.$sprache->reinstall;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['ip'];?></td>
<td><?php echo $table_row['id'];?></td>
<td><i class="<?php if($table_row['active']=='Y') echo 'icon-ok'; else if($table_row['active']=='C') echo 'fa fa-warning'; else echo 'fa-ban';?>"></i></td>
<td><?php echo $table_row['jobPending'];?></td>
<td><a href="userpanel.php?w=vm&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</section>

View File

@ -1,69 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->virtual.' '.$sprache->rescue.' / '.$sprache->reinstall;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vm"><?php echo $gsprache->virtual;?></a></li>
<li><?php echo $sprache->rescue.' / '.$sprache->reinstall;?></li>
<li class="active"><?php echo $ip;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="col-md-6">
<div class="box box-info">
<div class="box-body">
<?php if(isset($error)){ ?>
<div class="alert alert-danger"><button type="button" class="close" data-dismiss="alert">&times;</button><i class="fa fa-warning"></i> <?php echo $error?></div>
<?php }else{ ?>
<dl class="dl-horizontal">
<dt><?php echo $sprache->status?>:</dt>
<dd><?php echo $status;?></dd>
<dt><?php echo $sprache->description?>:</dt>
<dd><?php echo $description." ".$bitversion;?> Bit</dd>
<dt><?php echo $sprache->initialRescuPass;?>:</dt>
<dd><?php echo $pass;?></dd>
<?php foreach(customColumns('S',$id) as $row){ ?>
<dt><?php echo $row['menu'];?>:</dt>
<dd><?php echo $row['value'];?></dd>
<?php }?>
</dl>
</div>
</div>
</div>
<div class="col-md-6">
<div class="box box-info">
<div class="box-body">
<form class="form-horizontal" action="userpanel.php?w=vm&amp;d=ri&amp;id=<?php echo $id;?>&amp;r=de" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<div class="control-group">
<label class="control-label" for="inputAction"><?php echo $sprache->action?></label>
<select id="inputAction" name="action" onchange="SwitchShowHideRows(this.value);">
<?php echo implode('',$option);?>
</select>
</div>
<?php if($showImages){ ?>
<div class="ri display_none switch control-group warning">
<?php echo $sprache->attention;?>
</div>
<div class="ri display_none switch control-group">
<label class="control-label" for="inputImage"><?php echo $gsprache->template;?></label>
<select id="inputImage" name="imageid">
<?php foreach ($templates as $template){ ?>
<option value="<?php echo $template['id']?>"><?php echo $template['description'];?></option>
<?php } ?>
</select>
</div>
<?php } ?>
</div>
</div>
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button>
</form>
<?php }?>
</div>
</section>

View File

@ -1,128 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->substitutes;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=su"><?php echo $gsprache->substitutes;?></a></li>
<li class="active"><?php echo $gsprache->add;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=su&amp;d=ad&amp;id=<?php echo $id;?>&amp;r=su" 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="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 echo $gsprache->no;?></option>
</select>
</div>
<div class="form-group">
<label for="inputCname"><?php echo $gsprache->user;?>*</label>
<input id="inputCname" type="text" class="form-control" name="loginName" value="" placeholder="<?php echo $gsprache->user;?>" required>
</div>
<div class="form-group">
<label for="inputFname"><?php echo $sprache->fname;?></label>
<input id="inputFname" type="text" class="form-control" name="name" value="" placeholder="<?php echo $sprache->fname;?>">
</div>
<div class="form-group">
<label for="inputVname"><?php echo $sprache->vname;?></label>
<input id="inputVname" type="text" class="form-control" name="vname" value="" placeholder="<?php echo $sprache->vname;?>">
</div>
<div class="form-group">
<label for="inputPassword"><?php echo $sprache->wipsw;?>*</label>
<input id="inputPassword" type="text" class="form-control" name="security" value="<?php echo $randompass;?>" required>
</div>
<?php if(count($gs)>0){ ?>
<hr>
<h4><?php echo $gsprache->gameserver;?></h4>
<?php foreach($gs as $k=>$v){ ?>
<div class="form-group">
<input id="inputGS-<?php echo $k;?>" type="checkbox" name="gs[]" value="<?php echo $k;?>">
<label for="inputGS-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($wv)>0){ ?>
<hr>
<h4><?php echo $gsprache->webspace;?></h4>
<?php foreach($wv as $k=>$v){ ?>
<div class="form-group">
<input id="inputWeb-<?php echo $k;?>" type="checkbox" name="wv[]" value="<?php echo $k;?>">
<label for="inputWeb-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($vo)>0){ ?>
<hr>
<h4><?php echo $gsprache->voiceserver;?></h4>
<?php foreach($vo as $k=>$v){ ?>
<div class="form-group">
<input id="inputVO-<?php echo $k;?>" type="checkbox" name="vo[]" value="<?php echo $k;?>">
<label for="inputVO-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($vd)>0){ ?>
<hr>
<h4>TS3 DNS</h4>
<?php foreach($vd as $k=>$v){ ?>
<div class="form-group">
<input id="inputVD-<?php echo $k;?>" type="checkbox" name="vd[]" value="<?php echo $k;?>">
<label for="inputVD-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($vs)>0){ ?>
<hr>
<h4><?php echo $gsprache->virtual;?></h4>
<?php foreach($vs as $k=>$v){ ?>
<div class="form-group">
<input id="inputVS-<?php echo $k;?>" type="checkbox" name="vs[]" value="<?php echo $k;?>">
<label for="inputVS-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($ro)>0){ ?>
<hr>
<h4><?php echo $gsprache->dedicated;?></h4>
<?php foreach($ro as $k=>$v){ ?>
<div class="form-group">
<input id="inputRO-<?php echo $k;?>" type="checkbox" name="ro[]" value="<?php echo $k;?>">
<label for="inputRO-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($db)>0){ ?>
<hr>
<h4>MySQL</h4>
<?php foreach($db as $k=>$v){ ?>
<div class="form-group">
<input id="inputDB-<?php echo $k;?>" type="checkbox" name="db[]" value="<?php echo $k;?>">
<label for="inputDB-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
</div><!-- /.box-body -->
<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><!-- /.box -->
</div>
</div>
</section><!-- /.content -->

View File

@ -1,35 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->substitutes;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=su"><?php echo $gsprache->substitutes;?></a></li>
<li><a href="userpanel.php?w=su&amp;d=dl"><?php echo $gsprache->del;?></a></li>
<li class="active"><?php echo $loginName;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=su&amp;d=dl&amp;id=<?php echo $id;?>&amp;r=su" 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 for="inputCname"><i class="fa fa-user"></i> <?php echo $sprache->user;?></label>
<input id="inputCname" type="text" class="form-control" name="loginName" value="<?php echo $loginName;?>" disabled="disabled">
</div>
</div>
<div class="box-footer">
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i> <?php echo $gsprache->del;?></button>
</div>
</form>
</div>
</div>
</div>
</section><!-- /.content -->

View File

@ -1,66 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->substitutes;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->substitutes;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_substitutes_list;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div>
<?php echo $gsprache->substitutes;?> <a href="userpanel.php?w=su&amp;d=ad"<span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></span></a>
</div>
<hr>
<div class="table-responsive">
<table id="dataTable" class="table table-bordered table-striped">
<thead>
<tr>
<th><?php echo $sprache->user;?></th>
<th><?php echo $sprache->active;?></th>
<th><?php echo $gsprache->edit;?></th>
<th><?php echo $gsprache->del;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['loginName'];?></td>
<td><?php echo $table_row['active'];?></td>
<td><a href="userpanel.php?w=su&amp;d=md&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></span></a></td>
<td><a href="userpanel.php?w=su&amp;d=dl&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-danger btn-sm"><i class="fa fa-trash-o"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
<tfoot>
<tr>
<th><?php echo $sprache->user;?></th>
<th><?php echo $sprache->active;?></th>
<th><?php echo $gsprache->edit;?></th>
<th><?php echo $gsprache->del;?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,133 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->substitutes;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=su"><?php echo $gsprache->substitutes;?></a></li>
<li><a href="userpanel.php?w=su"><?php echo $gsprache->mod;?></a></li>
<li class="active"><?php echo $loginName;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form action="userpanel.php?w=su&amp;d=md&amp;id=<?php echo $id;?>&amp;r=su" 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-header">
<h3 class="box-title"><?php echo $loginName;?></h3>
</div>
<div class="box-body">
<div class="form-group">
<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';?>><?php echo $gsprache->no;?></option>
</select>
</div>
<div class="form-group">
<label for="inputCname"><?php echo $gsprache->user;?>*</label>
<input id="inputCname" type="text" class="form-control" name="name" value="<?php echo $loginName;?>">
</div>
<div class="form-group">
<label for="inputFname"><?php echo $sprache->fname;?></label>
<input id="inputFname" type="text" class="form-control" name="name" value="<?php echo $name;?>">
</div>
<div class="form-group">
<label for="inputVname"><?php echo $sprache->vname;?></label>
<input id="inputVname" type="text" class="form-control" name="vname" value="<?php echo $vname;?>">
</div>
<div class="form-group">
<label for="inputPassword"><?php echo $sprache->wipsw;?></label>
<input id="inputPassword" type="text" class="form-control" name="security" value="(encrypted)" required>
</div>
<?php if(count($gs)>0){ ?>
<hr>
<h4><?php echo $gsprache->gameserver;?></h4>
<?php foreach($gs as $k=>$v){ ?>
<div class="form-group">
<input id="inputGS-<?php echo $k;?>" type="checkbox" name="gs[]" value="<?php echo $k;?>" <?php if(isset($as['gs'][$k])) echo 'checked';?>>
<label class="control-label" for="inputGS-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($wv)>0){ ?>
<hr>
<h4><?php echo $gsprache->webspace;?></h4>
<?php foreach($wv as $k=>$v){ ?>
<div class="form-group">
<input id="inputWeb-<?php echo $k;?>" type="checkbox" name="wv[]" value="<?php echo $k;?>" <?php if(isset($as['wv'][$k])) echo 'checked';?>>
<label class="control-label" for="inputWeb-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($vo)>0){ ?>
<hr>
<h4><?php echo $gsprache->voiceserver;?></h4>
<?php foreach($vo as $k=>$v){ ?>
<div class="form-group">
<input id="inputVO-<?php echo $k;?>" type="checkbox" name="vo[]" value="<?php echo $k;?>" <?php if(isset($as['vo'][$k])) echo 'checked';?>>
<label class="control-label" for="inputVO-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($vd)>0){ ?>
<hr>
<h4>TS3 DNS</h4>
<?php foreach($vd as $k=>$v){ ?>
<div class="form-group">
<input id="inputVD-<?php echo $k;?>" type="checkbox" name="vd[]" value="<?php echo $k;?>" <?php if(isset($as['vd'][$k])) echo 'checked';?>>
<label class="control-label" for="inputVD-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($vs)>0){ ?>
<hr>
<h4><?php echo $gsprache->virtual;?></h4>
<?php foreach($vs as $k=>$v){ ?>
<div class="form-group">
<input id="inputVS-<?php echo $k;?>" type="checkbox" name="vs[]" value="<?php echo $k;?>" <?php if(isset($as['vs'][$k])) echo 'checked';?>>
<label class="control-label" for="inputVS-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($ro)>0){ ?>
<hr>
<h4><?php echo $gsprache->dedicated;?></h4>
<?php foreach($ro as $k=>$v){ ?>
<div class="form-group">
<input id="inputRO-<?php echo $k;?>" type="checkbox" name="ro[]" value="<?php echo $k;?>" <?php if(isset($as['ro'][$k])) echo 'checked';?>>
<label class="control-label" for="inputRO-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
<?php if(count($db)>0){ ?>
<hr>
<h4>MySQL</h4>
<?php foreach($db as $k=>$v){ ?>
<div class="form-group">
<input id="inputDB-<?php echo $k;?>" type="checkbox" name="db[]" value="<?php echo $k;?>" <?php if(isset($as['db'][$k])) echo 'checked';?>>
<label class="control-label" for="inputDB-<?php echo $k;?>"><?php echo $v;?></label>
</div>
<?php }}?>
</div><!-- /.box-body -->
<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><!-- /.box -->
</div>
</div>
</section><!-- /.content -->

View File

@ -1,64 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->support;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=ti"><?php echo $gsprache->support;?></a></li>
<li class="active"><?php echo $gsprache->support2;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=ti&amp;d=ad&amp;r=ti" 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="priority"><?php echo $sprache->priority;?></label>
<select class="form-control" id="priority" name="userPriority">
<option value="1"><?php echo $sprache->priority_low;?></option>
<option value="2"><?php echo $sprache->priority_medium;?></option>
<option value="3"><?php echo $sprache->priority_high;?></option>
<option value="4"><?php echo $sprache->priority_very_high;?></option>
<option value="5"><?php echo $sprache->priority_critical;?></option>
</select>
</div>
<div class="form-group">
<label for="topic_maintopic"><?php echo $sprache->topic_name;?></label>
<select class="form-control" id="topic_maintopic" name="maintopic" onchange="getdetails('ajax.php?d=userTicketCategories&amp;topicName=', this.value, 'topic_name_sub')">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['id'];?>" ><?php echo $table_row['topic'];?></option>
<?php } ?>
</select>
</div>
<div class="form-group">
<label for="topic_name_sub"><?php echo $sprache->topic_name_sub;?></label>
<select class="form-control" id="topic_name_sub" name="topic">
<?php foreach ($table2 as $table_row2){ ?>
<option value="<?php echo $table_row2['id'];?>" ><?php echo $table_row2['topic'];?></option>>
<?php } ?>
</select>
</div>
<div class="form-group">
<label for="problem"><?php echo $sprache->problem;?></label>
<textarea class="form-control" id="problem" name="ticket" rows="10"></textarea>
</div>
</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>

View File

@ -1,46 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->support;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=ti"><?php echo $gsprache->support;?></a></li>
<li class="active"><?php echo $sprache->close_heading;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=ti&amp;d=md&amp;id=<?php echo $id;?>&amp;r=ti" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="cl">
<div class="box-body">
<div class="form-group">
<label class="control-label" for="rating"><?php echo $sprache->rating;?></label>
<select class="form-control" id="rating" name="rating">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
</div>
<div class="form-group">
<label class="control-label" for="comment"><?php echo $sprache->comment;?></label>
<textarea class="form-control" id="comment" name="comment" rows="10"></textarea>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-lock"></i> <?php echo $sprache->close_heading;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,68 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->support;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->support;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div>
<h4><?php echo $sprache->status;?></h4>
<a href="<?php echo $ticketLinks['N'];?>"><?php echo $sprache->status_new;?></a><?php if(in_array('N',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
<a href="<?php echo $ticketLinks['P'];?>"><?php echo $sprache->status_process;?></a><?php if(in_array('P',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
<a href="<?php echo $ticketLinks['R'];?>"><?php echo $sprache->status_reopen;?></a><?php if(in_array('R',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
<a href="<?php echo $ticketLinks['A'];?>"><?php echo $sprache->status_author;?></a><?php if(in_array('A',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
<a href="<?php echo $ticketLinks['D'];?>"><?php echo $sprache->status_done;?></a><?php if(in_array('D',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>,
<a href="<?php echo $ticketLinks['C'];?>"><?php echo $sprache->status_confirmed;?></a><?php if(in_array('C',$selected)) { ?> <i class="fa fa-check-square-o"></i><?php }?>
</div>
<hr>
<div class="table-responsive">
<table id="dataTable" class="table table-bordered table-striped">
<thead>
<tr>
<th><?php echo $sprache->subject;?></th>
<th>ID</a></th>
<th><?php echo $sprache->priority;?></th>
<th><?php echo $sprache->edit2;?></th>
<th><?php echo $sprache->status;?></th>
<th><?php echo $sprache->date;?></th>
<th><?php echo $gsprache->mod;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['subject']; ?></td>
<td><?php echo $table_row['id']; ?></td>
<td><?php echo $table_row['priority']; ?></td>
<td><?php echo $table_row['supporter']; ?></td>
<td><?php echo $table_row['status']; ?></td>
<td><?php echo $table_row['writedate']; ?></td>
<td><a href="userpanel.php?w=ti&amp;d=md&amp;id=<?php echo $table_row['id'];?>" alt="modify"><span class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
<tfoot>
<tr>
<th><?php echo $sprache->subject;?></th>
<th>ID</a></th>
<th><?php echo $sprache->priority;?></th>
<th><?php echo $sprache->edit2;?></th>
<th><?php echo $sprache->status;?></th>
<th><?php echo $sprache->date;?></th>
<th><?php echo $gsprache->mod;?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,82 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->support;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->support;?></li>
<li class="active"><?php echo $topic;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-info">
<form role="form" action="userpanel.php?w=ti&amp;d=md&amp;id=<?php echo $id;?>&amp;r=ti" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="wr">
<div class="box-body">
<div class="form-group">
<label for="inputStatus"><?php echo $sprache->status;?></label>
<input id="inputStatus" type="text" class="form-control" placeholder="<?php echo $status;?>" disabled/>
</div>
<?php if($open=="Y") { ?>
<div class="form-group">
<label for="priority"><?php echo $sprache->priority;?></label>
<select class="form-control" id="priority" name="userPriority">
<option value="1"><?php echo $sprache->priority_low;?></option>
<option value="2" <?php if($userPriority==2) echo 'selected="selected"'; ?>><?php echo $sprache->priority_medium;?></option>
<option value="3" <?php if($userPriority==3) echo 'selected="selected"'; ?>><?php echo $sprache->priority_high;?></option>
<option value="4" <?php if($userPriority==4) echo 'selected="selected"'; ?>><?php echo $sprache->priority_very_high;?></option>
<option value="5" <?php if($userPriority==5) echo 'selected="selected"'; ?>><?php echo $sprache->priority_critical;?></option>
</select>
<?php } ?>
</div>
<div class="form-group">
<label for="problem"><?php echo $sprache->answer;?></label>
<textarea class="form-control" id="problem" name="ticket" rows="10"></textarea>
</div>
</div><!-- /.box-body -->
<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><!-- /.box -->
</div><!-- ./col -->
<!-- timeline time label -->
<div class="col-md-6">
<?php foreach ($table as $table_row) { ?>
<ul class="timeline">
<li class="time-label">
<span class="bg-blue">
<?php echo $table_row['writedate'];?>
</span>
</li>
<!-- /.timeline-label -->
<!-- timeline item -->
<li>
<!-- timeline icon -->
<i class="fa fa-envelope bg-blue"></i>
<div class="timeline-item">
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
<div class="timeline-body">
<?php echo $table_row['ticket'];?>
</div>
<div class='timeline-footer'>
</div>
</div>
</li>
</ul>
<?php } ?>
</div>
<!-- END timeline item -->
</div>
</section>

View File

@ -1,65 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->support;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->support;?></li>
<li class="active"><?php echo $topic;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-info">
<div class="box-body">
<dl class="dl-horizontal">
<dt><?php echo $sprache->status;?></dt>
<dd><?php echo $status;?></dd>
<br/>
<dt><?php echo $sprache->priority;?></dt>
<dd><?php echo $priority;?></dd>
<br/>
<?php if($open=="Y") { ?>
<dt><?php echo $gsprache->mod;?></dt>
<dd><a href="userpanel.php?w=ti&d=md&amp;id=<?php echo $id;?>&amp;action=md"><span class="btn btn-primary btn-sm"><i class="fa fa-exchange"></i></a></dd>
<br/>
<dt><?php echo $sprache->close_heading;?></dt>
<dd><a href="userpanel.php?w=ti&d=md&amp;id=<?php echo $id;?>&amp;action=cl"><span class="btn btn-primary btn-sm"><i class="fa fa-lock"></i></span></a></dd>
<br/>
<?php } else if ($open=="D") { ?>
<dt><?php echo $sprache->reopen;?></dt>
<dd><a href="userpanel.php?w=ti&d=md&amp;id=<?php echo $id;?>&amp;action=op&amp;r=ti"><span class="btn btn-primary btn-sm"><i class="fa fa-unlock"></i></a></dd>
<?php } ?>
</dl>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- ./col -->
<div class="col-md-6">
<?php foreach ($table as $table_row) { ?>
<ul class="timeline">
<!-- timeline time label -->
<li class="time-label">
<span class="bg-blue">
<?php echo $table_row['writedate'];?>
</span>
</li>
<!-- /.timeline-label -->
<!-- timeline item -->
<li>
<!-- timeline icon -->
<i class="fa fa-envelope bg-blue"></i>
<div class="timeline-item">
<h3 class="timeline-header"><?php echo $sprache->writer.': '.$table_row['writer'];?> ...</h3>
<div class="timeline-body">
<?php echo $table_row['ticket'];?>
</div>
</div>
</li>
<!-- END timeline item -->
</ul>
<?php } ?>
</div><!-- ./col -->
</div>
</section>

View File

@ -1,116 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->user;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->user;?></li>
<li class="active"><?php echo $gsprache->settings;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-info">
<form role="form" action="userpanel.php?w=se&amp;r=se" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input class="form-control" type="hidden" name="action" value="md">
<div class="box-body">
<h4><strong><?php echo $gsprache->user;?></strong></h4>
<div class="form-group">
<label for="fname"><?php echo $sprache->fname;?></label>
<input class="form-control" id="fname" type="text" name="name" value="<?php echo $name;?>">
</div>
<div class="form-group">
<label for="vname"><?php echo $sprache->vname;?></label>
<input class="form-control" id="vname" type="text" name="vname" value="<?php echo $vname;?>">
</div>
<div class="form-group">
<label for="mail"><?php echo $sprache->email;?>*</label>
<input class="form-control" id="mail" type="email" name="mail" value="<?php echo $mail;?>" required>
</div>
<div class="form-group">
<label for="tel"><?php echo $sprache->tel;?></label>
<input class="form-control" id="tel" type="text" name="phone" value="<?php echo $phone;?>">
</div>
<div class="form-group">
<label for="handy"><?php echo $sprache->han;?></label>
<input class="form-control" id="handy" type="text" name="handy" value="<?php echo $handy;?>">
</div>
<div class="form-group">
<label for="stadt"><?php echo $sprache->stadt;?></label>
<input class="form-control" id="stadt" type="text" name="city" value="<?php echo $city;?>">
</div>
<div class="form-group">
<label for="cityn"><?php echo $sprache->plz;?></label>
<input class="form-control" id="cityn" type="text" name="cityn" value="<?php echo $cityn;?>">
</div>
<div class="form-group">
<label for="street"><?php echo $sprache->str;?></label>
<input class="form-control" id="street" type="text" name="street" value="<?php echo $street;?>">
</div>
<div class="form-group">
<label for="streetn"><?php echo $sprache->hnum;?></label>
<input class="form-control" id="streetn" type="text" name="streetn" value="<?php echo $streetn;?>">
</div>
<h4><strong><?php echo $sprache->email;?></strong></h4>
<div class="form-group">
<input id="mail_backup" type="checkbox" name="mail_backup" value="Y" <?php if ($mail_backup=="Y") echo 'checked="checked"'; ?>>
<label for="mail_backup"><?php echo $sprache->mail_backup;?></label>
</div>
<div class="form-group">
<input id="mail_serverdown" type="checkbox" name="mail_serverdown" value="Y" <?php if ($mail_serverdown=="Y") echo 'checked="checked"'; ?>>
<label for="mail_serverdown"><?php echo $sprache->mail_serverdown;?></label>
</div>
<div class="form-group">
<input id="mail_ticket" type="checkbox" name="mail_ticket" value="Y" <?php if ($mail_ticket=="Y") echo 'checked="checked"'; ?>>
<label for="mail_ticket"><?php echo $sprache->mail_ticket;?></label>
</div>
</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 class="col-md-6">
<div class="box box-info">
<div class="box-body">
<?php if(count($serviceProviders) > 0 ) echo '<h4><strong>Social Auth</strong></h4>';?>
<?php foreach($serviceProviders as $sp){ ?>
<div class="form-group">
<label for="sp<?php echo $sp['sp'];?>"><?php echo $sp['sp'];?></label>
<?php if (strlen($sp['spUserId'])==0){ ?>
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="login.php?serviceProvider=<?php echo $sp['sp'];?>" id="sp<?php echo $sp['sp'];?>">
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialConnect.' '.$sp['sp'];?>
</a>
<?php } else { ?>
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="userpanel.php?w=se&amp;spUser=<?php echo $sp['spUserId'];?>&amp;spId=<?php echo $sp['spId'];?>&amp;r=se" id="sp<?php echo $sp['sp'];?>">
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialRemove.' '.$sp['sp'];?>
</a>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,60 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->user;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->user;?></li>
<li class="active"><?php echo $gsprache->settings;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-6">
<div class="box box-info">
<form role="form" action="userpanel.php?w=se&amp;r=se" 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="fname"><?php echo $sprache->fname;?></label>
<input class="form-control" id="fname" type="text" name="name" value="<?php echo $name;?>">
</div>
<div class="form-group">
<label for="vname"><?php echo $sprache->vname;?></label>
<input class="form-control" id="vname" type="text" name="vname" value="<?php echo $vname;?>">
</div>
</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 class="col-md-6">
<div class="box box-info">
<div class="box-body">
<?php foreach($serviceProviders as $sp){ ?>
<div class="form-group">
<label for="sp<?php echo $sp['sp'];?>"><?php echo $sp['sp'];?></label>
<?php if (strlen($sp['spUserId'])==0){ ?>
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="login.php?serviceProvider=<?php echo $sp['sp'];?>" id="sp<?php echo $sp['sp'];?>">
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialConnect.' '.$sp['sp'];?>
</a>
<?php } else { ?>
<a class="btn btn-block btn-social btn-<?php echo strtolower($sp['sp']);?> span10" href="userpanel.php?w=se&amp;spUser=<?php echo $sp['spUserId'];?>&amp;spId=<?php echo $sp['spId'];?>&amp;r=se" id="sp<?php echo $sp['sp'];?>">
<i class="fa fa-<?php echo strtolower($sp['sp']);?>"></i> <?php echo $sprache->socialRemove.' '.$sp['sp'];?>
</a>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,113 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->voiceserver.' '.$gsprache->stats;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><?php echo $gsprache->stats;?></li>
<li class="active"><?php echo $display;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-4">
<div class="box box-primary">
<form role="form" action="userpanel.php?w=vu" 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="dateRange"><?php echo $sprache->dmy;?></label>
<div class="input-prepend input-group">
<span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span>
<input type="text" name="dateRange" id="dateRange" class="form-control" value="<?php echo $dateRange;?>">
</div>
</div>
<div class="form-group">
<label for="inputFormat"><?php echo $sprache->accuracy;?></label>
<select class="form-control" id="inputFormat" name="accuracy">
<option value="da"><?php echo $sprache->days;?></option>
<option value="mo" <?php if ($accuracy=='mo') echo 'selected="selected"'?>><?php echo $sprache->months;?></option>
</select>
</div>
<div class="form-group">
<label for="inputKind"><?php echo $gsprache->stats;?></label>
<select class="form-control" id="inputKind" name="kind" onchange="getdetails('ajax.php?d=uservoicestats&amp;w=',this.value, 'serverSelect')">
<option value="al"><?php echo $sprache->all;?></option>
<option value="se" <?php if ($kind=='se') echo 'selected="selected"'?>><?php echo $sprache->server;?></option>
</select>
</div>
<div class="form-group" id="serverSelect">
<?php if($ui->st('kind','post') == 'se'){ ?>
<label for="inputSelect"></label>
<select class="form-control" id="inputSelect" name="serverID">
<?php foreach ($data as $value) echo $value;?>
</select>
<?php } ?>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->mod;?></button>
</div>
</form>
</div>
</div>
<div class="col-md-4">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title"><?php echo $voSprache->slots;?></h3>
</div>
<div class="box-body chart-responsive">
<div class="chart" id="slots-chart" style="height: 300px; position: relative;"></div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title"><?php echo $gsprache->traffic;?></h3>
</div>
<div class="box-body chart-responsive">
<div class="chart" id="traffic-chart" style="height: 300px; position: relative;"></div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header">
<h3 class="box-title"><?php echo $voSprache->slots;?></h3>
</div>
<div class="box-body chart-responsive">
<div class="chart" id="slot-usage" style="height: 300px;"></div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title"><?php echo $gsprache->traffic;?></h3>
</div>
<div class="box-body chart-responsive">
<div class="chart" id="traffic-usage" style="height: 300px;"></div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,75 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->voiceserver.' '.$sprache->backup;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><?php echo $sprache->backup;?></li>
<li class="active"><?php echo $server;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_voiceserver_backup;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div>
<a href="userpanel.php?w=vo&amp;d=bu&amp;po=1&amp;id=<?php echo $id;?>"><span class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> <?php echo $sprache->backup ." (".($voice_maxbackup-$backupcount)." ".$sprache->left.")";?></span></a>
</div>
<hr>
<div class="table-responsive">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th><?php echo $sprache->date;?></th>
<th><?php echo $sprache->backupname;?></th>
<th><?php echo $sprache->recover;?></th>
<th><?php echo $gsprache->del;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['date']; ?></td>
<td><?php echo $table_row['name']; ?></td>
<td>
<form method="post" action="userpanel.php?w=vo&amp;d=bu&amp;id=<?php echo $id;?>&amp;r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<button class="btn btn-primary btn-sm" id="inputEdit" type="submit"><i class="fa fa-refresh"></i></button>
<input type="hidden" name="action" value="md" />
<input type="hidden" name="use" value="md" />
<input type="hidden" name="id" value="<?php echo $table_row['id'];?>" />
</form>
</td>
<td>
<form method="post" action="userpanel.php?w=vo&amp;d=bu&amp;id=<?php echo $id;?>&amp;r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
<input type="hidden" name="action" value="md" />
<input type="hidden" name="delete" value="md" />
<input type="hidden" name="id" value="<?php echo $table_row['id'];?>" />
</form>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,50 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->voiceserver.' '.$sprache->backup.' '.$gsprache->add;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><?php echo $sprache->backup.' '.$gsprache->add;?></li>
<li class="active"><?php echo $server;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_voiceserver_backup;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=vo&amp;d=bu&amp;id=<?php echo $id;?>&amp;r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="nb">
<div class="box-body">
<div class="form-group">
<label><?php echo $sprache->backups;?></label>
<input class="form-control" type="text" class="form-control" placeholder="<?php echo $backupcount.'/'.$voice_maxbackup;?>" disabled/>
</div>
<div class="form-group">
<label for="name"><?php echo $sprache->backupname;?></label>
<input class="form-control" id="name" type="text" name="name" placeholder="New Backup" required>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-play"></i> <?php echo $gsprache->exec;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,107 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->voiceserver.' '.$sprache->banAdd;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><?php echo $sprache->banAdd;?></li>
<li class="active"><?php echo $server;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if (isset($error)){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo$error;?>
</div>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=vo&amp;d=bl&amp;e=ad&amp;id=<?php echo $id;?>&amp;r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="ad">
<div class="box-body">
<div class="form-group">
<label for="inputBanType"><?php echo $sprache->banType;?></label>
<select class="form-control" id="inputBanType" name="banType" onchange="SwitchShowHideRows(this.value)">
<option value="U">clientUID</option>
<option value="I"><?php echo $sprache->ip;?></option>
<option value="N"><?php echo $sprache->user;?></option>
</select>
</div>
<div class="U switch form-group">
<label class="control-label" for="inputUser">clientUID</label>
<select class="form-control" id="inputUser" name="clientUID">
<?php foreach($userList as $r) echo '<option value="'.$r['clid'].'">'.$r['client_nickname'].' ('.$r['clid'].')</option>';?>
</select>
</div>
<div class="I switch form-group display_none">
<label for="inputIP"><?php echo $sprache->ip;?></label>
<input class="form-control" id="inputIP" type="text" name="ip">
</div>
<div class="N switch form-group display_none">
<label for="inputIP"><?php echo $sprache->user;?></label>
<input class="form-control" id="inputIP" type="text" name="name">
</div>
<div class="form-group">
<label class="control-label" for="inputTime"><?php echo $sprache->banTime;?> (in <?php echo $sprache->seconds;?>)</label>
<div class="input-append">
<input class="form-control" id="inputTime" type="number" name="time" value="3600">
</div>
</div>
<div class="form-group">
<label for="inputBanReason"><?php echo $sprache->banReason;?></label>
<input class="form-control" id="inputBanReason" type="text" name="banReason" value="Web ban">
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"></i> <?php echo $sprache->ban;?></button>
</div>
</form>
</div>
</div>
</div>
</section>
<script type="text/javascript">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

View File

@ -1,73 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->template;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"> Home</a></i></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><?php echo $sprache->banList;?></li>
<li class="active"><?php echo $server;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div>
<a href="userpanel.php?w=vo&amp;d=bl&amp;e=ad&amp;id=<?php echo $id;?>"><span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $sprache->banAdd;?></span></a>
</div>
<hr>
<div class="box-body table-responsive">
<table id="dataTable" class="table table-bordered table-hover">
<thead>
<tr>
<th><?php echo $sprache->user;?></th>
<th><?php echo $sprache->lastNickname;?></th>
<th><?php echo $sprache->ip;?></th>
<th><?php echo $sprache->duration.' '.$sprache->seconds;?></th>
<th><?php echo $sprache->ends;?></th>
<th><?php echo $sprache->blocked;?></th>
<th><?php echo $gsprache->del;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($banList as $k => $row) { ?>
<tr>
<td><?php echo $row['name'];?></td>
<td><?php echo $row['lastnickname'];?></td>
<td><?php echo $row['ip'];?></td>
<td><?php echo $row['duration'];?></td>
<td><?php echo $row['ends'];?></td>
<td><?php echo $row['blocked'];?></td>
<td>
<form method="post" action="userpanel.php?w=vo&amp;d=bl&amp;id=<?php echo $id;?>&amp;r=vo" name="form" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
<input type="hidden" name="action" value="dl">
<input type="hidden" name="bannID" value="<?php echo $k;?>">
</form>
</td>
</tr>
<?php } ?>
</tbody>
<tfoot>
<tr>
<th><?php echo $sprache->user;?></th>
<th><?php echo $sprache->lastNickname;?></th>
<th><?php echo $sprache->ip;?></th>
<th><?php echo $sprache->duration.' '.$sprache->seconds;?></th>
<th><?php echo $sprache->ends;?></th>
<th><?php echo $sprache->blocked;?></th>
<th><?php echo $gsprache->del;?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,43 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1>TS3 DNS</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active">TS3 DNS</li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php foreach ($table as $row) { ?>
<div class="row">
<div class="col-md-12">
<div class="box box-success">
<div class="box-body">
<dl class="dl-horizontal">
<dt>ID</dt>
<dd><?php echo $row['id'];?></dd>
<dt>TS3 DNS</dt>
<dd><?php echo $row['dns'];?></dd>
<dt><?php echo $sprache->ip; ?></dt>
<dd><?php echo $row['address'];?></dd>
</dl>
<form role="form" action="userpanel.php" method="get">
<input type="hidden" name="w" value="vd">
<input type="hidden" name="d" value="md">
<input type="hidden" name="id" value="<?php echo $row['id'];?>">
<input type="hidden" name="r" value="vd">
<div class="form-group">
<label for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"></i> <?php echo $gsprache->settings.' '.$gsprache->mod;?></button>
</div>
</form>
</div>
</div>
</div>
</div>
<?php } ?>
</section>

View File

@ -1,50 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1>TS3 DNS <?php echo $gsprache->mod;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><a href="userpanel.php?w=vd">TS3 DNS <?php echo $gsprache->mod;?></a></li>
<li class="active"><?php echo $defaultdns; ?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=vd&amp;d=md&amp;id=<?php echo $id;?>&amp;r=vd" 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="defaultDNS"><?php echo $sprache->defaultdns;?></label>
<input id="defaultDNS" type="text" class="form-control" placeholder="<?php echo $defaultdns;?>" disabled/>
</div>
<div class="form-group">
<label for="dns"><?php echo $sprache->dns;?></label>
<input class="form-control" id="dns" type="text" name="dns" value="<?php echo $dns;?>" required>
</div>
<div class="form-group">
<label for="ip"><?php echo $sprache->ip;?></label>
<input class="form-control" id="ip" type="text" name="ip" value="<?php echo $ip;?>" required>
</div>
<div class="form-group">
<label for="port"><?php echo $sprache->port;?></label>
<input class="form-control" id="port" type="text" name="port" value="<?php echo $port;?>" required>
</div>
</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>

View File

@ -1,50 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->voiceserver;?> Token <?php echo $gsprache->add;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><a href="userpanel.php?w=vo&amp;d=pk&amp;id=<?php echo $id;?>">Token</a></li>
<li><?php echo $gsprache->add;?></li>
<li class="active"><?php echo $address;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_voiceserver_key;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=vo&amp;d=pk&amp;id=<?php echo $id;?>&amp;r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="ad">
<div class="box-body">
<div class="form-group">
<label for="groupname"><?php echo $sprache->groupname;?></label>
<select class="form-control" id="groupname" name="group">
<?php foreach ($servergroups as $id => $name) { ?>
<option value="<?php echo $id; ?>"><?php echo $name; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,64 +0,0 @@
<section class="content-header">
<h1><?php echo $gsprache->voiceserver;?> Token</h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li class="active">Token</li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_voiceserver_key;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div>
<a href="userpanel.php?w=vo&amp;d=pk&amp;id=<?php echo $id;?>&amp;po=1"><span class="btn btn-primary"><i class="fa fa-plus"></i> <?php echo $sprache->token;?></span></a>
</div>
<hr>
<div class="table-responsive">
<table id="dataTable" class="table table-bordered table-striped">
<thead>
<tr>
<th><?php echo $sprache->groupname;?></th>
<th><?php echo $sprache->token;?></th>
<th><?php echo $gsprache->del;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($pklist as $token) { ?>
<tr>
<td><?php echo $token['groupname'];?></td>
<td><?php echo $token['token'];?></td>
<td>
<form method="post" action="userpanel.php?w=vo&amp;d=pk&amp;id=<?php echo $id;?>&amp;r=vo" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<input type="hidden" name="token" value="<?php echo $token['token'];?>" >
<input type="hidden" name="action" value="dl" >
<button class="btn btn-danger btn-sm" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i></button>
</form>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,56 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->voiceserver;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->voiceserver;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_voiceserver_list;?>
</div>
</div>
</div>
<!-- Content -->
<?php foreach ($table as $table_row) { ?>
<div class="row">
<div class="col-md-12">
<div class="panel box <?php if($table_row['stopped']=='Y') echo 'box-primary'; else if($table_row['stopped']=='C') echo 'box-danger'; else echo 'box-success';?>">
<div class="box-body">
<!-- Voiceserver Name -->
<h4><?php echo $table_row['server'];?></h4>
<!-- Voiceserver Buttons -->
<div class="form-group">
<a href="userpanel.php?w=vo&amp;d=st&amp;id=<?php echo $table_row['id'];?>&amp;action=re&amp;r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-success"><i class="icon-white icon-play"></i> <?php echo $gsprache->start;?></button></a>
<a href="userpanel.php?w=vo&amp;d=st&amp;id=<?php echo $table_row['id'];?>&amp;action=so&amp;r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_stop;?>');"><button class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> <?php echo $gsprache->stop;?></button></a>
<a href="userpanel.php?w=vo&amp;d=pk&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-key"></i> Token</span></a>
<a href="userpanel.php?w=vo&amp;d=bl&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-ban"></i> <?php echo $sprache->banList;?></span></a>
<?php if($table_row['backup']=='Y'){ ?><a href="userpanel.php?w=vo&amp;d=bu&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-floppy-o"></i> <?php echo $sprache->backup;?></span></a><?php } ?>
<a href="userpanel.php?w=vo&amp;d=md&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></span></a>
<a href="userpanel.php?w=vo&amp;d=rs&amp;id=<?php echo $table_row['id'];?>&amp;action=rs&amp;r=vo" onclick="return confirm('<?php echo $table_row['address'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reset;?></button></a>
</div>
<!-- Voiceserver Details -->
<dl class="dl-horizontal">
<dt>ID</dt>
<dd><?php echo $table_row['virtual_id'];?></dd>
<dt><?php echo $sprache->usage; ?></dt>
<dd><?php echo $table_row['usage'];?></dd>
<dt>Uptime</dt>
<dd><?php echo $table_row['uptime'];?></dd>
<dt>Traffic</dt>
<dd><?php echo $table_row['filetraffic'].'/'.$table_row['maxtraffic'];?> MB</dd>
</dl>
</div>
</div>
</div>
</div>
<?php } ?>
</section>

View File

@ -1,135 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->voiceserver.' '.$gsprache->mod;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=vo"><?php echo $gsprache->voiceserver;?></a></li>
<li><?php echo $gsprache->mod;?></li>
<li class="active"><?php echo $ip.':'.$port;?> <?php if ($usedns=='Y') echo $dns;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_voiceserver_md;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=vo&amp;d=md&amp;id=<?php echo $id;?>&amp;r=vo" 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">
<?php if ($usedns=='Y'){ ?>
<div class="form-group">
<label for="defaultdns"><?php echo $sprache->defaultdns;?></label>
<input class="form-control" id="defaultdns" type="text" name="defaultdns" value="<?php echo $defaultdns; ?>" disabled>
</div>
<div class="form-group">
<label for="dns"><?php echo $sprache->dns;?></label>
<input class="form-control" id="dns" type="text" name="dns" value="<?php echo $dns; ?>">
</div>
<?php } ?>
<div class="form-group">
<label for="initialpassword"><?php echo $sprache->initialpassword;?></label>
<input class="form-control" id="initialpassword" type="text" name="initialpassword" value="<?php echo $initialpassword; ?>" <?php if ($password=='Y') echo 'required';?>>
</div>
<div class="form-group">
<label for="virtualserver_reserved_slots"><?php echo $sprache->virtualserver_reserved_slots;?></label>
<input class="form-control" id="virtualserver_reserved_slots" type="text" name="virtualserver_reserved_slots" value="<?php echo $virtualserver_reserved_slots;?>">
</div>
<div class="form-group">
<label for="name"><?php echo $sprache->name;?></label>
<input class="form-control" id="name" type="text" name="name" value="<?php echo $name; ?>">
</div>
<div class="form-group">
<label for="welcome"><?php echo $sprache->welcome;?></label>
<input class="form-control" id="welcome" type="text" name="welcome" value="<?php echo $welcome; ?>"<?php if ($forcewelcome=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="hostbanner_url"><?php echo $sprache->hostbanner_url;?></label>
<input class="form-control" id="hostbanner_url" type="text" name="hostbanner_url" value="<?php echo $hostbanner_url; ?>" <?php if ($forcebanner=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="hostbanner_gfx_url"><?php echo $sprache->hostbanner_gfx_url;?></label>
<input class="form-control" id="hostbanner_gfx_url" type="text" name="hostbanner_gfx_url" value="<?php echo $hostbanner_gfx_url; ?>"<?php if ($forcebanner=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="virtualserver_hostbanner_gfx_interval"><?php echo $sprache->virtualserver_hostbanner_gfx_interval;?></label>
<input class="form-control" id="virtualserver_hostbanner_gfx_interval" type="text" name="virtualserver_hostbanner_gfx_interval" value="<?php echo $virtualserver_hostbanner_gfx_interval;?>" <?php if ($forcebanner=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="hostbutton_url"><?php echo $sprache->hostbutton_url;?></label>
<input class="form-control" id="hostbutton_url" type="text" name="hostbutton_url" value="<?php echo $hostbutton_url; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="hostbutton_gfx_url"><?php echo $sprache->hostbutton_gfx_url;?></label>
<input class="form-control" id="hostbutton_gfx_url" type="text" name="hostbutton_gfx_url" value="<?php echo $hostbutton_gfx_url; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="hostbutton_tooltip"><?php echo $sprache->hostbutton_tooltip;?></label>
<input class="form-control" id="hostbutton_tooltip" type="text" name="hostbutton_tooltip" value="<?php echo $hostbutton_tooltip; ?>" <?php if ($forcebutton=='Y') echo 'disabled';?>>
</div>
<div class="form-group">
<label for="virtualserver_hostmessage_mode"><?php echo $sprache->virtualserver_hostmessage_mode;?></label>
<select class="form-control" id="virtualserver_hostmessage_mode" name="virtualserver_hostmessage_mode">
<option value="0"><?php echo $sprache->virtualserver_hostmessage_mode_0;?></option>
<option value="1" <?php if($virtualserver_hostmessage_mode==1) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_1;?></option>
<option value="2" <?php if($virtualserver_hostmessage_mode==2) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_2;?></option>
<option value="3" <?php if($virtualserver_hostmessage_mode==3) echo 'selected="selected"';?>><?php echo $sprache->virtualserver_hostmessage_mode_3;?></option>
</select>
</div>
<div class="form-group">
<label for="virtualserver_needed_identity_security_level"><?php echo $sprache->virtualserver_needed_identity_security_level;?></label>
<input class="form-control" id="virtualserver_needed_identity_security_level" type="text" name="virtualserver_needed_identity_security_level" value="<?php echo $virtualserver_needed_identity_security_level;?>">
</div>
<div class="form-group">
<label for="virtualserver_antiflood_points_tick_reduce"><?php echo $sprache->virtualserver_antiflood_points_tick_reduce;?></label>
<input class="form-control" id="virtualserver_antiflood_points_tick_reduce" type="text" name="virtualserver_antiflood_points_tick_reduce" value="<?php echo $virtualserver_antiflood_points_tick_reduce;?>">
</div>
<div class="form-group">
<label for="virtualserver_antiflood_points_needed_command_block"><?php echo $sprache->virtualserver_antiflood_points_needed_command_block;?></label>
<input class="form-control" id="virtualserver_antiflood_points_needed_command_block" type="text" name="virtualserver_antiflood_points_needed_command_block" value="<?php echo $virtualserver_antiflood_points_needed_command_block;?>">
</div>
<div class="form-group">
<label for="virtualserver_antiflood_points_needed_ip_block"><?php echo $sprache->virtualserver_antiflood_points_needed_ip_block;?></label>
<input class="form-control" id="virtualserver_antiflood_points_needed_ip_block" type="text" name="virtualserver_antiflood_points_needed_ip_block" value="<?php echo $virtualserver_antiflood_points_needed_ip_block;?>">
</div>
</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>

View File

@ -1,49 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->webspace.' '.$gsprache->fdlInfo;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=wv"><?php echo $gsprache->webspace;?></a></li>
<li><?php echo $sprache->fdlInfo;?></li>
<li class="active"><?php echo $dns;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl_attention;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div class="form-group">
<label for="textarea"><?php echo $sprache->help_fdl_hl;?></label>
<textarea id="textarea" class="form-control" rows="4"><?php echo $hlCfg;?></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<div class="form-group">
<label for="cfg"><?php echo $sprache->help_fdl_cod;?></label>
<textarea id="cfg" class="form-control" rows="4"><?php echo $codCfg;?></textarea>
</div>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,48 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->webspace;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->webspace;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php foreach ($table as $table_row) { ?>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<h4><?php echo $table_row['dns'];?></h4>
<!-- Webspace Buttons -->
<div class="form-group">
<a href="userpanel.php?w=wv&amp;d=pw&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-lock"></i> <?php echo $sprache->ftpPassword;?></span></a>
<?php if($table_row['usageType']=='F'){ ?><a href="userpanel.php?w=wv&amp;d=if&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-info"><i class="fa fa-info-circle"></i> <?php echo $sprache->fdlInfo;?></button></a><?php }?>
<a href="userpanel.php?w=wv&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $dedicatedLanguage->reinstall;?></button></a>
<!--<a href="userpanel.php?w=wv&amp;d=bu&amp;id=<?php echo $table_row['id'];?>"><span class="btn btn-sm btn-primary"><i class="fa fa-floppy-o"></i> <?php echo $sprache->backup;?></span></a>-->
</div>
<!-- Webspace Details -->
<dl class="dl-horizontal">
<?php if($table_row['quotaActive']=='Y'){ ;?>
<dt><?php echo $sprache->usage;?></dt>
<dd><?php echo $table_row['hddUsage'];?>MB</dd>
<dt><?php echo $sprache->hdd;?></dt>
<dd><?php echo $table_row['hdd'];?>MB</dd>
<?php }?>
<dt><?php echo $gsSprache->ftp_link;?></dt>
<dd><a href="ftp://<?php echo $table_row['ftpUser'].':'.$table_row['ftpPass'].'@'.$table_row['ftpIP'].':'.$table_row['ftpPort'];?>">ftp://<?php echo $table_row['ftpUser'].':'.$table_row['ftpPass'].'@'.$table_row['ftpIP'].':'.$table_row['ftpPort'];?></a></dd>
<dt><?php echo $sprache->ftpIP;?></dt>
<dd>ftp://<?php echo $table_row['ftpIP'].':'.$table_row['ftpPort'];?></dd>
<dt><?php echo $gsSprache->ftp_user;?></dt>
<dd><?php echo $table_row['ftpUser'];?></dd>
<dt><?php echo $sprache->ftpPassword;?></dt>
<dd><?php echo $table_row['ftpPass'];?></dd>
</dl>
</div>
</div>
</div>
</div>
<?php } ?>
</section>

View File

@ -1,57 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->webspace.' '.$sprache->ftpPassword;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=wv"><?php echo $gsprache->webspace;?></a></li>
<li><?php echo $sprache->ftpPassword;?></li>
<li class="active"><?php echo $dns;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=wv&amp;d=pw&amp;id=<?php echo $id;?>&amp;r=wv" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="pw">
<div class="box-body">
<div class="form-group">
<label for="inputPassword1"><?php echo $sprache->ftpPassword;?></label>
<input class="form-control" id="inputPassword1" type="password" name="password1" value="" maxlength="40">
</div>
<div class="form-group">
<label for="inputPassword2"><?php echo $sprache->ftpPasswordRepeat;?></label>
<input class="form-control" id="inputPassword2" type="password" name="password2" value="" maxlength="40">
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-save"></i> <?php echo $gsprache->save;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,36 +0,0 @@
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->webspace.' '.$dedicatedLanguage->reinstall;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=wv"><?php echo $gsprache->webspace;?> Vhost</a></li>
<li><?php echo $dedicatedLanguage->reinstall;?></li>
<li class="active"><?php echo $dns;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=wv&amp;d=ri&amp;id=<?php echo $id;?>&amp;r=wv" onsubmit="return confirm('<?php echo $gsprache->sure; ?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="ri">
<div class="box-body">
<div class="form-group">
<label for="dns"><?php echo $sprache->dns?></label>
<input id="dns" class="form-control" value="<?php echo $dns;?>" disabled>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-refresh"></i> <?php echo $dedicatedLanguage->reinstall;?></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,4 +1,2 @@
<label class="control-label" for="inputMapGroup"><?php echo $sprache->startmapgroup;?></label>
<div class="controls">
<input id="inputMapGroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>" >
</div>
<label for="inputMapGroup"><?php echo $sprache->startmapgroup;?></label>
<input class="form-control" id="inputMapGroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>" >

View File

@ -1,5 +1,3 @@
<select id="topic_name" name="topic" class="span10">
<?php foreach ($table as $row){ ?>
<option value="<?php echo $row['id'];?>" ><?php echo $row['topic'];?></option>
<?php } ?>
</select>
<?php foreach($table as $k=>$v){ ?>
<option value="<?php echo $k;?>" ><?php echo $v;?></option>>
<?php } ?>

View File

@ -1,9 +1,6 @@
<?php
if ($w!='al') {
echo '<select name="what">';
foreach ($data as $value) echo $value;
echo '</select>';
} else {
echo '';
}
?>
<?php if($ui->st('w','get')=='se'){ ?>
<label for="inputSelect"></label>
<select class="form-control" id="inputSelect" name="serverID">
<?php foreach ($data as $value) echo $value;?>
</select>
<?php } ?>

View File

@ -1,98 +1,100 @@
<!DOCTYPE html>
<html>
<html class="bg-black">
<head>
<?php if(isset($header)) echo $header; ?>
<title><?php if(isset($title)) echo $title; ?></title>
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
<meta name="robots" content="noindex" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="//netdna.bootstrapcdn.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<meta charset="UTF-8">
<?php if(isset($header)) echo $header;?>
<title><?php if(isset($title)) echo $title;?></title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link rel="shortcut icon" href="images/favicon.png" type="image/png">
<meta name="robots" content="noindex">
<!-- bootstrap 3.1.1 -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- font Awesome -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
<!-- Theme style -->
<link href="css/adminlte/AdminLTE.css" rel="stylesheet" type="text/css" />
<?php echo implode('',$htmlExtraInformation['css']);?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/2.3.2/js/bootstrap.min.js"></script>
<style type="text/css">
body { padding-top: 40px;padding-bottom: 40px;background-color: #f5f5f5;}
.form-signin { max-width: <?php echo (count($serviceProviders)==0) ? '300px':'450px';?>;padding: 19px 29px 29px;margin: 0 auto 20px;background-color: #fff;border: 1px solid #e5e5e5;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);box-shadow: 0 1px 2px rgba(0,0,0,.05);}
.form-signin .form-signin-heading,
.form-signin .checkbox { margin-bottom: 10px;}
.checkbox { margin-bottom: 10px;text-align: right;}
.form-signin input[type="text"],
.form-signin input[type="password"] { margin-bottom: 15px;padding: 7px 9px;}
</style>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<?php echo implode('',$htmlExtraInformation['js']);?>
</head>
<body <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<div class="container">
<form class="form-signin" action="login.php" method="post">
<?php if (isset($sus)) { ?>
<h2 class="form-signin-heading"><?php echo $sprache->sus_heading;?></h2>
<label class="checkbox">
<?php echo $sus;?>
</label>
<?php } else { ?>
<h2 class="form-signin-heading"><?php echo $sprache->heading;?></h2>
<?php if(isset($header)) echo '<div class="alert">'.$text.'</div>'; ?>
<div class="row-fluid">
<div class="span6">
<div class="control-group">
<div class="controls">
<label class="control-label" for="inputUser"></label>
<div class="input-prepend">
<span class="add-on"><i class="icon-user"></i></span>
<input name="username" id="inputUser" type="text" class="input-block-level" placeholder="<?php echo $sprache->user;?>" required >
</div>
</div>
<body class="bg-black" <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<div class="form-box" id="login-box">
<?php if (isset($sus)) { ?>
<div class="alert alert-danger alert-dismissable">
<i class="fa fa-warning"></i>
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $sprache->sus_heading;?></b> <?php echo $sus;?>
</div>
<?php } else { ?>
<div class="header"><?php echo $sprache->heading;?></div>
<?php if(isset($header)){ ?>
<div class="box box-info">
<div class="alert alert-danger">
<p><?php echo $text;?></p>
</div>
<div class="control-group">
<div class="controls">
<label class="control-label" for="inputPassword"></label>
<div class="input-prepend">
<span class="add-on"><i class="icon-lock"></i></span>
<input name="password" id="inputPassword" type="password" class="input-block-level" placeholder="<?php echo $sprache->password;?>" required >
</div>
</div>
</div>
<?php } ?>
<form action="login.php" method="post">
<div class="body bg-gray">
<div class="form-group">
<input type="text" id="inputUser" name="username" class="form-control" placeholder="<?php echo $sprache->user;?>" required>
</div>
<div class="form-group">
<input type="password" id="inputPassword" name="password" class="form-control" placeholder="<?php echo $sprache->password;?>" required>
</div>
<?php if ($ewCfg['captcha']==1) { ?>
<div class="control-group">
<label class="control-label" for="inputCaptcha"></label>
<div class="controls">
<div class="input-prepend">
<span class="add-on"><img src="images.php" alt="Captcha" /></span>
<input name="captcha" id="inputCaptcha" type="text" class="input-block-level" placeholder="Captcha" pattern="^[\w]{4}$" required >
</div>
</div>
</div>
<?php } ?>
<div class="hide" aria-hidden="true">
<input type="text" name="email">
</div>
<div class="row-fluid pull-left">
<a class="btn" href="login.php?w=pr" >Lost PW</a>
<button class="btn btn-primary">Login</button>
<div class="form-group input-group">
<span class="input-group-addon"><img src="images.php" alt="Captcha" /></span>
<input name="captcha" type="text" class="form-control" placeholder="Captcha" pattern="^[\w]{4}$" required>
</div>
<?php } ?>
<button type="submit" class="btn bg-blue btn-block">Login</button>
</div>
<div class="span6">
<?php foreach($serviceProviders as $k=>$css){ ?>
<a class="btn btn-block btn-social btn-<?php echo $css;?>" href="login.php?serviceProvider=<?php echo $k;?>">
<i class="fa fa-<?php echo $css;?>"></i> Sign in with <?php echo $k;?>
</a>
<div class="footer">
<?php if(count($serviceProviders)>0){ ?>
<div class="margin text-center">
<span>Sign in using social networks</span>
<br/>
<?php foreach($serviceProviders as $k=>$css){ ?>
<a href="login.php?serviceProvider=<?php echo $k;?>"><button class="btn bg-light-blue btn-circle btn-<?php echo $css;?>"><i class="fa fa-<?php echo $css;?>"></i></button></a>
<?php } ?>
</div>
<?php } ?>
<div class="margin">
<p><a href="login.php?w=pr">Lost PW</a></p>
</div>
</div>
</div>
<hr>
<div>
&copy; <a href="https://easy-wi.com" target="_blank" title="free gameserver, voiceserver, dedicated and virtualserver webinterface easy-wi.com">Easy-WI.com</a> 2011 - <?php echo date('Y'); ?>
</div>
</form>
</form>
<?php }?>
<div>
&copy; <a href="https://easy-wi.com" target="_blank" title="free gameserver, voiceserver, dedicated and virtualserver webinterface easy-wi.com">Easy-WI.com</a> 2011 - <?php echo date('Y'); ?>
</div>
</div>
<!-- jQuery 2.0.2 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>

View File

@ -1,50 +1,72 @@
<!DOCTYPE html>
<html>
<html class="bg-black">
<head>
<?php if(isset($header)) echo $header; ?>
<title><?php if(isset($title)) echo $title; ?></title>
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
<meta name="robots" content="noindex" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="//netdna.bootstrapcdn.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<meta charset="UTF-8">
<?php if(isset($header)) echo $header;?>
<title><?php if(isset($title)) echo $title;?></title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<link rel="shortcut icon" href="images/favicon.png" type="image/png">
<meta name="robots" content="noindex">
<!-- bootstrap 3.0.2 -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- font Awesome -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet">
<!-- Theme style -->
<link href="css/adminlte/AdminLTE.css" rel="stylesheet" type="text/css" />
<?php echo implode('',$htmlExtraInformation['css']);?>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/2.3.2/js/bootstrap.min.js"></script>
<style type="text/css">
body { padding-top: 40px;padding-bottom: 40px;background-color: #f5f5f5;}
.form-signin { max-width: 500px;padding: 19px 29px 29px;margin: 0 auto 20px;background-color: #fff;border: 1px solid #e5e5e5;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);box-shadow: 0 1px 2px rgba(0,0,0,.05);}
.form-signin .form-signin-heading { margin-bottom: 10px;}
</style>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<?php echo implode('',$htmlExtraInformation['js']);?>
</head>
<body <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<div class="container">
<div class="form-signin">
<h2 class="form-signin-heading"><?php echo $sprache->multipleHeader; ?></h2>
<div class="alert alert-info"><button type="button" class="close" data-dismiss="alert">&times;</button><?php echo $sprache->multipleHelper; ?></div>
<div class="row-fluid">
<ul class="nav nav-tabs nav-stacked">
<?php foreach($connectedUsers as $k=>$v){ ?>
<li><a href="login.php?serviceProvider=<?php echo $serviceProvider;?>&amp;loginUserId=<?php echo $k;?>"><?php echo $v;?></a></li>
<?php }?>
<?php foreach($connectedSubstitutes as $k=>$v){ ?>
<li><a href="login.php?serviceProvider=<?php echo $serviceProvider;?>&amp;loginSubstituteId=<?php echo $k;?>"><?php echo $v;?></a></li>
<?php }?>
</ul>
<body class="bg-black" <?php echo implode(' ',$htmlExtraInformation['body']);?>>
<div class="form-box" id="login-box">
<div class="header"><?php echo $sprache->multipleHeader;?></div>
<div class="body bg-gray">
<div class="callout callout-info">
<?php echo $sprache->multipleHelper;?>
</div>
<hr>
<div>
&copy; <a href="https://easy-wi.com" target="_blank" title="free gameserver, voiceserver, dedicated and virtualserver webinterface easy-wi.com">Easy-WI.com</a> 2011 - <?php echo date('Y'); ?>
<div class="box box-solid">
<div class="box-body">
<ul>
<?php foreach($connectedUsers as $k=>$v){ ?>
<li><a href="login.php?serviceProvider=<?php echo $serviceProvider;?>&amp;loginUserId=<?php echo $k;?>"><?php echo $v;?></a></li>
<?php }?>
<?php foreach($connectedSubstitutes as $k=>$v){ ?>
<li><a href="login.php?serviceProvider=<?php echo $serviceProvider;?>&amp;loginSubstituteId=<?php echo $k;?>"><?php echo $v;?></a></li>
<?php }?>
</ul>
</div>
</div>
</div>
<div class="footer">
&copy; <a href="https://easy-wi.com" target="_blank" title="free gameserver, voiceserver, dedicated and virtualserver webinterface easy-wi.com">Easy-WI.com</a> 2011 - <?php echo date('Y'); ?>
</div>
</div>
<!-- jQuery 2.0.2 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
</body>
</html>

View File

@ -0,0 +1,19 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel"><?php echo $ewCfg['title'] . ' ' . $serverip .':' . $port;?></h4>
</div>
<div class="modal-body">
<?php echo $log;?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-warning" data-dismiss="modal">Close</button>
</div>
</div>
<script type='text/javascript'>
$( ".modal-body" ).ready(function() {
var modalContent = $('.modal-body');
modalContent.css('overflow-y', 'auto');
modalContent.css('max-height', $(window).height() * 0.7);
});
</script>

View File

@ -1,5 +1,7 @@
<div class="row-fluid">
<div class="span12 hero-unit">
<?php if (isset($template_file))echo $template_file; ?>
<section class="content">
<div class="box box-info">
<div class="box-body">
<?php if (isset($template_file))echo $template_file; ?>
</div>
</div>
</div>
</section>

View File

@ -1,48 +1,62 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="<?php echo $targetFile;?>">Home</a> <span class="divider">/</span></li>
<li><a href="<?php echo $targetFile;?>?w=gt"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->add;?></li>
</ul>
</div>
</div>
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="row-fluid">
<div class="span11">
<form class="form-horizontal" action="<?php echo $targetFile;?>?w=gt&amp;d=ad&amp;r=gt" 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="control-group<?php if(isset($errors['name'])) echo ' error';?>">
<label class="control-label" for="inputName"><?php echo $sprache->description;?></label>
<div class="controls"><input id="inputName" type="text" name="name" value="<?php echo $name;?>"></div>
<section class="content-header">
<h1><?php echo $gsprache->template.' '.$gsprache->add;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></a></li>
<li class="active"><?php echo $gsprache->add;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
<div id="mods" class="control-group<?php if(isset($errors['servertype'])) echo ' error';?>">
<label class="control-label" for="inputServertype"><?php echo $sprache->game;?></label>
<div class="controls">
<select id="inputServertype" name="servertype">
</div>
</div>
<?php }?>
<div class="box box-info">
<div class="box-body">
<form role="form" action="<?php echo $targetFile;?>?w=gt&amp;d=ad&amp;r=gt" 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="form-group<?php if(isset($errors['name'])) echo ' error';?>">
<label for="inputName"><?php echo $sprache->description;?></label>
<input class="form-control" id="inputName" type="text" name="name" value="<?php echo $name;?>" required>
</div>
<div id="mods" class="form-group<?php if(isset($errors['servertype'])) echo ' error';?>">
<label for="inputServertype"><?php echo $sprache->game;?></label>
<select class="form-control" id="inputServertype" name="servertype">
<?php foreach ($table as $k=>$v) { ?>
<option value="<?php echo $k;?>" <?php if($k==$servertype) echo 'selected="selected"'; ?>><?php echo $v;?></option>
<?php } ?>
</select>
</div>
</div>
<div class="control-group<?php if(isset($errors['content'])) echo ' error';?>">
<label class="control-label" for="inputContent"><?php echo $gsprache->template;?></label>
<div class="controls"><textarea id="inputContent" class="span12" rows="20" name="content"><?php echo $content;?></textarea></div>
</div>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-plus-sign icon-white"></i></button>
<div class="form-group<?php if(isset($errors['content'])) echo ' error';?>">
<label for="inputContent"><?php echo $gsprache->template;?></label>
<textarea class="form-control" id="inputContent" rows="20" name="content" required><?php echo $content;?></textarea>
</div>
</div>
</form>
<div class="form-group">
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-plus"> <?php echo $gsprache->add;?></i></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,24 +1,32 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="<?php echo $targetFile;?>">Home</a> <span class="divider">/</span></li>
<li><a href="<?php echo $targetFile;?>?w=im"><?php echo $gsprache->template;?></a> <span class="divider">/</span></li>
<li><?php echo $gsprache->del;?> <span class="divider">/</span></li>
<li class="active"><?php echo $name;?></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span6">
<form class="form-horizontal" action="<?php echo $targetFile;?>?w=gt&amp;d=dl&amp;id=<?php echo $id;?>&amp;r=gt" 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="control-group">
<label class="control-label" for="inputEdit"><?php echo $name;?></label>
<div class="controls">
<button class="btn btn-danger pull-left" id="inputEdit" type="submit"><i class="fa fa-trash-o"></i> <?php echo $gsprache->del;?></button>
<section class="content-header">
<h1><?php echo $gsprache->template.' '.$gsprache->del;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="<?php echo $targetFile;?>?w=im"><?php echo $gsprache->template;?></a></li>
<li><?php echo $gsprache->del;?></li>
<li class="active"><?php echo $name;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body">
<form role="form" action="<?php echo $targetFile;?>?w=gt&amp;d=dl&amp;id=<?php echo $id;?>&amp;r=gt" 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="form-group">
<label for="inputName"><?php echo $sprache->description;?></label>
<input class="form-control" id="inputName" type="text" name="name" value="<?php echo $name;?>" disabled="disabled">
</div>
</div>
</form>
<div class="form-group">
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-danger" id="inputEdit" type="submit"><i class="fa fa-trash-o"> <?php echo $gsprache->del;?></i></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,51 +1,52 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="<?php echo $targetFile;?>">Home</a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></li>
</ul>
<section class="content-header">
<h1><?php echo $gsprache->template;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="box box-info">
<div class="box-body">
<div>
<?php echo $gsprache->template;?> <a href="<?php echo $targetFile;?>?w=gt&amp;d=ad"<span class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> <?php echo $gsprache->add;?></span></a>
</div>
<hr>
<div class="table-responsive">
<table id="dataTable" class="table table-bordered table-striped">
<thead>
<tr>
<th><?php echo $sprache->abkuerz;?></th>
<th>ID</th>
<th><?php echo $sprache->game;?></th>
<th><?php echo $gsprache->del;?></th>
<th><?php echo $gsprache->mod;?></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['name'];?></td>
<td><?php echo $table_row['id'];?></td>
<td><?php echo $table_row['servertype'];?></td>
<td><a href="<?php echo $targetFile;?>?w=gt&amp;d=dl&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-sm btn-danger"><i class="fa fa-trash-o"></i></span></a></td>
<td><a href="<?php echo $targetFile;?>?w=gt&amp;d=md&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-sm btn-primary"><i class="fa fa-edit"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
<tfoot>
<tr>
<th><?php echo $sprache->abkuerz;?></th>
<th>ID</th>
<th><?php echo $sprache->game;?></th>
<th><?php echo $gsprache->del;?></th>
<th><?php echo $gsprache->mod;?></th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span6">
<?php echo $gsprache->template;?> <a href="<?php echo $targetFile;?>?w=gt&amp;d=ad"<span class="btn btn-primary btn-mini"><i class="icon-white icon-plus-sign"></i></span></a>
</div>
</div>
<hr>
<div class="row-fluid">
<div class="span11 pagination">
<ul>
<li><a href="<?php echo $targetFile;?>?w=gt&amp;a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&amp;p=<?php echo $zur;?>"><i class="icon-step-backward"></i></a></li>
<li><a href="<?php echo $targetFile;?>?w=gt&amp;o=<?php echo $o;?>&amp;a=20&amp;p=<?php echo $start; ?>">20</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt&amp;o=<?php echo $o;?>&amp;a=50&amp;p=<?php echo $start; ?>">50</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt&amp;o=<?php echo $o;?>&amp;a=100&amp;p=<?php echo $start; ?>">100</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt&amp;a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&amp;p=<?php echo $vor;?>"><i class="icon-step-forward"></i></a></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span11">
<table class="table table-bordered table-hover table-striped footable">
<thead>
<tr>
<th data-class="expand"><a href="<?php echo $targetFile;?>?w=gt&amp;a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&amp;p=<?php echo $start;?>&amp;o=<?php if ($o=='an') { echo 'dn'; } else { echo 'an'; } ?>"><?php echo $sprache->abkuerz;?></a></th>
<th data-hide="phone"><a href="<?php echo $targetFile;?>?w=gt&amp;a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&amp;p=<?php echo $start;?>&amp;o=<?php if ($o=='di') { echo 'ai'; } else { echo 'di'; } ?>">ID</a></th>
<th data-hide="phone"><a href="<?php echo $targetFile;?>?w=gt&amp;a=<?php if(!isset($amount)) echo "20"; else echo $amount; ?>&amp;p=<?php echo $start;?>&amp;o=<?php if ($o=='at') { echo 'dt'; } else { echo 'at'; } ?>"><?php echo $sprache->game;?></a></th>
<th><?php echo $gsprache->del;?></a></th>
<th><?php echo $gsprache->mod;?></a></th>
</tr>
</thead>
<tbody>
<?php foreach ($table as $table_row) { ?>
<tr>
<td><?php echo $table_row['name'];?></td>
<td><?php echo $table_row['id'];?></td>
<td><?php echo $table_row['servertype'];?></td>
<td><a href="<?php echo $targetFile;?>?w=gt&amp;d=dl&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-mini btn-danger"><i class="fa fa-trash-o"></i></span></a></td>
<td><a href="<?php echo $targetFile;?>?w=gt&amp;d=md&amp;id=<?php echo $table_row['id'];?>" ><span class="btn btn-mini btn-primary"><i class="icon-white icon-edit"></i></span></a></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</section>

View File

@ -1,49 +1,61 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="<?php echo $targetFile;?>">Home</a> <span class="divider">/</span></li>
<li><a href="<?php echo $targetFile;?>?w=gt"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></a> <span class="divider">/</span></li>
<li><?php echo $gsprache->mod;?> <span class="divider">/</span></li>
<li class="active"><?php echo $name;?></li>
</ul>
</div>
</div>
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="row-fluid">
<div class="span11">
<form class="form-horizontal" action="<?php echo $targetFile;?>?w=gt&amp;d=md&amp;id=<?php echo $id;?>&amp;r=gt" 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="control-group<?php if(isset($errors['name'])) echo ' error';?>">
<label class="control-label" for="inputName"><?php echo $sprache->description;?></label>
<div class="controls"><input id="inputName" type="text" name="name" value="<?php echo $name;?>"></div>
<section class="content-header">
<h1><?php echo $gsprache->template.' '.$gsprache->mod;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="<?php echo $targetFile;?>?w=gt"><?php echo $gsprache->gameserver.' '.$gsprache->file.' '.$gsprache->template;?></a></li>
<li><?php echo $gsprache->mod;?></li>
<li class="active"><?php echo $name;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
<div id="mods" class="control-group<?php if(isset($errors['servertype'])) echo ' error';?>">
<label class="control-label" for="inputServertype"><?php echo $sprache->game;?></label>
<div class="controls">
<select id="inputServertype" name="servertype">
</div>
</div>
<?php }?>
<div class="box box-info">
<div class="box-body">
<form role="form" action="<?php echo $targetFile;?>?w=gt&amp;d=md&amp;id=<?php echo $id;?>&amp;r=gt" 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="form-group<?php if(isset($errors['name'])) echo ' error';?>">
<label for="inputName"><?php echo $sprache->description;?></label>
<input class="form-control" id="inputName" type="text" name="name" value="<?php echo $name;?>" required>
</div>
<div id="mods" class="form-group<?php if(isset($errors['servertype'])) echo ' error';?>">
<label for="inputServertype"><?php echo $sprache->game;?></label>
<select class="form-control" id="inputServertype" name="servertype">
<?php foreach ($table as $k=>$v) { ?>
<option value="<?php echo $k;?>" <?php if($k==$servertype) echo 'selected="selected"'; ?>><?php echo $v;?></option>
<?php } ?>
</select>
</div>
</div>
<div class="control-group<?php if(isset($errors['content'])) echo ' error';?>">
<label class="control-label" for="inputContent"><?php echo $gsprache->template;?></label>
<div class="controls"><textarea id="inputContent" class="span12" rows="20" name="content"><?php echo $content;?></textarea></div>
</div>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-plus-sign icon-white"></i></button>
<div class="form-group<?php if(isset($errors['content'])) echo ' error';?>">
<label for="inputContent"><?php echo $gsprache->template;?></label>
<textarea class="form-control" id="inputContent" rows="20" name="content" required><?php echo $content;?></textarea>
</div>
</div>
</form>
<div class="form-group">
<label class="control-label" for="inputEdit"></label>
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-edit"> <?php echo $gsprache->mod;?></i></button>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,11 +1,20 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="<?php echo $page_data->pageurl;?>">Home</a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->imprint;?></li>
</ul>
<section class="content-header">
<h1><?php echo $gsprache->imprint;?></h1>
<ol class="breadcrumb">
<li><a href="<?php echo $targetFile;?>"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->imprint;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-body">
<?php echo $imprint;?>
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12"><?php echo $imprint;?></div>
</div>
</section>

View File

@ -1,13 +1,23 @@
</div><!--/span-->
</div><!--/row-->
<hr>
<footer>
<p>&copy; Easy-WI 2011 - <?php echo date('Y'); ?></p>
</footer>
</div><!--/.fluid-container-->
<!-- Placed at the end of the document so the pages load faster -->
<?php if (isset($table['tools'])) { foreach ($table['tools'] as $table_row) { echo '<script>$("#'.$table_row['adid'].'-'.$table['id'].'").tooltip();</script>';}}?>
<?php if (isset($table['maps'])) { foreach ($table['maps'] as $table_row) { echo '<script>$("#'.$table_row['adid'].'-'.$table['id'].'").tooltip();</script>';}}?>
<?php if (isset($initalize)) { foreach ($initalize as $i) { echo '<script>$("#'.$i.'").tooltip();</script>';}}?>
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->
<!-- add new calendar event modal -->
<!-- Easy-Wi -->
<script src="js/adminlte/easy-wi.js" type="text/javascript"></script>
<!-- jQuery UI 1.10.3
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" type="text/javascript"></script> -->
<?php echo implode('',$htmlExtraInformation['js']);?>
<!-- Bootstrap -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js" type="text/javascript"></script>
<!-- AdminLTE App -->
<script src="js/adminlte/app.js" type="text/javascript"></script>
</body>
</html>

View File

@ -1,46 +1,107 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->addon;?> <span class="divider">/</span></li>
<li class="active"><?php echo $table['serverip'].':'.$table['port'];?> <span class="divider">/</span></li>
<li class="active"><?php echo $currentTemplate;?> <span class="divider">/</span></li>
<li class="active"><?php echo $description;?></li>
</ul>
<section class="content-header">
<h1><?php echo $gsprache->addon;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><?php echo $gsprache->addon;?></li>
<li><?php echo $table['serverip'].':'.$table['port'];?></li>
<li><?php echo $currentTemplate;?></li>
<li><?php echo $description;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_addons;?>
</div>
</div>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_addons;?></div>
</div>
<hr>
<div class="row-fluid">
<div class="span8">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr><th colspan="2"><?php echo $sprache->tools;?></th></tr>
</thead>
<tbody>
<?php foreach ($table['tools'] as $table_row) { ?>
<tr>
<td><?php echo $table_row['menudescription'];?> <a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="icon-question-sign"></i></a><?php echo ($table_row['alt']=='Install' or $table_row['alt']=='Remove') ? '': ' '.$table_row['alt'];?></td>
<td class="span1"><a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');"><span class="btn btn-<?php if($table_row['bootstrap']=='icon-warning-sign') echo 'warning'; elseif($table_row['bootstrap']=='icon-plus-sign') echo 'success'; else echo 'danger'; ?> btn-mini"><i class="<?php echo $table_row['bootstrap'];?> icon-white"></i> <?php if($table_row['bootstrap']=='icon-warning-sign') echo ""; elseif($table_row['bootstrap']=='icon-plus-sign') echo $gsprache->add; else echo $gsprache->del; ?></span></a></td>
</tr>
<?php }?>
</tbody>
</table>
<table class="table table-striped table-bordered table-hover">
<thead>
<tr><th colspan="2"><?php echo $sprache->maps;?></th></tr>
</thead>
<tbody>
<?php foreach ($table['maps'] as $table_row) { ?>
<tr>
<td><?php echo $table_row['menudescription'];?> <a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="icon-question-sign"></i></a><?php echo ($table_row['alt']=='Install' or $table_row['alt']=='Remove') ? '': ' '.$table_row['alt'];?></td>
<td class="span1"><a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');"><span class="btn btn-<?php if($table_row['bootstrap']=='icon-warning-sign') echo 'warning'; elseif($table_row['bootstrap']=='icon-plus-sign') echo 'success'; else echo 'danger'; ?> btn-mini"><i class="<?php echo $table_row['bootstrap'];?> icon-white"></i> <?php if($table_row['bootstrap']=='icon-warning-sign') echo ""; elseif($table_row['bootstrap']=='icon-plus-sign') echo $gsprache->add; else echo $gsprache->del; ?></span></a></td>
</tr>
<?php }?>
</tbody>
</table>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title"><?php echo $sprache->tools;?></h3>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<?php foreach ($table['tools'] as $table_row) { ?>
<tr>
<td style="width: 20%">
<?php echo $table_row['menudescription'];?>
<?php if($table_row['addescription']!=''){ ?>
<a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="fa fa-question-circle"></i></a>
<?php }?>
</td>
<td>
<?php if($table_row['action']=='none'){ ?>
<a href="#" id="<?php echo 'requires-'.$table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['alt'];?>">
<span class="btn btn-sm btn-warning">
<i class="fa fa-exclamation-triangle"></i>
</span>
</a>
<?php } else { ?>
<a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');">
<span class="btn btn-sm btn-<?php if($table_row['action']=='ad') echo 'success'; else echo 'danger'; ?>">
<i class="fa <?php if($table_row['action']=='ad') echo 'fa fa-plus-circle'; else echo 'fa-trash-o';?>"></i> <?php echo ($table_row['action']=='ad') ? $gsprache->add : $gsprache->del; ?>
</span>
</a>
<?php } ?>
</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header">
<h3 class="box-title"><?php echo $sprache->maps;?></h3>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<?php foreach ($table['maps'] as $table_row) { ?>
<tr>
<td style="width: 20%">
<?php echo $table_row['menudescription'];?>
<?php if($table_row['addescription']!=''){ ?>
<a href="#" id="<?php echo $table_row['adid'].'-'.$table['id'];?>" data-toggle="tooltip" data-placement="right" title="<?php echo $table_row['addescription'];?>"><i class="fa fa-question-circle"></i></a>
<?php }?>
</td>
<td>
<a href="<?php echo $table_row['link'];?>" onclick="return confirm('<?php echo $gsprache->sure;?>');">
<span class="btn btn-sm btn-<?php if($table_row['action']=='ad') echo 'success'; else echo 'danger'; ?>">
<i class="fa <?php if($table_row['action']=='ad') echo 'fa fa-plus-circle'; else echo 'fa-trash-o';?>"></i> <?php echo ($table_row['action']=='ad') ? $gsprache->add : $gsprache->del; ?>
</span>
</a>
</td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<script type="text/javascript">
$(document).popover({
selector : '.popover-source-dynamic[data-trigger="hover"]',
trigger : 'hover'
});
</script>

View File

@ -1,63 +1,63 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->backup;?> <span class="divider">/</span></li>
<li class="active"><?php echo $serverip.":".$port;?> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->settings;?></li>
</ul>
</div>
</div>
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=bu&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->backup;?></li>
<li><?php echo $serverip.":".$port;?></li>
<li class="active"><?php echo $gsprache->settings;?></li>
</ol>
</section>
<input type="hidden" name="action" value="md2" >
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="control-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label class="control-label" for="input_ftp_adresse"><?php echo $sprache->ftp_adresse;?></label>
<div id="information" class="controls">
<input id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
<div class="box box-info">
<form role="form" action="userpanel.php?w=bu&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="md2">
<div class="box-body">
<?php if (count($errors)>0){ ?>
<div class="alert alert-danger alert-dismissable">
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="form-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label for="input_ftp_adresse"><?php echo $sprache->ftp_adresse;?></label>
<input id="input_ftp_adresse" type="text" class="form-control" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label for="input_ftp_port"><?php echo $sprache->ftp_port;?></label>
<input id="input_ftp_port" type="text" class="form-control" name="ftp_port" value="<?php echo $ftp_port;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label for="input_ftp_user"><?php echo $sprache->ftp_user;?></label>
<input id="input_ftp_user" type="text" class="form-control" name="ftp_user" value="<?php echo $ftp_user;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label for="input_ftp_password"><?php echo $sprache->ftp_password;?></label>
<input id="input_ftp_password" type="text" class="form-control" name="ftp_password" value="<?php echo $ftp_password;?>" required/>
</div>
<div class="form-group<?php if(isset($errors['ftp_path'])) echo ' error';?>">
<label for="input_ftp_path"><?php echo $sprache->ftp_path;?></label>
<input id="input_ftp_path" type="text" class="form-control" name="ftp_path" value="<?php echo $ftp_path;?>" required/>
</div>
</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 class="control-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label class="control-label" for="input_ftp_port"><?php echo $sprache->ftp_port;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
</div>
<div class="control-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label class="control-label" for="input_ftp_user"><?php echo $sprache->ftp_user;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
</div>
<div class="control-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label class="control-label" for="input_ftp_password"><?php echo $sprache->ftp_password;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input_ftp_path"><?php echo $sprache->ftp_path;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,32 +1,37 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->backup;?> <span class="divider">/</span></li>
<li class="active"><?php echo $serverip.":".$port;?> <span class="divider">/</span></li>
<li class="active"><?php echo $sprache->recover;?></li>
</ul>
</div>
</div>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=bu&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<div class="control-group">
<label class="control-label" for="inputTemplate"><?php echo $gsprache->template;?></label>
<div class="controls">
<select name="template" id="inputTemplate">
<?php foreach($shortens as $shorten) { echo '<option>'.$shorten.'</option>'; } ?>
</select>
</div>
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->backup;?></li>
<li><?php echo $serverip.":".$port;?></li>
<li class="active"><?php echo $sprache->recover;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=bu&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="rb2">
<div class="box-body">
<div class="form-group">
<label for="inputTemplate"><?php echo $gsprache->template;?></label>
<select class="form-control" name="template" id="inputTemplate">
<?php foreach($shortens as $shorten) { echo '<option>'.$shorten.'</option>'; } ?>
</select>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputRecover" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->recover;?></button>
</div>
</form>
</div>
<div class="control-group">
<label class="control-label" for="inputRecover"> </label>
<div class="controls">
<input type="hidden" name="action" value="rb2" />
<button class="btn btn-primary" id="inputRecover" type="submit"><i class="fa fa-refresh"></i> <?php echo $sprache->recover;?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,116 +1,140 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $sprache->restarttime;?> <span class="divider">/</span></li>
<li class="active"><?php echo $serverip.":".$port;?></li>
</ul>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_calendar;?></div>
</div>
<hr>
<section class="content-header">
<h1><?php echo $sprache->restarttime;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> </li>
<li><?php echo $sprache->restarttime;?> </li>
<li class="active"><?php echo $serverip.":".$port;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_calendar;?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body">
<form class="form-inline" role="form" id="newRestart" action="userpanel.php?w=ca&amp;id=<?php echo $id;?>" method="post">
<input type="hidden" id="date" name="date" value="mon_0">
<input type="hidden" id="edit" name="edit" value="edit">
<div class="form-group">
<div class="input-group">
<label class="input-group-addon" for="day"><i class="fa fa-calendar"></i></label>
<select class="form-control" id="day" name="day" onchange="setDate();">
<option value="mon"><?php echo $sprache->monday;?></option>
<option value="tue"><?php echo $sprache->tuesday;?></option>
<option value="wed"><?php echo $sprache->wednesday;?></option>
<option value="thu"><?php echo $sprache->thursday;?></option>
<option value="fri"><?php echo $sprache->friday;?></option>
<option value="sat"><?php echo $sprache->saturday;?></option>
<option value="sun"><?php echo $sprache->sunday;?></option>
</select>
</div>
</div>
<div class="form-group">
<div class="input-group">
<label class="input-group-addon" for="hour"><i class="fa fa-clock-o"></i></label>
<select class="form-control" id="hour" name="hour" onchange="setDate();">
<?php for($i=0;$i<=23;$i++) { ?>
<option value="<?php echo $i;?>"><?php echo str_pad($i,2,"0",STR_PAD_LEFT);?>:00</option>
<?php } ?>
</select>
</div>
</div>
<div class="form-group">
<label for="addEntry"></label>
<button id="addEntry" class="btn btn-primary"><i class="fa fa-plus-circle"></i> <?php echo $gsprache->add;?></button>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th data-class="expand"><?php echo $gsprache->datetime;?></th>
<th data-hide="phone"><?php echo $gsprache->backup;?></th>
<th data-hide="phone"><?php echo $sprache->restarts;?></th>
<th data-hide="phone,tablet"><?php echo $gsprache->template;?></th>
<th data-hide="phone,tablet"><?php echo $sprache->startmap;?></th>
<th data-hide="phone"><?php echo $sprache->protect;?></th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<?php $days = array('mon'=>$sprache->monday,'tue'=>$sprache->tuesday,'wed'=>$sprache->wednesday,'thu'=>$sprache->thursday,'fri'=>$sprache->friday,'sat'=>$sprache->saturday,'sun'=>$sprache->sunday);
foreach($days as $day => $dayname) {
for($i=0;$i<=23;$i++) {
if(!empty($restarts[$i][$day])){ ?>
<tr>
<td>
<?php echo $dayname." - ".str_pad($i,2,"0",STR_PAD_LEFT).":00" ?>
</td>
<td>
<?php echo $restarts[$i][$day]['backup']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['restart']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['template']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['map']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['protected']; ?>
</td>
<td class="span1">
<form action="userpanel.php?w=ca&amp;id=<?php echo $id;?>&amp;r=ca" method="post" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<input type="hidden" name="date" value="<?php echo $day.'_'.$i;?>"/>
<input type="hidden" name="delete" value="delete" />
<button class="btn btn-danger btn-mini"><i class="fa fa-trash-o"></i> <?php echo $gsprache->del;?></button>
</form>
</td>
<td class="span1">
<form action="userpanel.php?w=ca&amp;id=<?php echo $id;?>" method="post">
<input type="hidden" name="date" value="<?php echo $day.'_'.$i;?>"/>
<input type="hidden" name="edit" value="edit" />
<button class="btn btn-primary btn-mini"><i class="fa fa-edit"></i> <?php echo $gsprache->mod;?></button>
</form>
</td>
</tr>
<?php } } } ?>
</tbody>
</table>
</div><!-- /.box-body -->
</div>
</div>
</div>
</section>
<div class="row-fluid">
<div class="span12">
<form id="newRestart" action="userpanel.php?w=ca&amp;id=<?php echo $id;?>" method="post" class="form-inline">
<input type="hidden" id="date" name="date" value=""/>
<input type="hidden" id="edit" name="edit" value="edit" />
<select id="day" name="day">
<option value="mon"><?php echo $sprache->monday;?></option>
<option value="tue"><?php echo $sprache->tuesday;?></option>
<option value="wed"><?php echo $sprache->wednesday;?></option>
<option value="thu"><?php echo $sprache->thursday;?></option>
<option value="fri"><?php echo $sprache->friday;?></option>
<option value="sat"><?php echo $sprache->saturday;?></option>
<option value="sun"><?php echo $sprache->sunday;?></option>
</select>
<select id="hour" name="hour">
<?php for($i=0;$i<=23;$i++) { ?>
<option value="<?php echo $i;?>"><?php echo str_pad($i,2,"0",STR_PAD_LEFT);?>:00</option>
<?php } ?>
</select>
<button class="btn btn-primary"><i class="icon-edit icon-white"></i> <?php echo $gsprache->add;?></button>
</form>
</div>
</div>
<script type="text/javascript">
$(document).ready(function (){
$('#newRestart').submit(function() {
var date=$('#day').val()+'_'+$('#hour').val();
$('#date').val(date);
});
});
</script>
<br>
<div class="row-fluid">
<div class="span12">
<table class="table table-striped table-bordered table-hover footable">
<thead>
<tr>
<th data-class="expand"><?php echo $gsprache->datetime;?></th>
<th data-hide="phone"><?php echo $gsprache->backup;?></th>
<th data-hide="phone"><?php echo $sprache->restarts;?></th>
<th data-hide="phone,tablet"><?php echo $gsprache->template;?></th>
<th data-hide="phone,tablet"><?php echo $sprache->startmap;?></th>
<th data-hide="phone"><?php echo $sprache->protect;?></th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
<?php
$days=array('mon'=>$sprache->monday,
'tue'=>$sprache->tuesday,
'wed'=>$sprache->wednesday,
'thu'=>$sprache->thursday,
'fri'=>$sprache->friday,
'sat'=>$sprache->saturday,
'sun'=>$sprache->sunday);
foreach($days as $day => $dayname) {
for($i=0;$i<=23;$i++) {
if(!empty($restarts[$i][$day])){ ?>
<tr>
<td>
<?php echo $dayname." - ".str_pad($i,2,"0",STR_PAD_LEFT).":00" ?>
</td>
<td>
<?php echo $restarts[$i][$day]['backup']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['restart']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['template']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['map']; ?>
</td>
<td>
<?php echo $restarts[$i][$day]['protected']; ?>
</td>
<td class="span1">
<form action="userpanel.php?w=ca&amp;id=<?php echo $id;?>&amp;r=ca" method="post" onsubmit="return confirm('<?php echo $gsprache->sure;?>');">
<input type="hidden" name="date" value="<?php echo $day.'_'.$i;?>"/>
<input type="hidden" name="delete" value="delete" />
<button class="btn btn-danger btn-mini"><i class="icon-trash icon-white"></i> <?php echo $gsprache->del;?></button>
</form>
</td>
<td class="span1">
<form action="userpanel.php?w=ca&amp;id=<?php echo $id;?>" method="post">
<input type="hidden" name="date" value="<?php echo $day.'_'.$i;?>"/>
<input type="hidden" name="edit" value="edit" />
<button class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i> <?php echo $gsprache->mod;?></button>
</form>
</td>
</tr>
<?php
}
}
} ?>
</tbody>
</table>
</div>
</div>
function setDate() {
var date = $('#day').val() + '_' + $('#hour').val();
$('#date').val(date);
}
</script>

View File

@ -1,166 +1,194 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $sprache->restarttime;?> <span class="divider">/</span></li>
<li class="active"><?php echo $serverip.':'.$port;?> <span class="divider">/</span></li>
<li class="active"><?php echo $day.' '.$hour." ".$sprache->hour;?></li>
</ul>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_calendar;?></div>
</div>
<hr>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=ca&amp;id=<?php echo $id;?>&amp;r=ca" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<script type="text/javascript">
$(document).ready(function (){
$('#inputSwitch').change(function() {
var shorten=$('#inputSwitch').val();
$('#inputTemplate1').text(shorten);
$('#inputTemplate2').text(shorten+'-2');
$('#inputTemplate3').text(shorten+'-3');
if($(this).find('option:selected').data('protected')=='Y') {
$('#protectedSettings').collapse('show');
}
else {
$('#protectedSettings').collapse('hide');
}
if($(this).find('option:selected').data('gameq')=='minecraft') {
console.log('minecraft');
$('#worldsaveSettings').collapse('show');
$('#mapSettings').collapse('hide');
}
else {
console.log('not minecraft');
$('#worldsaveSettings').collapse('hide');
$('#mapSettings').collapse('show');
}
if(shorten=='csgo') {
$('#mapGroupSettings').collapse('show');
}
else {
$('#mapGroupSettings').collapse('hide');
}
});
$('#inputSwitch').change();
});
</script>
<div class="control-group">
<label class="control-label" for="inputBackup"><?php echo $gsprache->backup;?></label>
<div class="controls">
<select name="backup" id="inputBackup">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($backup=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
<div id="worldsaveSettings">
<div class="control-group">
<label class="control-label" for="inputWorldSave">Minecraft Worldsave</label>
<div class="controls">
<select name="worldsafe" id="inputWorldSave">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($worldsafe=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
</div>
<?php if(in_array('srcds_run',$binaryArray) and (in_array(2,$uploadallowed) or in_array(3,$uploadallowed))){ ?>
<div class="control-group">
<label class="control-label" for="inputSourceTV">SourceTV Demo Upload</label>
<div class="controls">
<select name="upload" id="inputSourceTV">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($upload=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
<?php } ?>
<div class="control-group">
<label class="control-label" for="inputRestart"><?php echo $sprache->restarts;?></label>
<div class="controls">
<select name="restart" id="inputRestart">
<option value="Y" data-toggle="collapse" data-target="#restartSettings"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if($restart=="N") echo 'selected="selected"';?> data-toggle="collapse" data-target="#restartSettings"><?php echo $gsprache->no;?></option>
</select>
</div>
</div>
<div id="restartSettings" class="collapse <?php if ($restart=='Y') echo 'in';?>">
<div class="control-group">
<label class="control-label" for="inputSwitch"><?php echo $sprache->gameswitch;?></label>
<div class="controls">
<select name="shorten" id="inputSwitch" onchange="$.get('serverallocation.php?mapgroup=' + this.value, function(data) { $('#mapGroup').html(data); });">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['shorten'];?>" <?php if($gsswitch==$table_row['shorten']) echo 'selected="selected"';?> data-protected="<?php echo $table_row['protected'];?>" data-gameq="<?php echo $table_row['gameq'];?>"><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $sprache->restarttime;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $sprache->restarttime;?></li>
<li><?php echo $serverip.':'.$port;?></li>
<li class="active"><?php echo $day.' '.$hour." ".$sprache->hour;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=ca&amp;id=<?php echo $id;?>&amp;r=ca" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input class="form-control" type="hidden" name="date" value="<?php echo $date2;?>">
<input class="form-control" type="hidden" name="edit2" value="edit">
<div class="box-body">
<div id="restartSettings">
<div class="form-group">
<label for="inputSwitch"><?php echo $sprache->gameswitch;?></label>
<select class="form-control" name="shorten" id="inputSwitch" onchange="changeSwitch(this.value);">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['shorten'];?>" <?php if($gsswitch==$table_row['shorten']) echo 'selected="selected"';?> data-protected="<?php echo $table_row['protected'];?>" data-gameq="<?php echo $table_row['gameq'];?>"><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
</div>
</div>
<div class="form-group">
<label for="inputTemplate"><?php echo $gsprache->template;?></label>
<select class="form-control" name="template" id="inputTemplate">
<option id="inputTemplate1" value="1"></option>
<option id="inputTemplate2" value="2" <?php if($template=="2") echo 'selected="selected"';?>></option>
<option id="inputTemplate3" value="3" <?php if($template=="3") echo 'selected="selected"';?>></option>
</select>
</div>
<div class="form-group">
<label for="inputRestart"><?php echo $sprache->restarts;?></label>
<select class="form-control" name="restart" id="inputRestart" onchange="toggleRestart(this.value);">
<option value="Y"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if($restart=="N") echo 'selected="selected"';?>><?php echo $gsprache->no;?></option>
</select>
</div>
<?php if ($pallowed=="Y") { ?>
<div class="form-group" id="protectedSettings">
<label for="inputProtected"><?php echo $sprache->protect;?></label>
<select class="form-control" name="protected" id="inputProtected">
<option value="N"><?php echo $sprache->off2;?></option>
<option value="Y" <?php if($pro=="Y") echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
<?php } ?>
<div id="anticheatSettings" class="form-group">
<div class="form-group">
<label for="inputCheat"><?php echo $sprache->anticheat;?></label>
<select class="form-control" name="anticheat" id="inputCheat">
<option value="1"><?php echo $anticheatsoft." ".$sprache->on;?></option>
<option value="2" <?php if($anticheat==2) echo 'selected="selected"';?>><?php echo $anticheatsoft." ".$sprache->off2;?></option>
<?php foreach($eac as $ea) echo $ea;?>
</select>
</div>
</div>
<div id="mapSettings" class="form-group">
<label for="inputMap"><?php echo $sprache->map;?></label>
<input class="form-control" id="inputMap" type="text" name="map" value="<?php echo $map;?>" >
</div>
<div id="mapGroupSettings" class="form-group">
<label for="inputMapGroup"><?php echo $sprache->startmapgroup;?></label>
<input class="form-control" id="inputMapGroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>" >
</div>
<div class="form-group" id="worldsaveSettings">
<label for="inputWorldSave">Minecraft Worldsave</label>
<select class="form-control" name="worldsafe" id="inputWorldSave">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($worldsafe=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<div class="form-group" id="backupSettings">
<label for="inputBackup"><?php echo $gsprache->backup;?></label>
<select class="form-control" name="backup" id="inputBackup">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($backup=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<?php if(in_array('srcds_run',$binaryArray) and (in_array(2,$uploadallowed) or in_array(3,$uploadallowed))){ ?>
<div class="form-group">
<label for="inputSourceTV">SourceTV Demo Upload</label>
<select class="form-control" name="upload" id="inputSourceTV">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($upload=="Y") echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<?php } ?>
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputTemplate"><?php echo $gsprache->template;?></label>
<div class="controls">
<select name="template" id="inputTemplate">
<option id="inputTemplate1" value="1"></option>
<option id="inputTemplate2" value="2" <?php if($template=="2") echo 'selected="selected"';?>></option>
<option id="inputTemplate3" value="3" <?php if($template=="3") echo 'selected="selected"';?>></option>
</select>
<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>
</div>
<?php if ($pallowed=="Y") { ?>
<div id="protectedSettings">
<div class="control-group">
<label class="control-label" for="inputProtected"><?php echo $sprache->protect;?></label>
<div class="controls">
<select name="protected" id="inputProtected">
<option value="N" data-toggle="collapse" data-target="#anticheatSettings"><?php echo $sprache->off2;?></option>
<option value="Y" data-toggle="collapse" data-target="#anticheatSettings" <?php if($pro=="Y") echo 'selected="selected"';?>><?php echo $sprache->on;?></option>
</select>
</div>
</div>
</div>
<?php } ?>
<div id="anticheatSettings" class="collapse <?php if ($pro!='Y') echo 'in';?>">
<div class="control-group">
<label class="control-label" for="inputCheat"><?php echo $sprache->anticheat;?></label>
<div class="controls">
<select name="anticheat" id="inputCheat">
<option value="1"><?php echo $anticheatsoft." ".$sprache->on;?></option>
<option value="2" <?php if($anticheat=="2") echo 'selected="selected"';?>><?php echo $anticheatsoft." ".$sprache->off2;?></option>
<?php foreach($eac as $ea) echo $ea;?>
</select>
</div>
</div>
</div>
<div id="mapSettings">
<div class="control-group">
<label class="control-label" for="inputMap"><?php echo $sprache->map;?></label>
<div class="controls">
<input id="inputMap" type="text" name="map" value="<?php echo $map;?>" >
</div>
</div>
</div>
<div id="mapGroupSettings">
<div class="control-group" id="mapGroup">
<label class="control-label" for="inputMapGroup"><?php echo $sprache->startmapgroup;?></label>
<div class="controls">
<input id="inputMapGroup" type="text" name="mapGroup" value="<?php echo $mapGroup;?>" >
</div>
</div>
</div>
</form>
</div>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
<input type="hidden" name="date" value="<?php echo $date2;?>">
<input type="hidden" name="edit2" value="edit">
</div>
</div>
</form>
</div>
</div>
</div>
</section>
<script type="text/javascript">
function changeSwitch (value) {
$('#inputTemplate1').text(value);
$('#inputTemplate2').text(value + '-2');
$('#inputTemplate3').text(value + '-3');
if(value == 'csgo') {
$('#mapGroupSettings').collapse('show');
} else {
$('#mapGroupSettings').collapse('hide');
}
var details = $('#inputSwitch').find('option:selected');
if(details.data('protected')=='Y') {
$('#protectedSettings').collapse('show');
} else {
$('#protectedSettings').collapse('hide');
}
if(details.data('gameq') == 'minecraft') {
$('#worldsaveSettings').collapse('show');
$('#mapSettings').collapse('hide');
$('#anticheatSettings').collapse('hide');
} else {
$('#worldsaveSettings').collapse('hide');
$('#mapSettings').collapse('show');
$('#anticheatSettings').collapse('show');
}
$( "#mapGroup" ).load('ajax.php?mapgroup=' + value);
toggleRestart($('#inputRestart').val());
}
function toggleRestart (restart) {
var gameQ = $('#inputSwitch').find('option:selected').data('gameq');
if (restart == 'Y') {
if (gameQ != 'minecraft') {
$('#protectedSettings').collapse('show');
$('#anticheatSettings').collapse('show');
$('#mapSettings').collapse('show');
$('#mapGroupSettings').collapse('show');
} else {
$('#worldsaveSettings').collapse('hide');
}
$('#backupSettings').collapse('hide');
} else {
if (gameQ != 'minecraft') {
$('#protectedSettings').collapse('hide');
$('#anticheatSettings').collapse('hide');
$('#mapSettings').collapse('hide');
$('#mapGroupSettings').collapse('hide');
} else {
$('#worldsaveSettings').collapse('show');
}
$('#backupSettings').collapse('show');
}
}
$(function() {
toggleRestart($('#inputRestart').val());
changeSwitch($('#inputSwitch').val());
});
</script>

View File

@ -1,37 +1,47 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><?php echo $sprache->config;?> <span class="divider">/</span></li>
<li class="active"><?php echo $serverip.':'.$port;?></li>
</ul>
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php><i class="fa fa-home"></i> Home</a></li>
<li><?php echo $gsprache->gameserver;?></li>
<li><?php echo $sprache->config;?>
<li class="active"><?php echo $serverip.':'.$port;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_config;?>
</div>
</div>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_config;?></div>
</div>
<hr>
<div class="row-fluid">
<div class="span8">
<table class="table table-bordered table-striped table-hover">
<tbody>
<?php foreach ($configs as $config){ ?>
<tr>
<td>
<strong><?php echo $config['line'];?></strong>
</td>
<td class="span3">
<?php if($config['permission']=="easy" or $config['permission']=="both") { ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=easy&amp;config=<?php echo urlencode($config['line']);?>"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i> <?php echo $sprache->easy;?></span></a>
<?php } ?>
<?php if($config['permission']=="full" or $config['permission']=="both") { ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=full&amp;config=<?php echo urlencode($config['line']);?>"><span class="btn btn-primary btn-mini"><i class="icon-edit icon-white"></i> <?php echo $sprache->full;?></span></a>
<?php } ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover table-bordered">
<tbody>
<?php foreach ($configs as $config){ ?>
<tr>
<td><strong><?php echo $config['line'];?></strong></td>
<td class="span3">
<?php if($config['permission']=="easy" or $config['permission']=="both") { ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=easy&amp;config=<?php echo urlencode($config['line']);?>"><span class="btn-primary btn-sm"><i class="fa fa-edit"></i> <?php echo $sprache->easy;?></span></a>
<?php } ?>
<?php if($config['permission']=="full" or $config['permission']=="both") { ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=full&amp;config=<?php echo urlencode($config['line']);?>"><span class=" btn-primary btn-sm"><i class="fa fa-edit"></i> <?php echo $sprache->full;?></span></a>
<?php } ?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div>
</section>

View File

@ -1,29 +1,51 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><?php echo $sprache->config;?> <span class="divider">/</span></li>
<li><?php echo $serverip.':'.$port;?> <span class="divider">/</span></li>
<li class="active"><?php echo htmlentities($configname);?></li>
</ul>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_config;?></div>
</div>
<hr>
<div class="row-fluid">
<div class="span12">
<form class="form-horizontal" action="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=full&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<div class="control-group">
<textarea id="inputConfig" rows="20" class="span12" name="cleanedconfig"><?php echo $cleanedconfig;?></textarea>
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a>
<li><?php echo $sprache->config;?></li>
<li><?php echo $serverip.':'.$port;?></li>
<li class="active"><?php echo htmlentities($configname);?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_config;?>
</div>
<div class="control-group">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
<input type="hidden" name="config" value="<?php echo $postconfig;?>">
<input type="hidden" name="update" value="1">
</div>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $id;?>&amp;type=full&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="config" value="<?php echo $postconfig;?>">
<input type="hidden" name="update" value="1">
<div class="box-header">
<h3 class="box-title"><?php echo htmlentities($configname);?></h3>
</div>
<div class="body-box">
<div class="form-group">
<label for="inputConfig"></label>
<textarea class="form-control" id="inputConfig" rows="15" name="cleanedconfig"><?php echo $cleanedconfig;?></textarea>
</div>
</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>
</section>

View File

@ -1,73 +1,109 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=fd"><?php echo $gsprache->fastdownload;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $serverip.':'.$port;?></li>
</ul>
<section class="content-header">
<h1><?php echo $gsprache->fastdownload;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->fastdownload;?></li>
<li class="active"><?php echo $serverip.':'.$port;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl;?>
</div>
</div>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_fdl;?></div>
</div>
<hr>
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=fd&amp;d=es&amp;id=<?php echo $id;?>&amp;r=fd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<div class="control-group">
<label class="control-label" for="inputFLD"><?php echo $sprache->haupt2;?></label>
<div class="controls">
<select id="inputFLD" name="masterfdl" onchange="SwitchShowHideRows('details');">
<option value="Y"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if ($masterfdl=="N") echo 'selected="selected"'; ?>><?php echo $gsprache->no;?></option>
</select>
</div>
</div>
<div class="details <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch control-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label class="control-label" for="input_ftp_adresse"><?php echo $gameSprache->ftp_adresse;?></label>
<div id="information" class="controls">
<input id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
</div>
<div class="details <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch control-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label class="control-label" for="input_ftp_port"><?php echo $gameSprache->ftp_port;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
</div>
<div class="details <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch control-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label class="control-label" for="input_ftp_user"><?php echo $gameSprache->ftp_user;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
</div>
<div class="details <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch control-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label class="control-label" for="input_ftp_password"><?php echo $gameSprache->ftp_password;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
</div>
<div class="details <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch control-group">
<label class="control-label" for="input_ftp_path"><?php echo $gameSprache->ftp_path;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=fd&amp;d=es&amp;id=<?php echo $id;?>&amp;r=fd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="md">
</div>
<div class="box-body">
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="form-group">
<label for="inputFLD"><?php echo $sprache->haupt2;?></label>
<select class="form-control" id="inputFLD" name="masterfdl" onchange="SwitchShowHideRows('details');">
<option value="Y"><?php echo $gsprache->yes;?></option>
<option value="N" <?php if ($masterfdl=="N") echo 'selected="selected"'; ?>><?php echo $gsprache->no;?></option>
</select>
</div>
<div class="N switch <?php if ($masterfdl=='Y') echo 'display_none'; ?> form-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label for="input_ftp_adresse"><?php echo $gameSprache->ftp_adresse;?></label>
<input class="form-control" id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label for="input_ftp_port"><?php echo $gameSprache->ftp_port;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label for="input_ftp_user"><?php echo $gameSprache->ftp_user;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label for="input_ftp_password"><?php echo $gameSprache->ftp_password;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
<div class="N <?php if ($masterfdl=='Y') echo 'display_none'; ?> switch form-group">
<label for="input_ftp_path"><?php echo $gameSprache->ftp_path;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</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>
</form>
</div>
</div>
</div>
</section>
<script type="text/javascript">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

View File

@ -1,67 +1,80 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=fd"><?php echo $gsprache->fastdownload;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $sprache->haupt;?></li>
</ul>
<section class="content-header">
<h1><?php echo $gsprache->fastdownload;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $gsprache->fastdownload;?></li>
<li class="active"><?php echo $sprache->haupt;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl;?>
</div>
</div>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_fdl;?></div>
</div>
<hr>
<?php if (count($errors)>0){ ?>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<h4><?php echo $gsprache->errors;?></h4>
<?php echo implode(', ',$errors);?>
</div>
<?php }?>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=fd&amp;d=eu&amp;r=fd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="action" value="md">
<?php if (count($errors)>0){ ?>
<div class="box box-danger">
<div class="box-header">
<i class="fa fa-warning"></i>
<h3 class="box-title"><?php echo $gsprache->errors;?></h3>
</div><!-- /.box-header -->
<div class="box-body">
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<b><?php echo $gsprache->errors;?>:</b> <?php echo implode(', ',$errors);?>
</div>
</div>
</div>
<?php }?>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=fd&amp;d=eu&amp;r=fd" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<div class="control-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label class="control-label" for="input_ftp_adresse"><?php echo $gameSprache->ftp_adresse;?></label>
<div id="information" class="controls">
<input id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
</div>
<div class="control-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label class="control-label" for="input_ftp_port"><?php echo $gameSprache->ftp_port;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
</div>
<div class="control-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label class="control-label" for="input_ftp_user"><?php echo $gameSprache->ftp_user;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
</div>
<div class="control-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label class="control-label" for="input_ftp_password"><?php echo $gameSprache->ftp_password;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input_ftp_path"><?php echo $gameSprache->ftp_path;?></label>
<div id="information" class="controls">
<input id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
<input type="hidden" name="action" value="md">
</div>
<div class="box-body">
<div class="form-group<?php if(isset($errors['ftp_adresse'])) echo ' error';?>">
<label for="input_ftp_adresse"><?php echo $gameSprache->ftp_adresse;?></label>
<input class="form-control" id="input_ftp_adresse" type="text" name="ftp_adresse" value="<?php echo $ftp_adresse;?>" required>
</div>
<div class="form-group<?php if(isset($errors['ftp_port'])) echo ' error';?>">
<label for="input_ftp_port"><?php echo $gameSprache->ftp_port;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_port" value="<?php echo $ftp_port;?>" required>
</div>
<div class="form-group<?php if(isset($errors['ftp_user'])) echo ' error';?>">
<label for="input_ftp_user"><?php echo $gameSprache->ftp_user;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_user" value="<?php echo $ftp_user;?>" required>
</div>
<div class="form-group<?php if(isset($errors['ftp_password'])) echo ' error';?>">
<label for="input_ftp_password"><?php echo $gameSprache->ftp_password;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_password" value="<?php echo $ftp_password;?>" required>
</div>
<div class="form-group">
<label for="input_ftp_path"><?php echo $gameSprache->ftp_path;?></label>
<input class="form-control" id="input_ftp_port" type="text" name="ftp_path" value="<?php echo $ftp_path;?>">
</div>
</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>
</form>
</div>
</div>
</div>
</section>

View File

@ -1,40 +1,52 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->fastdownload;?></li>
</ul>
<section class="content-header">
<h1><?php echo $gsprache->fastdownload;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li class="active"><?php echo $gsprache->fastdownload;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_fdl;?>
</div>
</div>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_fdl;?></div>
</div>
<hr>
<div class="row-fluid">
<div class="span12">
<table class="table table-striped table-bordered table-hover">
<tbody>
<?php if ($pa['modfastdl']==true) { ?>
<tr>
<td><?php echo $sprache->haupt;?></td>
<td><?php echo $fdlpath[1];?></td>
<td><a href="userpanel.php?w=fd&amp;d=eu"><span class="btn btn-mini btn-primary"><i class="icon-white icon-edit"></i> <?php echo $sprache->haupt.' '.$gsprache->settings;?></span></a></td>
</tr>
<?php } ?>
<?php foreach ($table as $table_row){ ?>
<tr>
<td><?php echo $table_row['serverip']?>:<?php echo $table_row['port']?></td>
<td>
<form class="form-inline" method="post" action="userpanel.php?w=fd&amp;d=ud&amp;id=<?php echo $table_row['id']?>&amp;r=fd" onsubmit="return confirm('<?php echo $table_row['serverip']?>:<?php echo $table_row['port']?>: <?php echo $sprache->startfdl;?>');">
<button class="btn btn-mini btn-primary"><i class="fa fa-refresh"></i> <?php echo $sprache->startfdl;?></button>
</form>
</td>
<td><?php if ($pa['modfastdl']==true) { ?><a href="userpanel.php?w=fd&amp;d=es&amp;id=<?php echo $table_row['id']?>"><span class="btn btn-mini btn-primary"><i class="icon-white icon-edit"></i> <?php echo $gsprache->settings;?></span></a><?php } ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<tbody>
<?php if ($pa['modfastdl']==true) { ?>
<tr>
<td><?php echo $sprache->haupt;?></td>
<td><?php echo $fdlpath[1];?></td>
<td><a href="userpanel.php?w=fd&amp;d=eu"><span class="btn btn-sm btn-primary"><i class="fa fa-edit"></i> <?php echo $sprache->haupt.' '.$gsprache->settings;?></span></a></td>
</tr>
<?php } ?>
<?php foreach ($table as $table_row){ ?>
<tr>
<td><?php echo $table_row['serverip']?>:<?php echo $table_row['port']?></td>
<td>
<form class="form-inline" method="post" action="userpanel.php?w=fd&amp;d=ud&amp;id=<?php echo $table_row['id']?>&amp;r=fd" onsubmit="return confirm('<?php echo $table_row['serverip']?>:<?php echo $table_row['port']?>: <?php echo $sprache->startfdl;?>');">
<button class="btn btn-sm btn-primary"><i class="fa fa-refresh"></i> <?php echo $sprache->startfdl;?></button>
</form>
</td>
<td><?php if ($pa['modfastdl']==true) { ?><a href="userpanel.php?w=fd&amp;d=es&amp;id=<?php echo $table_row['id']?>"><span class="btn btn-sm btn-primary"><i class="fa fa-edit"></i> <?php echo $gsprache->settings;?></span></a><?php } ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>

View File

@ -1,75 +1,101 @@
<div class="row-fluid" xmlns="http://www.w3.org/1999/html">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->gameserver;?></li>
</ul>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_list;?></div>
</div>
<hr>
<?php foreach ($table as $table_row){ ?>
<div class="row-fluid span11 alert <?php if($table_row['img']=='16_bad') echo 'alert-block'; else if($table_row['img']=='16_error') echo 'alert-danger'; else echo 'alert-success';?>">
<h4 class="row-fluid span12 inline"><img src="images/games/icons/<?php echo $table_row['gameShorten'];?>.png" alt="<?php echo $table_row['gameShorten'];?>" width="14" /> <a href="hlsw://<?php echo $table_row['server'];?>"><?php echo $table_row['server'].' '.$table_row['name'];?></a></h4>
<?php if(!empty($table_row['premoved'])){ ?><div class="row-fluid"><div class="span12 alert alert-error"><button type="button" class="close" data-dismiss="alert">&times;</button><i class="icon-warning-sign"></i> <?php echo $table_row['premoved'];?></div></div><?php } ?>
<?php if(!empty($table_row['nameremoved'])){ ?><div class="row-fluid"><div class="span12 alert alert-error"><button type="button" class="close" data-dismiss="alert">&times;</button><i class="icon-warning-sign"></i> <?php echo $table_row['nameremoved'];?></div></div><?php } ?>
<div class="row-fluid">
<div class="span12 btn-group-vertical">
<a href="userpanel.php?w=gs&amp;d=rs&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-mini btn-success inline"><i class="icon-white icon-play"></i> <?php echo $sprache->restarts;?></button></a>
<?php if($table_row['stopped']=='N'){ ?><a href="userpanel.php?w=gs&amp;d=st&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_stop;?>');"><button class="btn btn-mini btn-danger"><i class="fa fa-power-off"></i> <?php echo $sprache->stop;?></button></a><?php } ?>
<?php if(!empty($table_row['pro'])){ ?><a href="userpanel.php?w=pr&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->protect . ' '; echo ($table_row['imgp']=='16_protected') ? $sprache->off2 : $sprache->on;?>?');"><button class="btn btn-mini <?php if($table_row['imgp']=='16_protected')echo 'btn-info';else if($table_row['imgp']=='16_unprotected') echo 'btn-warning';?>"><i class="fa fa-shield"></i> <?php echo $sprache->protect.' '.$table_row['pro'];?></button></a><?php } ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-mini btn-primary"><i class="fa fa-cogs"></i> <?php echo $sprache->config;?></button></a>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['imgp']!='16_protected' and $table_row['ftpAllowed']) { ?>
<a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-mini btn-primary"><i class="fa fa-files-o"></i> <?php echo $sprache->webFtp;?></button></a>
<?php } ?>
<?php if($pa['useraddons']){ ?><a href="userpanel.php?w=ao&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-mini btn-primary"><i class="fa fa-puzzle-piece"></i> <?php echo $gsprache->addon;?></button></a><?php } ?>
<a href="userpanel.php?w=ca&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-mini btn-primary"><i class="fa fa-calendar"></i> <?php echo $sprache->restarttime;?></button></a>
<div class="btn-group">
<button data-toggle="dropdown" class="btn btn-mini btn-primary dropdown-toggle"><i class="fa fa-floppy-o"></i> <?php echo $gsprache->backup;?> <span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=mb&amp;r=gs"><i class="fa fa-plus-circle fa-fw"></i> <?php echo $sprache->create;?></a></li>
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=rb"><i class="fa fa-refresh fa-fw"></i> <?php echo $sprache->recover;?></a></li>
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=md"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
</ul>
</div>
<a href="serverlog.php?id=<?php echo $table_row['id'];?>" onclick="return popup(this.href);"><button class="btn btn-mini btn-primary"><i class="fa fa-list"></i> <?php echo $gsprache->logs;?></button></a>
<a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-mini btn-primary"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></button></a>
<a href="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-mini btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button></a>
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li class="active"><?php echo $gsprache->gameserver;?></li>
</ol>
</section>
<!-- Main Content -->
<section class="content">
<?php if($table_row['upload']==true){ ?><a href="userpanel.php?w=gs&amp;d=du&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');"><button class="btn btn-mini btn-info"><i class="icon-white icon-film"></i> SourceTV</button></a><?php } ?>
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_list;?>
</div>
</div>
</div>
<div class="row-fluid">
<dl class="dl-horizontal">
<dt><?php echo $gsprache->template;?></dt>
<dd><?php echo $table_row['shorten'];?></dd>
<dt><?php echo $sprache->updatetime;?></dt>
<dd><?php echo $table_row['updatetime'];?></dd>
<dt><?php echo $sprache->map;?></dt>
<dd><?php echo $table_row['map'];?></dd>
<dt><?php echo $sprache->player;?></dt>
<dd><?php echo $table_row['numplayers']?>/<?php echo $table_row['maxplayers'];?></dd>
<?php if($table_row['ramLimited']=='Y') { ?>
<dt><?php echo $sprache->ramMax;?></dt>
<dd><?php echo $table_row['maxram'];?> MB</dd>
<?php } ?>
<?php if($table_row['taskset']=='Y' and $table_row['coreCount']>0) { ?>
<dt><?php echo $sprache->coreBind;?></dt>
<dd><?php echo $table_row['cores'].' ('.$table_row['coreCount'].')';?></dd>
<?php } ?>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['imgp']!='16_protected' and $table_row['ftpAllowed']) { ?>
<dt><?php echo $sprache->ftp_link;?></dt>
<dd><a href="<?php echo $table_row['ftpdata'];?>"><?php echo $table_row['ftpdata'];?></a></dd>
<dt><?php echo $sprache->ftp_adresse;?></dt>
<dd>ftp://<?php echo $table_row['ip'].":".$table_row['ftpport'].$pserver.$table_row['ip'].'_'.$table_row['port']."/".$table_row['shorten'];?></dd>
<dt><?php echo $sprache->ftp_user;?></dt>
<dd><?php echo $table_row['cname'];?></dd>
<dt><?php echo $sprache->ftp_password;?></dt>
<dd><?php echo $table_row['cftppass'];?></dd>
<?php } ?>
</dl>
</div>
</div>
<?php }?>
<!-- Content -->
<?php foreach ($table as $table_row){ ?>
<div class="panel box <?php if($table_row['img']=='16_bad') echo 'box-primary'; else if($table_row['img']=='16_error') echo 'box-danger'; else echo 'box-success';?>">
<!-- Gameserver Name -->
<h4><img src="images/games/icons/<?php echo $table_row['gameShorten'];?>.png" alt="<?php echo $table_row['gameShorten'];?>" width="14" /> <a href="hlsw://<?php echo $table_row['server'];?>"><?php echo $table_row['server'].' '.$table_row['name'];?></a></h4>
<!-- Gameserver Warnings -->
<?php if(!empty($table_row['premoved'])){ ?><div class="alert alert-warning alert-dismissable"><i class="fa fa-warning"></i> <?php echo $table_row['premoved'];?></div><?php } ?>
<?php if(!empty($table_row['nameremoved'])){ ?><div class="alert alert-warning alert-dismissable"><i class="fa fa-warning"></i> <?php echo $table_row['nameremoved'];?></div><?php } ?>
<div id="collapseOne" class="panel-collapse collapse in">
<div class="box-body">
<!-- Gameserver Buttons -->
<div class="form-group">
<a href="userpanel.php?w=gs&amp;d=rs&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_restart;?>');"><button class="btn btn-sm btn-success inline"><i class="icon-white icon-play"></i> <?php echo $sprache->restarts;?></button></a>
<?php if($table_row['stopped']=='N'){ ?><a href="userpanel.php?w=gs&amp;d=st&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_stop;?>');"><button class="btn btn-sm btn-danger"><i class="fa fa-power-off"></i> <?php echo $sprache->stop;?></button></a><?php } ?>
<?php if(!empty($table_row['pro'])){ ?><a href="userpanel.php?w=pr&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->protect . ' '; echo ($table_row['imgp']=='16_protected') ? $sprache->off2 : $sprache->on;?>?');"><button class="btn btn-sm <?php if($table_row['imgp']=='16_protected')echo 'btn-info';else if($table_row['imgp']=='16_unprotected') echo 'btn-warning';?>"><i class="fa fa-shield"></i> <?php echo $sprache->protect.' '.$table_row['pro'];?></button></a><?php } ?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-cogs"></i> <?php echo $sprache->config;?></button></a>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['imgp']!='16_protected' and $table_row['ftpAllowed']) { ?>
<a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-files-o"></i> <?php echo $sprache->webFtp;?></button></a>
<?php } ?>
<?php if($pa['useraddons']){ ?><a href="userpanel.php?w=ao&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-puzzle-piece"></i> <?php echo $gsprache->addon;?></button></a><?php } ?>
<a href="userpanel.php?w=ca&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-calendar"></i> <?php echo $sprache->restarttime;?></button></a>
<div class="btn-group">
<button data-toggle="dropdown" class="btn btn-sm btn-primary dropdown-toggle"><i class="fa fa-floppy-o"></i> <?php echo $gsprache->backup;?> <span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=mb&amp;r=gs"><i class="fa fa-plus-circle fa-fw"></i> <?php echo $sprache->create;?></a></li>
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=rb"><i class="fa fa-refresh fa-fw"></i> <?php echo $sprache->recover;?></a></li>
<li><a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=md"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
</ul>
</div>
<a class="btn btn-sm btn-primary" data-toggle="modal" data-target="#compose-modal-<?php echo $table_row['id'];?>"><i class="fa fa-terminal"></i> <?php echo $gsprache->logs;?></a>
<!-- COMPOSE MESSAGE MODAL -->
<div class="modal fade" id="compose-modal-<?php echo $table_row['id'];?>" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content" id="modal-content-<?php echo $table_row['id'];?>">
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-primary"><i class="fa fa-cog"></i> <?php echo $gsprache->settings;?></button></a>
<a href="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"><button class="btn btn-sm btn-warning"><i class="fa fa-refresh"></i> <?php echo $sprache->reinstall;?></button></a>
<?php if($table_row['upload']==true){ ?><a href="userpanel.php?w=gs&amp;d=du&amp;id=<?php echo $table_row['id'];?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');"><button class="btn btn-sm btn-info"><i class="icon-white icon-film"></i> SourceTV</button></a><?php } ?>
</div>
<!-- Gameserver Details -->
<dl class="dl-horizontal">
<dt><?php echo $gsprache->template;?></dt>
<dd><?php echo $table_row['shorten'];?></dd>
<dt><?php echo $sprache->updatetime;?></dt>
<dd><?php echo $table_row['updatetime'];?></dd>
<dt><?php echo $sprache->map;?></dt>
<dd><?php echo $table_row['map'];?></dd>
<dt><?php echo $sprache->player;?></dt>
<dd><?php echo $table_row['numplayers']?>/<?php echo $table_row['maxplayers'];?></dd>
<?php if($table_row['ramLimited']=='Y') { ?>
<dt><?php echo $sprache->ramMax;?></dt>
<dd><?php echo $table_row['maxram'];?> MB</dd>
<?php } ?>
<?php if($table_row['taskset']=='Y' and $table_row['coreCount']>0) { ?>
<dt><?php echo $sprache->coreBind;?></dt>
<dd><?php echo $table_row['cores'].' ('.$table_row['coreCount'].')';?></dd>
<?php } ?>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['imgp']!='16_protected' and $table_row['ftpAllowed']) { ?>
<dt><?php echo $sprache->ftp_link;?></dt>
<dd><a href="<?php echo $table_row['ftpdata'];?>"><?php echo $table_row['ftpdata'];?></a></dd>
<dt><?php echo $sprache->ftp_adresse;?></dt>
<dd>ftp://<?php echo $table_row['ip'].":".$table_row['ftpport'].$pserver.$table_row['ip'].'_'.$table_row['port']."/".$table_row['shorten'];?></dd>
<dt><?php echo $sprache->ftp_user;?></dt>
<dd><?php echo $table_row['cname'];?></dd>
<dt><?php echo $sprache->ftp_password;?></dt>
<dd><?php echo $table_row['cftppass'];?></dd>
<?php } ?>
</dl>
</div>
</div>
</div>
<?php }?>
</section>

View File

@ -1,154 +1,182 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li><?php echo $sprache->server_details;?> <span class="divider">/</span></li>
<li class="active"><?php echo $address;?></li>
</ul>
</div>
</div>
<div class="row-fluid hidden-phone">
<div class="span12 alert alert-info"><?php echo $sprache->help_md;?></div>
</div>
<hr>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $id;?>&amp;r=gs" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<?php if ($pa['ftpaccess'] and $ftpAccess=='Y') { ?>
<div class="control-group">
<label class="control-label" for="ftppass"><?php echo $sprache->ftp_password;?></label>
<div class="controls">
<input id="ftppass" type="text" name="ftppass" value="<?php echo $ftppass;?>" required>
</div>
</div>
<?php } ?>
<div class="control-group">
<label class="control-label" for="gameswitch"><?php echo $sprache->gameswitch;?></label>
<div class="controls">
<select id="gameswitch" name="shorten" onchange="SwitchShowHideRows(this.value);">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['id'];?>" <?php if($serverID==$table_row['id']) echo 'selected="selected"';?>><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
</div>
</div>
<?php foreach ($table as $table_row) { ?>
<div class="<?php echo $table_row['id'].' '.$table_row['displayNone'];?> switch row-fluid">
<?php if(count($table_row['mods'])>0){ ?>
<div class="control-group">
<label class="control-label" for="mod_<?php echo $table_row['id'];?>">Mods</label>
<div class="controls">
<select id="mod_<?php echo $table_row['id'];?>" name="mod_<?php echo $table_row['id'];?>">
<?php foreach ($table_row['mods'] as $mod_single) { ?>
<option <?php if($table_row['mod']==$mod_single) echo 'selected="selected"';?>><?php echo $mod_single;?></option>
<?php } ?>
</select>
</div>
</div>
<?php } ?>
<div class="control-group">
<label class="control-label" for="servertemplate_<?php echo $table_row['id'];?>"><?php echo $gsprache->template;?></label>
<div class="controls">
<select id="servertemplate_<?php echo $table_row['id'];?>" name="servertemplate_<?php echo $table_row['id'];?>">
<option value="1"><?php echo $table_row['shorten'];?></option>
<option value="2" <?php if($table_row['servertemplate']==2) echo "selected";?>><?php echo $table_row['shorten'];?>-2</option>
<option value="3" <?php if($table_row['servertemplate']==3) echo "selected";?>><?php echo $table_row['shorten'];?>-3</option>
</select>
</div>
</div>
<?php if (in_array($table_row['gamebinary'],array('hlds_run','srcds_run','cod4_lnxded'))) { ?>
<div class="control-group">
<label class="control-label" for="anticheat_<?php echo $table_row['id'];?>"><?php echo $sprache->anticheat;?></label>
<div class="controls">
<select id="anticheat_<?php echo $table_row['id'];?>" name="anticheat_<?php echo $table_row['id'];?>">
<option value="1"><?php echo $table_row['anticheatsoft']." ".$sprache->on;?></option>
<option value="2" <?php if($table_row['anticheat']==2) echo 'selected="selected"';?>><?php echo $table_row['anticheatsoft']." ".$sprache->off2;?></option>
<?php foreach($table_row['eac'] as $eac) echo $eac;?>
</select>
</div>
</div>
<?php } ?>
<?php if ($table_row['upload']==true) { ?>
<div class="control-group">
<label class="control-label" for="uploaddir_<?php echo $table_row['id'];?>">SourceTV Demo FTP</label>
<div class="controls">
<input id="uploaddir_<?php echo $table_row['id'];?>" type="text" name="uploaddir_<?php echo $table_row['id'];?>" value="<?php echo $table_row['uploaddir'];?>">
</div>
</div>
<?php } ?>
<?php if ($table_row['userfps']=="Y") { ?>
<div class="control-group">
<label class="control-label" for="fps_<?php echo $table_row['id'];?>"><?php echo $sprache->fps;?></label>
<div class="controls">
<input id="fps_<?php echo $table_row['id'];?>" type="text" name="fps_<?php echo $table_row['id'];?>" value="<?php echo $table_row['fps'];?>">
</div>
</div>
<?php } ?>
<?php if ($table_row['usertick']=="Y") { ?>
<div class="control-group">
<label class="control-label" for="tic_<?php echo $table_row['id'];?>"><?php echo $sprache->tick;?></label>
<div class="controls">
<input id="tic_<?php echo $table_row['id'];?>" type="text" name="tic_<?php echo $table_row['id'];?>" value="<?php echo $table_row['tic'];?>">
</div>
</div>
<?php } ?>
<?php if ($table_row['usermap']=="Y" and !in_array($table_row['map'],array('',null))) { ?>
<div class="control-group">
<label class="control-label" for="map_<?php echo $table_row['id'];?>"><?php echo $sprache->startmap;?></label>
<div class="controls">
<input id="map_<?php echo $table_row['id'];?>" type="text" name="map_<?php echo $table_row['id'];?>" value="<?php echo $table_row['map'];?>">
</div>
</div>
<?php if($table_row['workshopCollection']!==false){ ?>
<div class="control-group">
<label class="control-label" for="workShop_<?php echo $table_row['id'];?>">Steam Workshop</label>
<div class="controls">
<select id="workShop_<?php echo $table_row['id'];?>" name="workShop_<?php echo $table_row['id'];?>" onchange="SwitchShowHideRows(this.value,'mapGroupWorkShop-<?php echo $table_row['id'];?>');">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($table_row['workShop']=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
<div class="Y <?php if($table_row['workShop']=='N') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> control-group">
<label class="control-label" for="workshopCollection_<?php echo $table_row['id'];?>">Workshop Collection</label>
<div class="controls">
<input id="workshopCollection_<?php echo $table_row['id'];?>" type="text" name="workshopCollection_<?php echo $table_row['id'];?>" value="<?php echo $table_row['workshopCollection'];?>">
<span class="help-block"><?php echo $sprache->collection_info;?></span>
</div>
</div>
<div class="Y <?php if($table_row['workShop']=='N') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> control-group">
<label class="control-label" for="webapiAuthkey_<?php echo $table_row['id'];?>">Steam Webapi Authkey</label>
<div class="controls">
<input id="webapiAuthkey_<?php echo $table_row['id'];?>" type="text" name="webapiAuthkey_<?php echo $table_row['id'];?>" value="<?php echo $table_row['webapiAuthkey'];?>">
<span class="help-block"><?php echo $sprache->authkey_info;?></span>
</div>
</div>
<?php } ?>
<!-- Content Header -->
<section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li><?php echo $sprache->server_details;?></li>
<li class="active"><?php echo $address;?></li>
</ol>
</section>
<?php if(!in_array($table_row['defaultMapGroup'],array('',null))){ ?>
<div class="N <?php if($table_row['workShop']=='Y') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> control-group">
<label class="control-label" for="mapGroup_<?php echo $table_row['id'];?>"><?php echo $sprache->startmapgroup;?></label>
<div class="controls">
<select id="mapGroup_<?php echo $table_row['id'];?>" name="mapGroup_<?php echo $table_row['id'];?>">
<?php foreach($table_row['mapGroupsAvailable'] as $g){ ?>
<option<?php if($g==$table_row['mapGroup']) echo ' selected="selected"';?>><?php echo $g;?></option>
<?php }?>
</select>
</div>
</div>
<?php } ?>
<?php } ?>
<!-- Main Content -->
<section class="content">
<!-- Content Help -->
<div class="row hidden-xs">
<div class="col-md-12">
<div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i>
<?php echo $sprache->help_md;?>
</div>
<?php } ?>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-edit icon-white"></i> <?php echo $gsprache->save;?></button>
<input type="hidden" name="action" value="md">
</div>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<form role="form" action="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $id;?>&amp;r=gs" 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">
<?php if ($pa['ftpaccess'] and $ftpAccess=='Y') { ?>
<div class="form-group">
<label for="ftppass"><?php echo $sprache->ftp_password;?></label>
<input class="form-control" id="ftppass" type="text" name="ftppass" value="<?php echo $ftppass;?>" required>
</div>
<?php } ?>
<div class="form-group">
<label for="gameswitch"><?php echo $sprache->gameswitch;?></label>
<select class="form-control" id="gameswitch" name="shorten" onchange="SwitchShowHideRows(this.value);">
<?php foreach ($table as $table_row){ ?>
<option value="<?php echo $table_row['id'];?>" <?php if($serverID==$table_row['id']) echo 'selected="selected"';?>><?php echo $table_row['description'];?></option>
<?php } ?>
</select>
</div>
<?php foreach ($table as $table_row) { ?>
<div class="<?php echo $table_row['id'].' '.$table_row['displayNone'];?> switch">
<?php if(count($table_row['mods'])>0){ ?>
<div class="form-group">
<label for="mod_<?php echo $table_row['id'];?>">Mods</label>
<select class="form-control" id="mod_<?php echo $table_row['id'];?>" name="mod_<?php echo $table_row['id'];?>">
<?php foreach ($table_row['mods'] as $mod_single) { ?>
<option <?php if($table_row['mod']==$mod_single) echo 'selected="selected"';?>><?php echo $mod_single;?></option>
<?php } ?>
</select>
</div>
<?php } ?>
<div class="form-group">
<label for="servertemplate_<?php echo $table_row['id'];?>"><?php echo $gsprache->template;?></label>
<select class="form-control" id="servertemplate_<?php echo $table_row['id'];?>" name="servertemplate_<?php echo $table_row['id'];?>">
<option value="1"><?php echo $table_row['shorten'];?></option>
<option value="2" <?php if($table_row['servertemplate']==2) echo "selected";?>><?php echo $table_row['shorten'];?>-2</option>
<option value="3" <?php if($table_row['servertemplate']==3) echo "selected";?>><?php echo $table_row['shorten'];?>-3</option>
</select>
</div>
<?php if (in_array($table_row['gamebinary'],array('hlds_run','srcds_run','cod4_lnxded'))) { ?>
<div class="form-group">
<label for="anticheat_<?php echo $table_row['id'];?>"><?php echo $sprache->anticheat;?></label>
<select class="form-control" id="anticheat_<?php echo $table_row['id'];?>" name="anticheat_<?php echo $table_row['id'];?>">
<option value="1"><?php echo $table_row['anticheatsoft']." ".$sprache->on;?></option>
<option value="2" <?php if($table_row['anticheat']==2) echo 'selected="selected"';?>><?php echo $table_row['anticheatsoft']." ".$sprache->off2;?></option>
<?php foreach($table_row['eac'] as $eac) echo $eac;?>
</select>
</div>
<?php } ?>
<?php if ($table_row['upload']==true) { ?>
<div class="form-group">
<label for="uploaddir_<?php echo $table_row['id'];?>">SourceTV Demo FTP</label>
<input class="form-control" id="uploaddir_<?php echo $table_row['id'];?>" type="text" name="uploaddir_<?php echo $table_row['id'];?>" value="<?php echo $table_row['uploaddir'];?>">
</div>
<?php } ?>
<?php if ($table_row['userfps']=="Y") { ?>
<div class="form-group">
<label for="fps_<?php echo $table_row['id'];?>"><?php echo $sprache->fps;?></label>
<input class="form-control" id="fps_<?php echo $table_row['id'];?>" type="text" name="fps_<?php echo $table_row['id'];?>" value="<?php echo $table_row['fps'];?>">
</div>
<?php } ?>
<?php if ($table_row['usertick']=="Y") { ?>
<div class="form-group">
<label for="tic_<?php echo $table_row['id'];?>"><?php echo $sprache->tick;?></label>
<input class="form-control" id="tic_<?php echo $table_row['id'];?>" type="text" name="tic_<?php echo $table_row['id'];?>" value="<?php echo $table_row['tic'];?>">
</div>
<?php } ?>
<?php if ($table_row['usermap']=="Y" and !in_array($table_row['map'],array('',null))) { ?>
<div class="form-group">
<label for="map_<?php echo $table_row['id'];?>"><?php echo $sprache->startmap;?></label>
<input class="form-control" id="map_<?php echo $table_row['id'];?>" type="text" name="map_<?php echo $table_row['id'];?>" value="<?php echo $table_row['map'];?>">
</div>
<?php if($table_row['workshopCollection']!==false){ ?>
<div class="form-group">
<label for="workShop_<?php echo $table_row['id'];?>">Steam Workshop</label>
<select class="form-control" id="workShop_<?php echo $table_row['id'];?>" name="workShop_<?php echo $table_row['id'];?>" onchange="SwitchShowHideRows(this.value,'mapGroupWorkShop-<?php echo $table_row['id'];?>');">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($table_row['workShop']=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
<div class="Y <?php if($table_row['workShop']=='N') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> form-group">
<label for="workshopCollection_<?php echo $table_row['id'];?>">Workshop Collection</label>
<input class="form-control" id="workshopCollection_<?php echo $table_row['id'];?>" type="text" name="workshopCollection_<?php echo $table_row['id'];?>" value="<?php echo $table_row['workshopCollection'];?>">
<span class="help-block"><?php echo $sprache->collection_info;?></span>
</div>
<div class="Y <?php if($table_row['workShop']=='N') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> form-group">
<label for="webapiAuthkey_<?php echo $table_row['id'];?>">Steam Webapi Authkey</label>
<input class="form-control" id="webapiAuthkey_<?php echo $table_row['id'];?>" type="text" name="webapiAuthkey_<?php echo $table_row['id'];?>" value="<?php echo $table_row['webapiAuthkey'];?>">
<span class="help-block"><?php echo $sprache->authkey_info;?></span>
</div>
<?php } ?>
<?php if(!in_array($table_row['defaultMapGroup'],array('',null))){ ?>
<div class="N <?php if($table_row['workShop']=='Y') echo 'display_none';?> mapGroupWorkShop-<?php echo $table_row['id'];?> form-group">
<label for="mapGroup_<?php echo $table_row['id'];?>"><?php echo $sprache->startmapgroup;?></label>
<select class="form-control" id="mapGroup_<?php echo $table_row['id'];?>" name="mapGroup_<?php echo $table_row['id'];?>">
<?php foreach($table_row['mapGroupsAvailable'] as $g){ ?>
<option<?php if($g==$table_row['mapGroup']) echo ' selected="selected"';?>><?php echo $g;?></option>
<?php }?>
</select>
</div>
<?php } ?>
<?php } ?>
</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">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

View File

@ -1,94 +1,122 @@
<div class="row-fluid">
<div class="span12">
<ul class="breadcrumb">
<li><a href="userpanel.php">Home</a> <span class="divider">/</span></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a> <span class="divider">/</span></li>
<li class="active"><?php echo $gsprache->migration;?></li>
</ul>
</div>
</div>
<?php if(count($error)>0) { ?>
<div class="row-fluid alert alert-error span11">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Error!</strong> <?php echo implode('<br />',$error);?>
</div>
<?php }?>
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal" action="userpanel.php?w=ms" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input type="hidden" name="token" value="<?php echo token();?>">
<input type="hidden" name="action" value="ms">
<h4><?php echo $sprache->import_source;?></h4>
<div class="control-group">
<label class="control-label" for="ftpAddress"><?php echo $sprache->ftp_adresse;?></label>
<div class="controls">
<input id="ftpAddress" type="text" name="ftpAddress" value="<?php echo $ftpAddress;?>" required>
<section class="content-header">
<h1><?php echo $gsprache->migration;?></h1>
<ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><?php echo $gsprache->gameserver;?></a></li>
<li class="active"><?php echo $gsprache->migration;?></li>
</ol>
</section>
<section class="content">
<form role="form" action="userpanel.php?w=ms" onsubmit="return confirm('<?php echo $gsprache->sure;?>');" method="post">
<input class="form-control" class="form-control" type="hidden" name="token" value="<?php echo token();?>">
<input class="form-control" class="form-control" type="hidden" name="action" value="ms">
<div class="col-md-6">
<div class="box box-info">
<div class="box-header">
<h4 class="box-title"><?php echo $sprache->import_source;?></h4>
</div>
<div class="box-body">
<?php if(count($error)>0) { ?>
<div class="row-fluid alert alert-error span11">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Error!</strong> <?php echo implode('<br />',$error);?>
</div>
<?php }?>
<div class="form-group">
<label for="ftpAddress"><?php echo $sprache->ftp_adresse;?></label>
<input class="form-control" id="ftpAddress" type="text" name="ftpAddress" value="<?php echo $ftpAddress;?>" required>
</div>
<div class="form-group">
<label for="ftpPort"><?php echo $sprache->ftp_port;?></label>
<input class="form-control" id="ftpPort" type="text" name="ftpPort" value="<?php echo $ftpPort;?>" required>
</div>
<div class="form-group">
<label for="ftpUser"><?php echo $sprache->ftp_user;?></label>
<input class="form-control" id="ftpUser" type="text" name="ftpUser" value="<?php echo $ftpUser;?>" required>
</div>
<div class="form-group">
<label for="ftpPassword"><?php echo $sprache->ftp_password;?></label>
<input class="form-control" id="ftpPassword" type="text" name="ftpPassword" value="<?php echo $ftpPassword;?>" required>
</div>
<div class="form-group">
<label for="ftpPath"><?php echo $sprache->ftp_path;?></label>
<input class="form-control" id="ftpPath" type="text" name="ftpPath" value="<?php echo $ftpPath;?>">
</div>
<div class="form-group">
<label for="ssl">SSL</label>
<select class="form-control" id="ssl" name="ssl">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($ssl=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" for="ftpPort"><?php echo $sprache->ftp_port;?></label>
<div class="controls">
<input id="ftpPort" type="text" name="ftpPort" value="<?php echo $ftpPort;?>" required>
</div>
<div class="col-md-6">
<div class="box box-info">
<div class="box-header">
<h4 class="box-title"><?php echo $sprache->import_destination;?></h4>
</div>
<div class="box-body">
<div class="form-group">
<label for="server"><?php echo $sprache->server;?></label>
<select class="form-control" id="server" name="switchID" onchange="SwitchShowHideRows(this.value, 'switch', 1)">
<option></option>
<?php foreach($table as $row){ ?><option value="<?php echo $row['id'];?>" <?php if($thisID==$row['id']) echo 'selected="selected"';?>><?php echo $row['address'];?></option><?php }?>
</select>
</div>
<?php foreach($table as $row){ ?>
<div class="<?php echo $row['id'];?> form-group switch <?php if($thisID!=$row['id']) echo 'display_none';?>">
<label for="<?php echo $row['id'];?>-template"><?php echo $gsprache->template;?></label>
<select class="form-control" id="<?php echo $row['id'];?>-template" name="template[<?php echo $row['id'];?>]">
<?php foreach($row['games'] as $game){ ?>
<option value="<?php echo $game['shorten'];?>" <?php if($thisTemplate==$game['shorten']) echo 'selected="selected"';?>><?php echo $game['shorten'].' ('.$game['description'].')';?></option>
<option value="<?php echo $game['shorten'].'-2';?>" <?php if($thisTemplate==$game['shorten'].'-2') echo 'selected="selected"';?>><?php echo $game['shorten'].'-2 ('.$game['description'].')';?></option>
<option value="<?php echo $game['shorten'].'-3';?>" <?php if($thisTemplate==$game['shorten'].'-3') echo 'selected="selected"';?>><?php echo $game['shorten'].'-3 ('.$game['description'].')';?></option>
<?php }?>
</select>
</div>
<?php }?>
</div>
<div class="box-footer">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="fa fa-play"></i> <?php echo $gsprache->exec;?></button>
</div>
</div>
<div class="control-group">
<label class="control-label" for="ftpUser"><?php echo $sprache->ftp_user;?></label>
<div class="controls">
<input id="ftpUser" type="text" name="ftpUser" value="<?php echo $ftpUser;?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label" for="ftpPassword"><?php echo $sprache->ftp_password;?></label>
<div class="controls">
<input id="ftpPassword" type="text" name="ftpPassword" value="<?php echo $ftpPassword;?>" required>
</div>
</div>
<div class="control-group">
<label class="control-label" for="ftpPath"><?php echo $sprache->ftp_path;?></label>
<div class="controls">
<input id="ftpPath" type="text" name="ftpPath" value="<?php echo $ftpPath;?>">
</div>
</div>
<div class="control-group">
<label class="control-label" for="ssl">SSL</label>
<div class="controls">
<select id="ssl" name="ssl">
<option value="N"><?php echo $gsprache->no;?></option>
<option value="Y" <?php if($ssl=='Y') echo 'selected="selected"';?>><?php echo $gsprache->yes;?></option>
</select>
</div>
</div>
<hr>
<h4><?php echo $sprache->import_destination;?></h4>
<div class="control-group">
<label class="control-label" for="server"><?php echo $sprache->server;?></label>
<div class="controls">
<select id="server" name="switchID" onchange="SwitchShowHideRows(this.value)">
<option></option>
<?php foreach($table as $row){ ?><option value="<?php echo $row['id'];?>" <?php if($thisID==$row['id']) echo 'selected="selected"';?>><?php echo $row['address'];?></option><?php }?>
</select>
</div>
</div>
<?php foreach($table as $row){ ?>
<div class="<?php echo $row['id'];?> control-group switch <?php if($thisID!=$row['id']) echo 'display_none';?>">
<label class="control-label" for="<?php echo $row['id'];?>-template"><?php echo $gsprache->template;?></label>
<div class="controls">
<select id="<?php echo $row['id'];?>-template" name="template[<?php echo $row['id'];?>]">
<?php foreach($row['games'] as $game){ ?>
<option value="<?php echo $game['shorten'];?>" <?php if($thisTemplate==$game['shorten']) echo 'selected="selected"';?>><?php echo $game['shorten'].' ('.$game['description'].')';?></option>
<option value="<?php echo $game['shorten'].'-2';?>" <?php if($thisTemplate==$game['shorten'].'-2') echo 'selected="selected"';?>><?php echo $game['shorten'].'-2 ('.$game['description'].')';?></option>
<option value="<?php echo $game['shorten'].'-3';?>" <?php if($thisTemplate==$game['shorten'].'-3') echo 'selected="selected"';?>><?php echo $game['shorten'].'-3 ('.$game['description'].')';?></option>
<?php }?>
</select>
</div>
</div>
<?php }?>
<div class="control-group">
<label class="control-label" for="inputEdit"></label>
<div class="controls">
<button class="btn btn-primary" id="inputEdit" type="submit"><i class="icon-play-circle icon-white"></i> <?php echo $gsprache->exec;?></button>
</div>
</div>
</form>
</div>
</div>
</div>
</form>
</section>
<script type="text/javascript">
window.onDomReady = initReady;
function initReady(fn) {
if(document.addEventListener) {
document.addEventListener("DOMContentLoaded", fn, false);
} else {
document.onreadystatechange = function() {
readyState(fn);
}
}
}
function readyState(func) {
if(document.readyState == "interactive" || document.readyState == "complete") {
func();
}
}
window.onDomReady(onReady); function onReady() {
SwitchShowHideRows('init_ready');
}
</script>

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