first commit
This commit is contained in:
parent
62389598e5
commit
65ccbb1363
3 changed files with 13 additions and 23 deletions
|
@ -1,7 +1,6 @@
|
|||
-- Adminer 4.7.8 MySQL dump
|
||||
|
||||
SET NAMES utf8;
|
||||
SET time_zone = '+00:00';
|
||||
SET foreign_key_checks = 0;
|
||||
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
|
||||
|
||||
|
|
23
config.php
23
config.php
|
@ -1,35 +1,30 @@
|
|||
<?php
|
||||
|
||||
// ini_set("allow_url_fopen", 1);
|
||||
|
||||
// Need to Edit this
|
||||
|
||||
|
||||
$ipserv = "103.58.149.102" ; // IP server game
|
||||
$servport = "2302" ; // Game Server Port
|
||||
$modport = "2312" ; // Mod port omega (+10)
|
||||
$queryport= "27016" ; // Queryport
|
||||
|
||||
/*
|
||||
$ipserv = "82.64.214.194" ; // IP server game
|
||||
$servport = "3201" ; // Game Server Port
|
||||
$modport = "3211" ; // Mod port omega (+10)
|
||||
$queryport= "27001" ; // Queryport
|
||||
*/
|
||||
$ipserv = "82.64.214.194" ; // IP server game
|
||||
$servport = "3201" ; // Game Server Port
|
||||
$modport = "3211" ; // Mod port omega (+10)
|
||||
$queryport= "27001" ; // Queryport
|
||||
|
||||
$title = "DayZ Stat SERVER Clan | by TOX" ; // Web title page
|
||||
$descript = "Your Clan/server desciption"; // Your clan/server description
|
||||
// $namemap = "chernarusplus"; // choose between: chernarusplus / livonia / namalsk/
|
||||
$logoteam = "logoteam.png";
|
||||
$imagemap = "chernarus.jpg";
|
||||
|
||||
|
||||
|
||||
|
||||
// set the default timezone to use. Available since PHP 5.1
|
||||
// https://www.php.net/manual/en/timezones.others.php
|
||||
//date_default_timezone_set('Etc/GMT-1');
|
||||
//$date = date('Y-m-d H:i:s');
|
||||
|
||||
// Don't touch below
|
||||
//
|
||||
// Don't touch below
|
||||
//
|
||||
|
||||
$urlserv = $ipserv.":".$servport ;
|
||||
$json = file_get_contents("http://".$ipserv.":".$modport."/"); // get info from server
|
||||
|
|
12
consql.php
12
consql.php
|
@ -3,20 +3,16 @@
|
|||
//# Change with your credential here.
|
||||
// Create Database first ;)
|
||||
|
||||
// Edit this bloc for SQL
|
||||
|
||||
$servdb = "localhost";
|
||||
$userdb = "dayz";
|
||||
$pdb = "dayz32";
|
||||
$dbname = "dayzstat";
|
||||
$table = "StatServer_5";
|
||||
|
||||
/*
|
||||
$servdb = "localhost";
|
||||
$userdb = "user";
|
||||
$pdb = "pass";
|
||||
$dbname = "database";
|
||||
$table = "StatServer_1";
|
||||
*/
|
||||
|
||||
|
||||
// Don't edit below !
|
||||
|
||||
$StatServer = $table;
|
||||
$con = new mysqli($servdb, $userdb, $pdb, $dbname);
|
||||
|
|
Loading…
Reference in a new issue