This commit is contained in:
Nexus633 2020-07-20 23:23:01 +02:00
commit ec58d4b7c9
2 changed files with 183 additions and 336 deletions

View File

@ -1,339 +1,187 @@
<section class="content-header"> <section class="content-header">
<h1><?php echo $gsprache->gameserver;?></h1> <h1><?php echo $gsprache->gameserver;?></h1>
<ol class="breadcrumb"> <ol class="breadcrumb">
<li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li> <li><a href="userpanel.php"><i class="fa fa-home"></i> Home</a></li>
<li><a href="userpanel.php?w=gs"><i class="fa fa-gamepad"></i> <?php echo $gsprache->gameserver;?></a></li> <li><a href="userpanel.php?w=gs"><i class="fa fa-gamepad"></i> <?php echo $gsprache->gameserver;?></a></li>
<li class="active"> <li class="active">
<?php echo $gsprache->overview;?> <?php echo $gsprache->overview;?>
</li> </li>
</ol> </ol>
</section> </section>
<?php if($userWantsHelpText=='Y'){ ?> <?php if($userWantsHelpText=='Y'){ ?>
<section style="padding-left: 20px" class="content"> <section style="padding-left: 20px" class="content">
<div class="row hidden-xs"> <div class="row hidden-xs">
<div class="col-md-12"> <div class="col-md-12">
<div class="alert alert-info alert-dismissable"> <div class="alert alert-info alert-dismissable">
<i class="fa fa-info"></i> <i class="fa fa-info"></i>
<?php echo $sprache->help_list;?> <?php echo $sprache->help_list;?>
</div> </div>
</div>
</div>
</section>
<?php } ?>
<div class="container-fluid">
<div class="row">
<?php
$gsa = 0;
foreach ($table as $table_row){ $gsa++;?>
<div class="col-md-12">
<div class="border panel box <?php if($table_row['img']=='16_bad') echo 'alert alert-warning'; else if($table_row['img']=='16_error') echo 'alert alert-danger '; else echo 'alert alert-success ';?>">
<div class="box-header">
<h3 class="box-title"><img height="30px" width="auto" src="images/games/icons/<?php echo $table_row['gameShorten'];?>.png" alt="<?php echo $table_row['gameShorten'];?>" width="18"> <?php if($table_row['gameShorten']=="arkse" || $table_row['gameShorten']=="arksoft"){ $port = $table_row['port']; echo $table_row['ip'].':'.++$port; } else { echo $table_row['server']; } echo ' '.$table_row['name'];?> <a class="badge float-right">Server <?php echo "$gsa" ?> </a></h3>
</div> </div>
</div> <div class="box-body">
</section> <?php if(!empty($table_row['premoved'])){ ?>
<?php } ?> <div class="alert alert-danger alert-dismissable"><i class="fa fa-warning"></i>
<?php echo $table_row['premoved'];?>
<div class="container-fluid"> </div>
<div class="row"> <?php } ?>
<?php <?php if(!empty($table_row['nameremoved'])){ ?>
$gsa = 0; <div class="alert alert-danger alert-dismissable"><i class="fa fa-warning"></i>
foreach ($table as $table_row){ $gsa++;?> <?php echo $table_row['nameremoved'];?>
</div>
<div class="col-md-12"> <?php } ?>
<div class="border panel box <?php if($table_row['img']=='16_bad') echo 'alert alert-warning'; else if($table_row['img']=='16_error') echo 'alert alert-danger '; else echo 'alert alert-success ';?>"> <section <?php if ($gsnavigation=='1' ){ echo 'style="padding-left: 20px"';} else { echo 'style="display:none!important"';} ?>>
<div class="box-header"> <div class="form-group">
<h3 class="box-title"><img height="30px" width="auto" src="images/games/icons/<?php echo $table_row['gameShorten'];?>.png" alt="<?php echo $table_row['gameShorten'];?>" width="18"> <?php if($table_row['gameShorten']=="arkse" || $table_row['gameShorten']=="arksoft"){ $port = $table_row['port']; echo $table_row['ip'].':'.++$port; } else { echo $table_row['server']; } echo ' '.$table_row['name'];?> <a class="badge float-right">Server <?php echo "$gsa" ?> </a></h3> <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;?>');">
</div> <button class="btn btn-outline-success inline"><i class="icon-white icon-play"></i>
<div class="box-body"> <?php if ($table_row['stopped']=='N') {echo "Restart";} else {echo "Start";} ?>
<?php if(!empty($table_row['premoved'])){ ?> </button>
<div class="alert alert-danger alert-dismissable"><i class="fa fa-warning"></i> </a>
<?php echo $table_row['premoved'];?> <?php if($table_row['stopped']=='N'){ ?>
</div> <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;?>');">
<?php } ?> <button class="btn btn-outline-danger"><i class="fa fa-power-off"></i>
<?php if(!empty($table_row['nameremoved'])){ ?> <?php echo $sprache->stop;?>
<div class="alert alert-danger alert-dismissable"><i class="fa fa-warning"></i> </button>
<?php echo $table_row['nameremoved'];?> </a>
</div> <?php } ?>
<?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-outline-<?php if($table_row['imgp']=='16_protected')echo 'info';else if($table_row['imgp']=='16_unprotected') echo 'warning';?>"><i class="fas fa-shield-alt"></i> <?php echo $sprache->protect.' '.$table_row['pro'];?></button></a>
<?php } ?>
<section <?php if ($gsnavigation=='1' ){ echo 'style="padding-left: 20px"';} else { echo 'style="display:none!important"';} ?>> <a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $table_row['id'];?>">
<div class="form-group"> <button class="btn btn-outline-info"><i class="fa fa-cogs"></i>
<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;?>');"> <?php echo $sprache->config;?>
<button class="btn btn-outline-success inline"><i class="icon-white icon-play"></i> </button>
<?php if ($table_row['stopped']=='N') {echo "Restart";} else {echo "Start";} ?> </a>
</button> <?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['ftpAllowed']) { ?>
</a> <a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>">
<?php if($table_row['stopped']=='N'){ ?> <button class="btn btn-outline-info"><i class="fa fa-files-o"></i>
<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;?>');"> <?php echo $sprache->webFtp;?>
<button class="btn btn-outline-danger"><i class="fa fa-power-off"></i> </button>
<?php echo $sprache->stop;?> </a>
</button> <?php } ?>
</a> <?php if($pa['useraddons']){ ?>
<?php } ?> <a href="userpanel.php?w=ao&amp;id=<?php echo $table_row['id'];?>">
<?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-outline-<?php if($table_row['imgp']=='16_protected')echo 'info';else if($table_row['imgp']=='16_unprotected') echo 'warning';?>"><i class="fas fa-shield-alt"></i> <?php echo $sprache->protect.' '.$table_row['pro'];?></button></a> <button class="btn btn-outline-info"><i class="fa fa-puzzle-piece"></i>
<?php } ?> <?php echo $gsprache->addon;?>
<a href="userpanel.php?w=gs&amp;d=cf&amp;id=<?php echo $table_row['id'];?>"> </button>
<button class="btn btn-outline-info"><i class="fa fa-cogs"></i> </a>
<?php echo $sprache->config;?> <?php } ?>
</button> <a href="userpanel.php?w=ca&amp;id=<?php echo $table_row['id'];?>">
</a> <button class="btn btn-outline-info"><i class="fa fa-calendar"></i>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['ftpAllowed']) { ?> <?php echo $sprache->restarttime;?>
<a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>"> </button>
<button class="btn btn-outline-info"><i class="fa fa-files-o"></i> </a>
<?php echo $sprache->webFtp;?> <div class="btn-group">
</button> <button data-toggle="dropdown" class="btn btn-outline-info dropdown-toggle"><i class="fa fa-floppy-o"></i>
</a> <?php echo $gsprache->backup;?> <span class="caret"></span></button>
<?php } ?> <ul class="dropdown-menu">
<?php if($pa['useraddons']){ ?> <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>
<a href="userpanel.php?w=ao&amp;id=<?php echo $table_row['id'];?>"> <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>
<button class="btn btn-outline-info"><i class="fa fa-puzzle-piece"></i> <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>
<?php echo $gsprache->addon;?> </ul>
</button> </div>
</a> <a href="userpanel.php?w=gs&amp;d=sl&amp;id=<?php echo $table_row['id'];?>">
<?php } ?> <button class="btn btn-outline-info"><i class="fa fa-terminal"></i>
<a href="userpanel.php?w=ca&amp;id=<?php echo $table_row['id'];?>"> <?php echo $imageSprache->liveConsole;?>
<button class="btn btn-outline-info"><i class="fa fa-calendar"></i> </button>
<?php echo $sprache->restarttime;?> </a>
</button> <a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>">
</a> <button class="btn btn-outline-info"><i class="fa fa-cog"></i>
<div class="btn-group"> <?php echo $gsprache->settings;?>
<button data-toggle="dropdown" class="btn btn-outline-info dropdown-toggle"><i class="fa fa-floppy-o"></i> </button>
<?php echo $gsprache->backup;?> <span class="caret"></span></button> </a>
<ul class="dropdown-menu"> <a href="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $table_row['id'];?>">
<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> <button class="btn btn-outline-dark"><i class="fa fa-refresh"></i>
<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> <?php echo $sprache->reinstall;?>
<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> </button>
</ul> </a>
</div> <?php if($table_row['upload']==true){ ?>
<a href="userpanel.php?w=gs&amp;d=sl&amp;id=<?php echo $table_row['id'];?>"> <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-outline-info"><i class="fa fa-terminal"></i> <button class="btn btn-sm btn-info"><i class="icon-white icon-film"></i> SourceTV</button>
<?php echo $imageSprache->liveConsole;?> </a>
</button> <?php } ?>
</a> </section>
<a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>"> </div>
<button class="btn btn-outline-info"><i class="fa fa-cog"></i> <section>
<?php echo $gsprache->settings;?> <style type="text/css">
</button> .list-group-item {
</a> height: 30px;
<a href="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $table_row['id'];?>"> font-size: 14px;
<button class="btn btn-outline-dark"><i class="fa fa-refresh"></i> border: 0px solid rgba(0, 0, 0, 0)!important;
<?php echo $sprache->reinstall;?> background-color: <?php if($table_row['img']=='16_bad') echo 'rgba(255, 138, 0, 0.01)';
</button> else if($table_row['img']=='16_error') echo 'rgba(210, 0, 0, 0.01)';
</a> else echo 'rgba(0, 150, 136, 0.01)';
<?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> </style>
</a> <hr>
<?php } ?> <div class="row">
<div class="col">
</section> <ul class="list-group list-group-flush">
</div> <li class="list-group-item"><b>GameSwitch:</b>
<?php if ($hideinfo == '1'){ echo '<button style="height: 30px; font-size:16px;" class="btn-outline-secondary btn-lg btn-block" type="button" data-toggle="collapse" data-target="#'.$table_row['cname'].'" aria-expanded="false" aria-controls="collapseExample">more informations:</button><div class="collapse" id="'.$table_row['cname'].'"><div class="card card-body">';} else { echo'';}?> <?php echo $table_row['shorten'];?>
</li>
<section <?php if ($hideinfo=='3' ){ echo 'style="display:none!important"';} ?>> <li class="list-group-item"><b>Ping:</b>
<style type="text/css"> <?php
.list-group-item { $port = $table_row['port'];
height: 30px; $host = $table_row['ip'].':'.++$port;
font-size: 14px; $host2 = $table_row['ip'];
border: 0px solid rgba(0, 0, 0, 0)!important; if ($pingcfg == '1') { $pingTime = shell_exec('ping -W 3 -q -c 2 -s 21 ' . $host2 . ' | grep -o "... ms" ');
background-color: <?php if($table_row['img']=='16_bad') echo 'rgba(255, 138, 0, 0.01)'; echo "$pingTime"; } else {echo "ping function disabled";}
else if($table_row['img']=='16_error') echo 'rgba(210, 0, 0, 0.01)'; ?>
else echo 'rgba(0, 150, 136, 0.01)'; </li>
?> <li class="list-group-item"><b>Location:</b>
} <?php $host2 = $table_row['ip']; $xmlcu = simplexml_load_file("http://ip-api.com/xml/".$host2); echo "$xmlcu->country"; ?>
</style> </li>
<hr> <li class="list-group-item"><b><?php echo $sprache->updatetime;?>:</b>
<div class="row"> <?php echo $table_row['updatetime'];?>
<div class="col"> </li>
<ul class="list-group list-group-flush"> <li class="list-group-item"><b><?php echo $sprache->map;?>:</b>
<li class="list-group-item"><b>GameSwitch:</b> <?php echo $table_row['map'];?>
<?php echo $table_row['shorten'];?> </li>
</li> <li class="list-group-item"><b><?php echo $sprache->player;?>:</b>
<?php echo $table_row['numplayers']?> /
<li class="list-group-item"><b>Ping:</b> <?php echo $table_row['maxplayers'];?>
<?php </li>
$port = $table_row['port']; </div>
$host = $table_row['ip'].':'.++$port; <div class="col">
$host2 = $table_row['ip']; <?php if($table_row['ramLimited']=='Y') { ?>
if ($pingcfg == '1') { $pingTime = shell_exec('ping -W 3 -q -c 2 -s 21 ' . $host2 . ' | grep -o "... ms" '); <li class="list-group-item"><b><?php echo $sprache->ramMax;?>:</b>
echo "$pingTime"; } else {echo "ping function disabled";} <?php echo $table_row['maxram'];?> MB</li>
?> <?php } ?>
</li> <?php if($table_row['taskset']=='Y' and $table_row['coreCount']>0) { ?>
<li class="list-group-item"><b><?php echo $sprache->coreBind;?>:</b>
<li class="list-group-item"><b>Location:</b> <?php echo $table_row['cores'].' ('.$table_row['coreCount'].')';?>
<?php </li>
if ($location == '1') { $xmlcu = simplexml_load_file("http://ip-api.com/xml/".$host2); echo "$xmlcu->country"; } else {echo "location is hidden";} <?php } ?>
?> <?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['ftpAllowed']) { ?>
</li> <li class="list-group-item"><b><?php echo $sprache->ftp_link;?>:</b>
<li class="list-group-item"><b><?php echo $sprache->updatetime;?>:</b> <a href="<?php echo $table_row['ftpdata'];?>">
<?php echo $table_row['updatetime'];?> <?php echo $table_row['ftpdata'];?>
</li> </a>
<li class="list-group-item"><b><?php echo $sprache->map;?>:</b> </li>
<?php echo $table_row['map'];?> <?php } ?>
</li> <li class="list-group-item"><b><?php echo $sprache->ftp_adresse;?>:</b> ftp://
<li class="list-group-item"><b><?php echo $sprache->player;?>:</b> <?php echo $table_row['ip'].":".$table_row['ftpport'].$pserver.$table_row['shorten'];?>
<?php echo $table_row['numplayers']?> / </li>
<?php echo $table_row['maxplayers'];?> <li class="list-group-item"><b><?php echo $sprache->ftp_user;?>:</b>
</li> <?php echo $table_row['cname'];?>
</div> </li>
<div class="col"> <li class="list-group-item"><b><?php echo $sprache->ftp_password;?>:</b>
<?php if($table_row['ramLimited']=='Y') { ?> <?php echo $table_row['cftppass'];?>
<li class="list-group-item"><b><?php echo $sprache->ramMax;?>:</b> </li>
<?php echo $table_row['maxram'];?> MB</li> <li class="list-group-item"></li>
<?php } ?> </ul>
<?php if($table_row['taskset']=='Y' and $table_row['coreCount']>0) { ?> </div>
<li class="list-group-item"><b><?php echo $sprache->coreBind;?>:</b> </div></section></section></div></div>
<?php echo $table_row['cores'].' ('.$table_row['coreCount'].')';?> <?php }?>
</li>
<?php } ?>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['ftpAllowed']) { ?>
<li class="list-group-item"><b><?php echo $sprache->ftp_link;?>:</b>
<a href="<?php echo $table_row['ftpdata'];?>">
<?php echo $table_row['ftpdata'];?>
</a>
</li>
<?php } ?>
<li class="list-group-item"><b><?php echo $sprache->ftp_adresse;?>:</b> ftp://
<?php echo $table_row['ip'].":".$table_row['ftpport'].$pserver.$table_row['shorten'];?>
</li>
<li class="list-group-item"><b><?php echo $sprache->ftp_user;?>:</b>
<?php echo $table_row['cname'];?>
</li>
<li class="list-group-item"><b><?php echo $sprache->ftp_password;?>:</b>
<?php echo $table_row['cftppass'];?>
</li>
<li class="list-group-item"></li>
</ul>
</div>
</div>
</section>
<hr>
<section <?php if ($gsnavigation=='2' ){ echo 'style="padding-left: 20px"';} else { echo 'style="display:none!important"';} ?>>
<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-outline-success inline"><i class="icon-white icon-play"></i>
<?php if ($table_row['stopped']=='N') {
echo "Restart";
} else {
echo "Start";
} ?>
</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-outline-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-outline-<?php if($table_row['imgp']=='16_protected')echo 'info';else if($table_row['imgp']=='16_unprotected') echo 'warning';?>"><i class="fas fa-shield-alt"></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-outline-info"><i class="fa fa-cogs"></i>
<?php echo $sprache->config;?>
</button>
</a>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['ftpAllowed']) { ?>
<a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>">
<button class="btn btn-outline-info"><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-outline-info"><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-outline-info"><i class="fa fa-calendar"></i>
<?php echo $sprache->restarttime;?>
</button>
</a>
<div class="btn-group">
<button data-toggle="dropdown" class="btn btn-outline-info 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="userpanel.php?w=gs&amp;d=sl&amp;id=<?php echo $table_row['id'];?>">
<button class="btn btn-outline-info"><i class="fa fa-terminal"></i>
<?php echo $imageSprache->liveConsole;?>
</button>
</a>
<a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>">
<button class="btn btn-outline-info"><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-outline-dark"><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 } ?>
</section>
<section <?php if ($gsnavigation=='3' ){ echo '';} else { echo 'style="display:none!important"';} ?>>
<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="restartbutton<?php echo $user_language ?>"></button>
</a>
<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="stopbutton<?php echo $user_language ?>"></button>
</a>
<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="startbutton<?php echo $user_language ?>"></button>
</a>
<?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="fas fa-shield-alt"></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="cfgbutton<?php echo $user_language ?>"></button>
</a>
<?php if(($pa['ftpaccess'] or $pa['miniroot']) and $table_row['ftpAllowed']) { ?>
<a href="userpanel.php?w=gs&amp;d=wf&amp;id=<?php echo $table_row['id'];?>">
<button class="ftpbutton<?php echo $user_language ?>"></button>
</a>
<?php } ?>
<?php if($pa['useraddons']){ ?>
<a href="userpanel.php?w=ao&amp;id=<?php echo $table_row['id'];?>">
<button class="modbutton<?php echo $user_language ?>"></button>
</a>
<?php } ?>
<a href="userpanel.php?w=ca&amp;id=<?php echo $table_row['id'];?>">
<button class="restartplabutton<?php echo $user_language ?>"></button>
</a>
<a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=mb&amp;r=gs">
<button class="cbackupsbutton<?php echo $user_language ?>"></button>
</a>
<a href="userpanel.php?w=bu&amp;id=<?php echo $table_row['id'];?>&amp;action=rb">
<button class="rbackupsbutton<?php echo $user_language ?>"></button>
</a>
<a href="userpanel.php?w=gs&amp;d=sl&amp;id=<?php echo $table_row['id'];?>">
<button class="consolebutton<?php echo $user_language ?>"></button>
</a>
<a href="userpanel.php?w=gs&amp;d=md&amp;id=<?php echo $table_row['id'];?>">
<button class="settingsbutton<?php echo $user_language ?>"></button>
</a>
<a href="userpanel.php?w=gs&amp;d=ri&amp;id=<?php echo $table_row['id'];?>">
<button class="reinstallbutton<?php echo $user_language ?>"></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>
</div>
</section>
</div>
<?php }?>
</section>
<?php include 'template/AEON/config.php'; if ($hideinfo == '1') { echo'</div></div>';} ?>
</ul></div></div></section></div></div></div></div></div></div>

