mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
Removed Useless Lines
This commit is contained in:
parent
14f90f666b
commit
8bc924f296
@ -20,13 +20,11 @@
|
||||
</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">
|
||||
@ -43,7 +41,6 @@
|
||||
<?php echo $table_row['nameremoved'];?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<section <?php if ($gsnavigation=='1' ){ echo 'style="padding-left: 20px"';} else { echo 'style="display:none!important"';} ?>>
|
||||
<div class="form-group">
|
||||
<a href="userpanel.php?w=gs&d=rs&id=<?php echo $table_row['id'];?>&r=gs" onclick="return confirm('<?php echo $table_row['server'];?>: <?php echo $sprache->confirm_restart;?>');">
|
||||
@ -113,12 +110,9 @@
|
||||
<button class="btn btn-sm btn-info"><i class="icon-white icon-film"></i> SourceTV</button>
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
</section>
|
||||
</div>
|
||||
<?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'';}?>
|
||||
|
||||
<section <?php if ($hideinfo=='3' ){ echo 'style="display:none!important"';} ?>>
|
||||
<section>
|
||||
<style type="text/css">
|
||||
.list-group-item {
|
||||
height: 30px;
|
||||
@ -137,7 +131,6 @@
|
||||
<li class="list-group-item"><b>GameSwitch:</b>
|
||||
<?php echo $table_row['shorten'];?>
|
||||
</li>
|
||||
|
||||
<li class="list-group-item"><b>Ping:</b>
|
||||
<?php
|
||||
$port = $table_row['port'];
|
||||
@ -147,11 +140,8 @@
|
||||
echo "$pingTime"; } else {echo "ping function disabled";}
|
||||
?>
|
||||
</li>
|
||||
|
||||
<li class="list-group-item"><b>Location:</b>
|
||||
<?php
|
||||
if ($location == '1') { $xmlcu = simplexml_load_file("http://ip-api.com/xml/".$host2); echo "$xmlcu->country"; } else {echo "location is hidden";}
|
||||
?>
|
||||
<?php $host2 = $table_row['ip']; $xmlcu = simplexml_load_file("http://ip-api.com/xml/".$host2); echo "$xmlcu->country"; ?>
|
||||
</li>
|
||||
<li class="list-group-item"><b><?php echo $sprache->updatetime;?>:</b>
|
||||
<?php echo $table_row['updatetime'];?>
|
||||
@ -193,147 +183,5 @@
|
||||
<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&d=rs&id=<?php echo $table_row['id'];?>&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&d=st&id=<?php echo $table_row['id'];?>&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>
|
||||
</div></section></section></div></div>
|
||||
<?php }?>
|
||||
<?php if(!empty($table_row['pro'])){ ?><a href="userpanel.php?w=pr&id=<?php echo $table_row['id'];?>&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&d=cf&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&d=wf&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&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&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&id=<?php echo $table_row['id'];?>&action=mb&r=gs"><i class="fa fa-plus-circle fa-fw"></i> <?php echo $sprache->create;?></a></li>
|
||||
<li><a href="userpanel.php?w=bu&id=<?php echo $table_row['id'];?>&action=rb"><i class="fa fa-refresh fa-fw"></i> <?php echo $sprache->recover;?></a></li>
|
||||
<li><a href="userpanel.php?w=bu&id=<?php echo $table_row['id'];?>&action=md"><i class="fa fa-cog fa-fw"></i> <?php echo $gsprache->settings;?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a href="userpanel.php?w=gs&d=sl&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&d=md&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&d=ri&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&d=du&id=<?php echo $table_row['id'];?>&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&d=rs&id=<?php echo $table_row['id'];?>&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&d=st&id=<?php echo $table_row['id'];?>&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&d=rs&id=<?php echo $table_row['id'];?>&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&id=<?php echo $table_row['id'];?>&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&d=cf&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&d=wf&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&id=<?php echo $table_row['id'];?>">
|
||||
<button class="modbutton<?php echo $user_language ?>"></button>
|
||||
</a>
|
||||
<?php } ?>
|
||||
<a href="userpanel.php?w=ca&id=<?php echo $table_row['id'];?>">
|
||||
<button class="restartplabutton<?php echo $user_language ?>"></button>
|
||||
</a>
|
||||
|
||||
<a href="userpanel.php?w=bu&id=<?php echo $table_row['id'];?>&action=mb&r=gs">
|
||||
<button class="cbackupsbutton<?php echo $user_language ?>"></button>
|
||||
</a>
|
||||
<a href="userpanel.php?w=bu&id=<?php echo $table_row['id'];?>&action=rb">
|
||||
<button class="rbackupsbutton<?php echo $user_language ?>"></button>
|
||||
</a>
|
||||
|
||||
<a href="userpanel.php?w=gs&d=sl&id=<?php echo $table_row['id'];?>">
|
||||
<button class="consolebutton<?php echo $user_language ?>"></button>
|
||||
</a>
|
||||
<a href="userpanel.php?w=gs&d=md&id=<?php echo $table_row['id'];?>">
|
||||
<button class="settingsbutton<?php echo $user_language ?>"></button>
|
||||
</a>
|
||||
<a href="userpanel.php?w=gs&d=ri&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&d=du&id=<?php echo $table_row['id'];?>&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>
|
@ -225,7 +225,6 @@
|
||||
<div class="dropdown-divider"></div>
|
||||
<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 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>
|
||||
<a class="dropdown-item" href="userpanel.php?w=se&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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user