diff --git a/config.php b/config.php index 1827e99..45a28f1 100644 --- a/config.php +++ b/config.php @@ -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 ); diff --git a/footer.php b/footer.php deleted file mode 100755 index 25c5c4d..0000000 --- a/footer.php +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/index.php b/index.php index 8c390ba..c2bf32b 100644 --- a/index.php +++ b/index.php @@ -436,7 +436,7 @@ $sec = "300";
- 800m by Terror_east + // not ready set
@@ -714,14 +714,7 @@ $sec = "300"; - - + + - + + - +