diff --git a/README.md b/README.md index 3f7867b..7631b3b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![GitHub release (latest by date)](https://img.shields.io/github/v/release/tltneon/lgsl?color=green&style=for-the-badge)](https://github.com/tltneon/lgsl/releases) -![PHP](https://img.shields.io/badge/PHP-5.4--7.4-brightgreen?style=for-the-badge&logo=php) +![PHP](https://img.shields.io/badge/PHP-5.4--8.0-brightgreen?style=for-the-badge&logo=php) ![MySQL](https://img.shields.io/badge/MySQL-5.5.27--8.0.x-brightgreen?style=for-the-badge&logo=mysql) ![MariaDB](https://img.shields.io/badge/MariaDB-5.5--10.5.x-brightgreen?style=for-the-badge&logo=mariadb) @@ -8,8 +8,8 @@ [![GitHub forks](https://img.shields.io/github/forks/tltneon/lgsl?style=for-the-badge)](https://github.com/tltneon/lgsl/fork) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/tltneon/lgsl?style=for-the-badge)](https://github.com/tltneon/lgsl/archive/master.zip) [![Packagist](https://img.shields.io/packagist/l/tltneon/lgsl?style=for-the-badge)](https://github.com/tltneon/lgsl/blob/master/LICENSE) -# LGSL v5.10.3 (Live Game Server List) for PHP 7+ -Based-off LGSL v5.8 (stand-alone version) from www.greycube.com. This is almost original version of LGSL with [new features](https://github.com/tltneon/lgsl#changelog) and working on PHP 5.4-7.x and MySQL 5.5.27-8.0.x or MariaDB 5.5-10.5.x +# LGSL v6.0.0 (Live Game Server List) for PHP 7+ +Based-off LGSL v5.8 (stand-alone version) from www.greycube.com. This is almost original version of LGSL with [new features](https://github.com/tltneon/lgsl#changelog) and working on PHP 5.4-8.x and MySQL 5.5.27-8.0.x or MariaDB 5.5-10.5.x ## [Live Demos](http://lgsl-demo.freesite.vip/) | [Wiki](https://github.com/tltneon/lgsl/wiki) | [How to install]( https://github.com/tltneon/lgsl/wiki/How-to-install-LGSL) | [Supported games](https://github.com/tltneon/lgsl/wiki/Supported-Games) | [Custom styles](https://github.com/tltneon/lgsl/wiki/Styles) @@ -21,6 +21,15 @@ Feel free to make [pull request](https://github.com/tltneon/lgsl) with your cust ![lgsl Server List on mobile device](https://i.imgur.com/oui8Nya.png) ## [Changelog](https://github.com/tltneon/lgsl/wiki/Changelog) +#### v6.0.0 +- **LGSL now can use pagination!** +- **Filtering by type or game using ?game= or ?type= parameters** +- **Game icon now is a link to show all server of that game** +- **Admin panel: now you can add ip with port to ip input (LGSL split after ':' automatically)** +- **Now servers shows timestamps of last querying** +- **Added Arabic languages** + - *Thanks to [@lamjed001](https://github.com/lamjed001)* +- **Updated all styles** #### v5.10.3 - **LGSL now has update page** - **Added Rage:MP protocol** @@ -72,4 +81,4 @@ Feel free to make [pull request](https://github.com/tltneon/lgsl) with your cust ##### [:: Older versions](https://github.com/tltneon/lgsl/wiki/Changelog) -Original author of LGSL - Richard Perry (www.greycube.com) \ No newline at end of file +Original author of [LGSL](https://github.com/tltneon/lgsl/releases/tag/v5.8) - Richard Perry (www.greycube.com) \ No newline at end of file diff --git a/composer.json b/composer.json index 9f3733b..58068ec 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,8 @@ "license": "GPL-3.0-only", "keywords": [ + "discord", + "fivem", "csgo", "counter-strike", "team fortress", @@ -30,12 +32,13 @@ ], "support": { "wiki": "https://github.com/tltneon/lgsl/wiki", + "games": "https://github.com/tltneon/lgsl/wiki/Supported-Games", "source": "https://github.com/tltneon/lgsl", "issues": "https://github.com/tltneon/lgsl/issues" }, "require": { - "php": ">=7.0" + "php": ">=5.4" }, "autoload": { diff --git a/install.php b/install.php index f0bf734..4581080 100644 --- a/install.php +++ b/install.php @@ -76,13 +76,16 @@ LGSL Installation Page - + '; $output .= " -
-
-
-
- - -
-
-
+ + +
"; return; @@ -227,6 +226,12 @@ if (!empty($_POST['lgsl_map_image_paths'])) { $server_list = lgsl_query_cached_all("s"); + + $output .= " +
+ Haven't got images? How to: add map icons +
+ "; foreach ($server_list as $server) { @@ -235,21 +240,21 @@ $image_map = lgsl_image_map($server['b']['status'], $server['b']['type'], $server['s']['game'], $server['s']['map'], FALSE); $output .= " -
- {$image_map} +
+
+ +
+
+
Map Name: {$server['s']['map']}
+
Link: {$image_map}
+
"; } $output .= " -
-
-
-
- - -
-
-
+ + +
"; return; @@ -405,7 +410,7 @@ $output .= " - NEW [?] + NEW?