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 |
78
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,17 +49,11 @@ $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 { color: black !important;}
|
||||||
|
|
||||||
.select2-results__option--highlighted { background-color: #3875d7 !important;}
|
.select2-results__option--highlighted { background-color: #3875d7 !important;}
|
||||||
|
|
||||||
.pull-left { float: left !important;}
|
.pull-left { float: left !important;}
|
||||||
|
|
||||||
.pull-right { float: right !important;}
|
.pull-right { float: right !important;}
|
||||||
|
|
||||||
.navbar-brand-logo { margin-left: 2rem;}
|
.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">
|
||||||
|
@ -143,7 +102,7 @@ $sec = "300";
|
||||||
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;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -240,7 +199,8 @@ $sec = "300";
|
||||||
<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">
|
||||||
|
<a class="nav-link" id="map-tab" data-toggle="tab" href="#maptab" role="tab" aria-controls="maptab" aria-selected="false">
|
||||||
<i class="fas fa-map"></i> MAP</a>
|
<i class="fas fa-map"></i> MAP</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -251,10 +211,10 @@ $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>
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
|