View File

@ -225,7 +225,6 @@
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item" href="index.php"><i class="fas fa-sign-in-alt"></i> Frontend</a> <a class="dropdown-item" href="index.php"><i class="fas fa-sign-in-alt"></i> Frontend</a>
<?php if ($support_phonenumber!="") echo '<a class="dropdown-item" href="#"><i class="fa fa-phone fa-fw"></i> '.$gsprache->hotline.": ".$support_phonenumber.'</a>';?> <?php if ($support_phonenumber!="") echo '<a class="dropdown-item" href="#"><i class="fa fa-phone fa-fw"></i> '.$gsprache->hotline.": ".$support_phonenumber.'</a>';?>
<?php include 'template/AEON/config.php'; if ($mailkontakt!=""){ echo'<a class="dropdown-item" href="mailto:'.$mailkontakt.'"><i class="fas fa-envelope-open-text"></i> '. $mailkontakt.'</a>';} else { echo '';}?>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item" href="userpanel.php?w=se&amp;d=pw"><i class="fa fa-key fa-fw"></i> <?php echo $gsprache->password." ".$gsprache->change;?></a> <a class="dropdown-item" href="userpanel.php?w=se&amp;d=pw"><i class="fa fa-key fa-fw"></i> <?php echo $gsprache->password." ".$gsprache->change;?></a>
<a class="dropdown-item" href="userpanel.php?w=se"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a> <a class="dropdown-item" href="userpanel.php?w=se"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a>