first commit

This commit is contained in:
Erreur32 2021-01-31 16:11:09 +01:00
parent 7c4615c089
commit e3657bb219
3 changed files with 17 additions and 68 deletions

View File

@ -14,19 +14,19 @@
// Don't touch below
$urlserv = $ipserv.":".$portserv ;
// need to fix if mod = 0
$json = file_get_contents('http://'.$ipserv.':'.$modport.'/');
$objhigher=json_decode($json); //converts to an object
$objlower = $objhigher[0]; // if the json response its multidimensional this lowers it
$objlower=json_decode($json); //converts to an array of objects
$objlower = $objhigher[0]; // if the json response its multidimensional this lowers it
$objlower=json_decode($json); //converts to an array of objects
// librarie SQ - info serv game
// librarie SQ - info serv game
require 'SQ_/bootstrap.php';
use xPaw\SourceQuery\SourceQuery;
define( 'SQ_SERVER_ADDR', "${ipserv}" ); // IP server
define( 'SQ_SERVER_ADDR', "${ipserv}" ); // IP server
define( 'SQ_SERVER_PORT', "${queryport}" ); // YOUR QUERY PORT
define( 'SQ_TIMEOUT', 3 );
define( 'SQ_ENGINE', SourceQuery::SOURCE );

View File

@ -1,49 +0,0 @@
<link rel="stylesheet" href="https://dayz.echosystem.fr/bootstrap.min.unminify.css" crossorigin="anonymous">
<link href="https://dayz.echosystem.fr/main.css" rel="stylesheet">
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDomains", ["*.dayz.echosystem.fr"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://echosystem.fr/PiwM/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '16']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="https://echosystem.fr/PiwM/matomo.php?idsite=16&amp;rec=1" style="border:0;" alt="" /></p></noscript>
<!-- End Matomo Code -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JT9LXGJV0C"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-JT9LXGJV0C');
</script>
<!-- Dark Theme -->
<script>
$("#darkTrigger").click(function(){
if ($("body").hasClass("dark")){
$("body").removeClass("dark");
}
else{
$("body").addClass("dark");
}
});
</script>

View File

@ -436,7 +436,7 @@ $sec = "300";
</label>
</div>
<div class="col-sm-7"><i class="fas fa-dot-circle" style="color:#20a8d8"></i>
800m <small> by </small> <span class="badge badge-light"> Terror_east</span>
// not ready set
</div>
</div>
</div>
@ -714,14 +714,7 @@ $sec = "300";
<footer class="app-footer">
<div style="text-align:center;"> <span style="text-align:center;"> © 2020 (-ToX-) - <a href="https://git.echosystem.fr/Erreur32/DayZ-Stat-Server">Dayz-server-stats</a> by <a href="">Erreur32</a> </span>
<!-- <div class="dark_" style="text-align: right;padsding-right: 10px;padding-top: 15px;color: grey;" title="Dark Mode">
<form action="#">
<div class="switch">
<input id="darkTrigger" type="checkbox" class="switch-input" />
<label for="darkTrigger" class="switch-label" ></label>
</div>
</form>
</div>-->
</div>
<div class="ml-auto">
@ -736,13 +729,13 @@ $sec = "300";
</div>
</footer>
<script src="./bootstrap.min.js"></script>
<script src="./graph_loader.js"></script>
<script src="bootstrap.min.js"></script>
<script src="graph_loader.js"></script>
<script type="text/javascript" src="tabcontent.js"></script>
<!-- menu deroulant
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> -->
<!-- menu deroulant -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/9ba5e91dd6.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/9ba5e91dd6.js" crossorigin="anonymous"></script>
<style>
.tab-content {
@ -840,6 +833,11 @@ $sec = "300";
</script>
<!--<link rel="stylesheet" href="https://dayz.echosystem.fr/bootstrap.min.unminify.css" crossorigin="anonymous">-->
<!--<link href="https://dayz.echosystem.fr/main.css" rel="stylesheet">-->
<!-- Global site tag (gtag.js) - Google Analytics -->