first commit
|
@ -10,6 +10,7 @@ echo "<pre>";
|
||||||
print_r($Info);
|
print_r($Info);
|
||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
|
|
||||||
|
|
||||||
// test REGEX
|
// test REGEX
|
||||||
echo "<h1>RESULAT parser JSON </h1><code>";
|
echo "<h1>RESULAT parser JSON </h1><code>";
|
||||||
echo "Hostname: " .$HostName . "<br>";
|
echo "Hostname: " .$HostName . "<br>";
|
||||||
|
@ -119,6 +120,9 @@ echo "<br>";
|
||||||
$output = implode(",", array($InfoGT));
|
$output = implode(",", array($InfoGT));
|
||||||
echo $output;
|
echo $output;
|
||||||
|
|
||||||
|
echo "<br><hr>";
|
||||||
|
echo "<h1>get_defined_vars() </h1>";
|
||||||
|
echo '<pre><code>' . print_r(get_defined_vars(), true) . '</code></pre>';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
BIN
img/ayZ-Chernarus-Map.jpg
Normal file
After Width: | Height: | Size: 132 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
BIN
img/dayz400.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
118
index.php
|
@ -28,50 +28,15 @@ $sec = "300";
|
||||||
<link id="theme-style" href="css/style_dark.css" rel="stylesheet">
|
<link id="theme-style" href="css/style_dark.css" rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.tab-content {
|
.tab-content {margin-top: -1px; background: #3a4149;border: none;border-radius: 0 0 .25rem .25rem;}
|
||||||
margin-top: -1px;
|
a,a:visited {color: #20A8D8;text-decoration: none;}
|
||||||
background: #3a4149;
|
a:hover {color: orange; text-decoration: none;}
|
||||||
border: none;
|
.description-header {color: #26A65B;}
|
||||||
border-radius: 0 0 .25rem .25rem;
|
.label-danger { background-color: #EF4836;}
|
||||||
}
|
.label-warning {background-color: #F89406;color: white; }
|
||||||
|
.label-success {background-color: #26A65B;}
|
||||||
a,
|
.label-primary {background-color: #4183D7;color: green; }
|
||||||
a:visited {
|
.label-info { background-color: #5bc0de;}
|
||||||
color: #20A8D8;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color: orange;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-header {
|
|
||||||
color: #26A65B;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-danger {
|
|
||||||
background-color: #EF4836;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-warning {
|
|
||||||
background-color: #F89406;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-success {
|
|
||||||
background-color: #26A65B;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-primary {
|
|
||||||
background-color: #4183D7;
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-info {
|
|
||||||
background-color: #5bc0de;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
display: inline;
|
display: inline;
|
||||||
padding: .2em .6em .3em;
|
padding: .2em .6em .3em;
|
||||||
|
@ -84,18 +49,12 @@ $sec = "300";
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
border-radius: .25em;
|
border-radius: .25em;
|
||||||
}
|
}
|
||||||
|
.selection { color: black !important;}
|
||||||
.selection { color: black !important; }
|
.select2-results { color: black !important;}
|
||||||
|
.select2-results__option--highlighted { background-color: #3875d7 !important;}
|
||||||
.select2-results { color: black !important; }
|
.pull-left { float: left !important;}
|
||||||
|
.pull-right { float: right !important;}
|
||||||
.select2-results__option--highlighted { background-color: #3875d7 !important; }
|
.navbar-brand-logo { margin-left: 2rem;}
|
||||||
|
|
||||||
.pull-left { float: left !important; }
|
|
||||||
|
|
||||||
.pull-right { float: right !important; }
|
|
||||||
|
|
||||||
.navbar-brand-logo { margin-left: 2rem; }
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
@ -109,12 +68,12 @@ $sec = "300";
|
||||||
$Info['HostName'] = "<h1>OFF LINE</h1>" ;
|
$Info['HostName'] = "<h1>OFF LINE</h1>" ;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<main class="main" style="margin-top: 10px">
|
|
||||||
|
|
||||||
<!-- Breadcrumb-->
|
<main class="main" style="margin-top: 10px">
|
||||||
<ol class=""></ol>
|
<!-- Breadcrumb <ol class=""></ol>-->
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
<center><img height="" width="" src="img/DayZStats.png"></center>
|
||||||
<div id="ui-view">
|
<div id="ui-view">
|
||||||
|
|
||||||
<div class="animated fadeIn">
|
<div class="animated fadeIn">
|
||||||
|
@ -137,13 +96,13 @@ $sec = "300";
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (empty($Info['Map'])) {
|
if (empty($Info['Map'])) {
|
||||||
echo "</main>";
|
echo "</main>";
|
||||||
|
|
||||||
// change to our local zone !!
|
// change to our local zone !!
|
||||||
setlocale(LC_ALL,'french');
|
setlocale(LC_ALL,'french');
|
||||||
|
|
||||||
echo "<center><small class='text-muted'>Last refresh</small> <br> <strong class='h4'>".date('m/d/y H:i:s')."</strong></center>";
|
echo "<center><small class='text-muted'>Last refresh</small> <br> <strong class='h4'>".date('m/d/y H:i:s')."</strong></center>";
|
||||||
echo "<div style=\"padding-bottom: 10%;padding-left: 20%;padding-right: 20%\"> <center><img src=".$logoteam." class=\"arrondie2\" width=\"100%\" max-height=\"20%\" height=\"auto\"></center></div></div>";
|
echo "<div style=\"padding-bottom: 10%;padding-left: 20%;padding-right: 20%\"> <center><img src=img/".$logoteam." class=\"arrondie2\" width=\"100%\" max-height=\"20%\" height=\"auto\"></center></div></div>";
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -154,7 +113,7 @@ $sec = "300";
|
||||||
<div class="description-block">
|
<div class="description-block">
|
||||||
<h5 class="description-header">
|
<h5 class="description-header">
|
||||||
<?php if (empty($Info['Players'])) { echo "<span style='color:grey;'>"; } ?>
|
<?php if (empty($Info['Players'])) { echo "<span style='color:grey;'>"; } ?>
|
||||||
<?php echo $Info['Players']; ?> <span style='color:grey;'>/<?php echo $Info['MaxPlayers'] ; ?></span></span>
|
<?php echo $Info['Players']; ?> <span style='color:grey;'>/<?php echo $Info['MaxPlayers'] ; ?></span></span>
|
||||||
</h5>
|
</h5>
|
||||||
<span class="description-text">PLAYERS</span>
|
<span class="description-text">PLAYERS</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -180,7 +139,7 @@ $sec = "300";
|
||||||
<h5 class="description-header">
|
<h5 class="description-header">
|
||||||
<?php //echo count($modnum)
|
<?php //echo count($modnum)
|
||||||
echo $timeserver ;
|
echo $timeserver ;
|
||||||
echo " <small style='color: grey;'> <i class='fas fa-sun'></i> <span style='color: white;'> x ".$timespeed."</span> - <i class='fas fa-moon'></i><span style='color: white;'> x ".$timespeedn." </span>";
|
echo " <small style='color: grey;'><i class='fas fa-sun'></i><span style='color: white;'>x".$timespeed."</span> - <i class='fas fa-moon'></i><span style='color: white;'>x".$timespeedn." </span>";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -237,12 +196,13 @@ $sec = "300";
|
||||||
<i class="fas fa-server"></i> MOD List</a>
|
<i class="fas fa-server"></i> MOD List</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" id="userdata-tab" data-toggle="tab" href="#userdata" role="tab" aria-controls="userdata" aria-selected="false">
|
<a class="nav-link" id="userdata-tab" data-toggle="tab" href="#userdata" role="tab" aria-controls="userdata" aria-selected="false">
|
||||||
<i class="fas fa-user-check"></i> User Database</a>
|
<i class="fas fa-user-check"></i> User Database</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item"> <a class="nav-link" id="map-tab" data-toggle="tab" href="#maptab" role="tab" aria-controls="maptab" aria-selected="false">
|
<li class="nav-item">
|
||||||
<i class="fas fa-map"></i> MAP</a>
|
<a class="nav-link" id="map-tab" data-toggle="tab" href="#maptab" role="tab" aria-controls="maptab" aria-selected="false">
|
||||||
</li>
|
<i class="fas fa-map"></i> MAP</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content content_wrapper" id="tabs">
|
<div class="tab-content content_wrapper" id="tabs">
|
||||||
|
@ -251,12 +211,12 @@ $sec = "300";
|
||||||
<div class="tab-pane fade tab_content active show" id="overview" role="tabpanel" aria-labelledby="overview-tab">
|
<div class="tab-pane fade tab_content active show" id="overview" role="tabpanel" aria-labelledby="overview-tab">
|
||||||
|
|
||||||
<div class="row" style="margin-left: 30px;">
|
<div class="row" style="margin-left: 30px;">
|
||||||
|
|
||||||
<div class="col-lg-2 col-sm-5">
|
<div class="col-lg-2 col-sm-5">
|
||||||
<div class="callout callout-dark" style="padding:0">
|
<div class="callout callout-dark" style="padding:0">
|
||||||
<img src="<?php echo $imagemap; ?>" class="arrondie2" height="50px" width="150px">
|
<img src="img/<?php echo $imagemap;?>" class="arrondie2" height="50px" width="150px">
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="col-lg-2 col-sm-5">
|
<div class="col-lg-2 col-sm-5">
|
||||||
<div class="callout callout-light">
|
<div class="callout callout-light">
|
||||||
|
@ -302,7 +262,7 @@ $sec = "300";
|
||||||
<small class="text-muted">Bans</small>
|
<small class="text-muted">Bans</small>
|
||||||
<br> <strong class="h4" style="color: #F86C6B">0</strong>
|
<br> <strong class="h4" style="color: #F86C6B">0</strong>
|
||||||
<div class="chart-wrapper">
|
<div class="chart-wrapper">
|
||||||
<canvas id="sparkline-chart-1" width="100" height="30"></canvas>
|
<canvas id="sparkline-chart-1" width="100" height="30"></canvas>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -506,7 +466,7 @@ $sec = "300";
|
||||||
<p class="before-list">
|
<p class="before-list">
|
||||||
<center>
|
<center>
|
||||||
<span style="padding: 5px 0px 2px 20px;"><?php echo count($modnum); ?> MODS </span>
|
<span style="padding: 5px 0px 2px 20px;"><?php echo count($modnum); ?> MODS </span>
|
||||||
<span style="padding: 5px 0px 2px 20px;">IP: <span style="color: orange;"><?php echo $urlserv; ?> </span></span>
|
<span style="padding: 5px 0px 2px 20px;">IP: <a href="http://<?php echo $ipserv.":".$modport;?>"><span style="color: orange;"><?php echo $ipserv.":".$modport;?></span></a></span>
|
||||||
</center>
|
</center>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -590,7 +550,7 @@ $sec = "300";
|
||||||
<div class="card-header" style="padding: 15px;"> <i class="fas fa-map"></i> MAP <span style='color: grey;'><?php echo $Info['Map']; ?></span> </div>
|
<div class="card-header" style="padding: 15px;"> <i class="fas fa-map"></i> MAP <span style='color: grey;'><?php echo $Info['Map']; ?></span> </div>
|
||||||
<!--a href=""--> <div style="width:100%;height:620px;">
|
<!--a href=""--> <div style="width:100%;height:620px;">
|
||||||
<iframe src="https://dayz.ginfo.gg/<?php echo $Info['Map']; ?>/#c=37;-4;3" frameborder="0" allowfullscreen style="width:100%;height:600px;" security="restricted"></iframe>
|
<iframe src="https://dayz.ginfo.gg/<?php echo $Info['Map']; ?>/#c=37;-4;3" frameborder="0" allowfullscreen style="width:100%;height:600px;" security="restricted"></iframe>
|
||||||
<!--img src="imagemap.jpg" style="width:100%;max-width:1200px;height:auto;padding:5px;" class="arrondie2" -->
|
<!--img src="img/imagemap.jpg" style="width:100%;max-width:1200px;height:auto;padding:5px;" class="arrondie2" -->
|
||||||
</div>
|
</div>
|
||||||
<!--/a-->
|
<!--/a-->
|
||||||
</div>
|
</div>
|
||||||
|
|