- NEW [?]
+ NEW?
";
//---------------------------------------------------------+
diff --git a/lgsl_files/lgsl_class.php b/lgsl_files/lgsl_class.php
index 48f5083..5af6854 100644
--- a/lgsl_files/lgsl_class.php
+++ b/lgsl_files/lgsl_class.php
@@ -199,6 +199,7 @@ function lgsl_query_cached($type, $ip, $c_port, $q_port, $s_port, $request, $id
$cache['s']['players'] = 0;
$cache['s']['playersmax'] = 0;
$cache['s']['password'] = 0;
+ $cache['s']['cache_time'] = $cache_time[0];
}
if (!isset($cache['e'])) { $cache['e'] = array(); }
@@ -247,6 +248,7 @@ function lgsl_query_cached($type, $ip, $c_port, $q_port, $s_port, $request, $id
$live['s']['password'] = $cache['s']['password'];
$live['s']['players'] = 0;
$live['s']['playersmax'] = $cache['s']['playersmax'];
+ $live['s']['cache_time'] = $cache['s']['cache_time'];
$live['e'] = array();
$live['p'] = array();
}
@@ -292,14 +294,15 @@ function lgsl_query_group($options = array())
$random = isset($options['random']) ? intval($options['random']) : intval($lgsl_config['random'][$zone]);
$type = empty($options['type']) ? "" : preg_replace("/[^a-z0-9_]/", "_", strtolower($options['type']));
$game = empty($options['game']) ? "" : preg_replace("/[^a-z0-9_]/", "_", strtolower($options['game']));
- $mysqli_order = empty($random) ? "`cache_time` ASC" : "rand()";
+ $page = empty($options['page']) ? "" : "LIMIT {$lgsl_config['pagination_lim']} OFFSET " . strval($lgsl_config['pagination_lim']*((int)$options['page'] - 1));
+ $mysqli_order = empty($random) ? "id" : "rand()";
$server_limit = empty($random) ? 0 : $random;
$mysqli_where = array("`disabled`=0");
if ($zone != 0) { $mysqli_where[] = "FIND_IN_SET('{$zone}',`zone`)"; }
if ($type != "") { $mysqli_where[] = "`type`='{$type}'"; }
- $mysqli_query = "SELECT `id` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE ".implode(" AND ", $mysqli_where)." ORDER BY {$mysqli_order}";
+ $mysqli_query = "SELECT `id` FROM `{$lgsl_config['db']['prefix']}{$lgsl_config['db']['table']}` WHERE ".implode(" AND ", $mysqli_where)." ORDER BY {$mysqli_order} {$page}";
$mysqli_result = mysqli_query($lgsl_database, $mysqli_query) or die(mysqli_error($lgsl_database));
$server_list = array();
diff --git a/lgsl_files/lgsl_config.php b/lgsl_files/lgsl_config.php
index 153f55e..15596c6 100644
--- a/lgsl_files/lgsl_config.php
+++ b/lgsl_files/lgsl_config.php
@@ -137,7 +137,9 @@
$lgsl_config['timeout'] = 0; // 1=gives more time for servers to respond but adds loading delay
$lgsl_config['retry_offline'] = 0; // 1=repeats query when there is no response but adds loading delay
$lgsl_config['cms'] = "sa"; // sets which CMS specific code to use
- $lgsl_config['image_mod'] = true; // true = show userbar in server's details
+ $lgsl_config['image_mod'] = true; // true = show userbar in server's details
+ $lgsl_config['pagination_mod']= true; // true = using pagination
+ $lgsl_config['pagination_lim']= 15; // limit per page
include("languages/english.php"); // sets LGSL language
// English language: "languages/english.php" // Richard Perry
@@ -145,8 +147,9 @@
// French language: "languages/french.php" // own3mall
// German language: "languages/german.php" // ctannurella
// Spanish language: "languages/spanish.php" // own3mall
- // Czech language: "languages/czech.php" // Neon
- // Bulgarian language: "languages/bulgarian.php" // Neon
- // Slovak language: "languages/slovak.php" // KristianP26
+ // Czech language: "languages/czech.php" // Neon
+ // Bulgarian language: "languages/bulgarian.php" // Neon
+ // Slovak language: "languages/slovak.php" // KristianP26
+ // Arabic language: "languages/arabic.php" // lamjed001
//------------------------------------------------------------------------------------------------------------+
diff --git a/lgsl_files/lgsl_details.php b/lgsl_files/lgsl_details.php
index 65c161c..e0c2eee 100644
--- a/lgsl_files/lgsl_details.php
+++ b/lgsl_files/lgsl_details.php
@@ -68,11 +68,14 @@
{$lgsl_config['text']['plr']}:
{$server['s']['players']} / {$server['s']['playersmax']}
+
+
+ Last update: " . Date('d.m.Y H:i:s', $server['s']['cache_time']) . "
-
+
";
@@ -162,7 +165,7 @@
foreach ($server['e'] as $field => $value)
{
- if(preg_match('/(https*:\/\/|www\.)([\w]*\.*)*\w+\/*([\w]*\/*)*/i', $value)){
+ if(preg_match('/(https*:\/\/www\.|www\.)([\w]*\.*)*\w+\/*([\w]*\/*)*/i', $value)){
$value = "".$value." ";
}
$output .= "
diff --git a/lgsl_files/lgsl_list.php b/lgsl_files/lgsl_list.php
index f31a3f6..a25e122 100644
--- a/lgsl_files/lgsl_list.php
+++ b/lgsl_files/lgsl_list.php
@@ -12,12 +12,16 @@
require "lgsl_class.php";
- $server_list = lgsl_query_group();
+ $type = (isset($_GET['type']) ? $_GET['type'] : '');
+ $game = (isset($_GET['game']) ? $_GET['game'] : '');
+ if($lgsl_config['pagination_mod']){
+ $page = (isset($_GET['page']) ? (int)$_GET['page'] : 1);
+ }
+ $server_list = lgsl_query_group(array("type" => $type, "game" => $game, "page" => $page));
$server_list = lgsl_sort_servers($server_list);
//------------------------------------------------------------------------------------------------------------+
- if(count($server_list) == 0)
- {
+ if(count($server_list) == 0) {
$output .= "";
}
@@ -36,13 +40,15 @@
{
$misc = lgsl_server_misc($server);
$server = lgsl_server_html($server);
+ $percent = strval($server['s']['players'] == 0 ? 0 : floor($server['s']['players']/$server['s']['playersmax']*100));
+ $lastupd = Date('d.m.Y H:i:s', $server['s']['cache_time']);
$output .= "
-
-
+
+
@@ -67,7 +73,12 @@
- {$server['s']['players']} /{$server['s']['playersmax']}
+
+
+ {$server['s']['players']}/{$server['s']['playersmax']}
+ {$percent}%
+
+
";
@@ -89,6 +100,16 @@
$output .= "
";
+
+ if($lgsl_config['pagination_mod']){
+ $output .= "
+
+ " . ($page > 1 ? "
< " : "") . "
+
Page {$page}
+ " . (count($server_list) < $lgsl_config['pagination_lim'] ? "" : (isset($_GET['page']) ? "
> " : "
> ")) . "
+
+ ";
+ }
//------------------------------------------------------------------------------------------------------------+
@@ -106,5 +127,6 @@
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
//------ PLEASE MAKE A DONATION OR SIGN THE GUESTBOOK AT GREYCUBE.COM IF YOU REMOVE THIS CREDIT ----------------------------------------------------------------------------------------------------+
+//------ WANNA BE HERE? https://github.com/tltneon/lgsl/wiki/Who-uses-LGSL -> LET CREDITS STAY :P --------------------------------------------------------------------------------------------------+
$output .= "";
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
diff --git a/lgsl_files/lgsl_protocol.php b/lgsl_files/lgsl_protocol.php
index 9ead55a..c09715f 100644
--- a/lgsl_files/lgsl_protocol.php
+++ b/lgsl_files/lgsl_protocol.php
@@ -99,6 +99,7 @@ function lgsl_type_list()
"samp" => "San Andreas Multiplayer",
"savage" => "Savage",
"savage2" => "Savage 2",
+ "scum" => "SCUM",
"serioussam" => "Serious Sam",
"serioussam2" => "Serious Sam 2",
"shatteredh" => "Shattered Horizon",
@@ -229,6 +230,7 @@ function lgsl_protocol_list()
"savage2" => "18",
"serioussam" => "03",
"serioussam2" => "09",
+ "scum" => "37",
"shatteredh" => "05",
"sof2" => "02",
"soldat" => "08",
@@ -354,6 +356,7 @@ function lgsl_software_link($type, $ip, $c_port, $q_port, $s_port)
"savage2" => "http://en.wikipedia.org/wiki/Savage_2:_A_Tortured_Soul",
"serioussam" => "qtracker://{IP}:{S_PORT}?game=SeriousSam&action=show",
"serioussam2" => "qtracker://{IP}:{S_PORT}?game=Serious_Sam2&action=show",
+ "scum" => "steam://connect/{IP}:{S_PORT}",
"shatteredh" => "http://en.wikipedia.org/wiki/Shattered_Horizon",
"sof2" => "qtracker://{IP}:{S_PORT}?game=SoldierOfFortune2&action=show",
"soldat" => "http://www.soldat.pl",
@@ -523,7 +526,7 @@ function lgsl_query_live($type, $ip, $c_port, $q_port, $s_port, $request)
{
$response = lgsl_query_feed($server, $request, $lgsl_config['feed']['method'], $lgsl_config['feed']['url']);
}
- elseif ($lgsl_function == "lgsl_query_34" || $lgsl_function == "lgsl_query_36")
+ elseif ($lgsl_function == "lgsl_query_34" || $lgsl_function == "lgsl_query_36" || $lgsl_function == "lgsl_query_37")
{
$response = lgsl_query_direct($server, $request, $lgsl_function, "http");
}
@@ -567,6 +570,8 @@ function lgsl_query_live($type, $ip, $c_port, $q_port, $s_port, $request)
if (strpos($request, "e") === FALSE && empty($server['e'])) { unset($server['e']); }
if (strpos($request, "s") === FALSE && empty($server['s']['name'])) { unset($server['s']); }
}
+
+ $server['s']['cache_time'] = time();
//---------------------------------------------------------+
@@ -616,6 +621,12 @@ function lgsl_query_direct(&$server, $request, $lgsl_function, $scheme)
$raw_json = file_get_contents("https://discordapp.com/api/guilds/{$lgsl_fp[0]['guild']['id']}/widget.json");
$lgsl_fp[1] = json_decode($raw_json, true);
}
+ elseif ($lgsl_function == "lgsl_query_37") // scum
+ {
+ $lgsl_fp = array();
+ $data = file_get_contents("https://scumservers.net/api.php?ip={$server['b']['ip']}&port={$server['b']['c_port']}");
+ $lgsl_fp = json_decode($data, true);
+ }
}
//---------------------------------------------------------+
@@ -653,8 +664,10 @@ function lgsl_query_direct(&$server, $request, $lgsl_function, $scheme)
//---------------------------------------------------------+
- @fclose($lgsl_fp);
-
+ if ($scheme != 'http') {
+ @fclose($lgsl_fp);
+ }
+
return $response;
}
@@ -3817,6 +3830,24 @@ function lgsl_query_36(&$server, &$lgsl_need, &$lgsl_fp) // Discord
return true;
}
+//------------------------------------------------------------------------------------------------------------+
+//------------------------------------------------------------------------------------------------------------+
+
+ function lgsl_query_37(&$server, &$lgsl_need, &$lgsl_fp) // SCUM API
+ {
+ if(!$lgsl_fp) return FALSE;
+
+ $server['s']['name'] = $lgsl_fp['serverName'];
+ $server['s']['map'] = "SCUM";
+ $server['s']['players'] = $lgsl_fp['players'];
+ $server['s']['playersmax'] = $lgsl_fp['maxPlayers'];
+ $server['e']['serverTime'] = $lgsl_fp['serverTime'];
+ $server['e']['version'] = $lgsl_fp['version'];
+ $server['e']['countryCode'] = $lgsl_fp['countryCode'];
+ $server['e']['countryName'] = $lgsl_fp['countryName'];
+
+ return TRUE;
+ }
//------------------------------------------------------------------------------------------------------------+
//------------------------------------------------------------------------------------------------------------+
@@ -4280,10 +4311,11 @@ function lgsl_gs_crypt($type, &$buffer, $encrypt = FALSE)
//------------------------------------------------------------------------------------------------------------+
//--------- PLEASE MAKE A DONATION OR SIGN THE GUESTBOOK AT GREYCUBE.COM IF YOU REMOVE THIS CREDIT -----------+
+//-------- WANNA BE HERE? https://github.com/tltneon/lgsl/wiki/Who-uses-LGSL -> LET CREDITS STAY :P ----------+
function lgsl_version()
{
- return "LGSL By Richard Perry | v 5.10.3"; // little dirty trick
+ return "LGSL By Richard Perry | v 6.0.0"; // little dirty trick
}
//------------------------------------------------------------------------------------------------------------+
diff --git a/lgsl_files/styles/breeze_style.css b/lgsl_files/styles/breeze_style.css
index 694801b..6eb7af4 100644
--- a/lgsl_files/styles/breeze_style.css
+++ b/lgsl_files/styles/breeze_style.css
@@ -106,6 +106,7 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
.status_icon_onl { background-image: url(../other/icon_online.gif) !important; }
.status_icon_nrs { background-image: url(../other/icon_no_response.gif) !important; }
.status_icon_onp { background-image: url(../other/icon_online_password.gif) !important; }
+.status_icon_pen { width: 14px; height: 14px; background-color: gray; display: inline-block; border: 1px solid black; }
img.game_icon { width: 16px; }
a.details_icon:hover { opacity: 0.6; }
@@ -121,10 +122,17 @@ a.details_icon:hover { opacity: 0.6; }
div.servername_link { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; text-align:right; }
+.inner_bar { width: 100% !important; }
+*[class^='players_percent'] { display:none; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.status_cell { border-radius: 12px 0px 0px 12px !important; }
.details_cell { border-radius: 0px 12px 12px 0px !important; }
.details_cell > a { text-decoration: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 7px; background-color: #feffff; border-radius: 6px; border: 1px solid #c2d1d4; }
+#pages span { padding: 10px; }
+
#totals { width: fit-content; background-color: #f4f7fa; margin:auto; margin-top: 20px; }
#totals > div { border: 1px solid #e5fbff; padding: 10px; display:inline-block; }
diff --git a/lgsl_files/styles/classic_style.css b/lgsl_files/styles/classic_style.css
index 8058fd2..a868e17 100644
--- a/lgsl_files/styles/classic_style.css
+++ b/lgsl_files/styles/classic_style.css
@@ -100,6 +100,7 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
.status_icon_onl { background-image: url(../other/icon_online.gif) !important; }
.status_icon_nrs { background-image: url(../other/icon_no_response.gif) !important; }
.status_icon_onp { background-image: url(../other/icon_online_password.gif) !important; }
+.status_icon_pen { width: 14px; height: 14px; background-color: gray; display: inline-block; border: 1px solid black; }
img.game_icon { width: 16px; }
#server_list_table { margin:auto; margin-top:30px; }
@@ -112,8 +113,15 @@ img.game_icon { width: 16px; }
div.servername_link { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; text-align:right; }
+.inner_bar { width: 100% !important; }
+*[class^='players_percent'] { display:none; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.details_cell > a { text-decoration: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px; background-color: #c6c6c6; color: black; border: 1px solid #848484; }
+#pages span { padding: 10px; }
+
#totals { width: fit-content; margin:auto; margin-top: 16px; }
#totals > div {width: fit-content; background-color: #e4eaf2; padding:4px; display:inline-block;}
diff --git a/lgsl_files/styles/darken_style.css b/lgsl_files/styles/darken_style.css
index aefbbde..1f3be9b 100644
--- a/lgsl_files/styles/darken_style.css
+++ b/lgsl_files/styles/darken_style.css
@@ -23,6 +23,11 @@ textarea {
color: white;
border: 1px solid black;
}
+input[type="checkbox" i] {
+ width: 15px;
+ height: 15px;
+ vertical-align: sub;
+}
#adminlink {margin: 0;position: fixed;width: 25px;right: 0;top: 0;background-image: linear-gradient(45deg, #ffffff00, #ffffff00, #ff000061);height: 25px;}
#adminlink:hover {background-image: linear-gradient(45deg, #ffffff00, #ffffff00, #f30606);}
@@ -108,6 +113,7 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
}
.details_icon { background-image: url(../other/icon_details.gif) !important; }
.status_icon_onl { background-image: url(../other/icon_online.gif) !important; }
+.status_icon_pen { width: 14px; height: 14px; background-color: gray; display: inline-block; border: 1px solid black; }
.status_icon_nrs { background-image: url(../other/icon_no_response.gif) !important; }
.status_icon_onp { background-image: url(../other/icon_online_password.gif) !important; }
img.game_icon { width: 16px;border-radius: 2px; }
@@ -122,8 +128,17 @@ img.game_icon { width: 16px;border-radius: 2px; }
div.servername_link { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; text-align:right; }
+.outer_bar { }
+.inner_bar { width: 100% !important; }
+.players_numeric { }
+*[class^='players_percent'] { display:none; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.details_cell > a { text-decoration: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px; background-color: #282828; }
+#pages span { padding: 10px; }
+
#totals { width: fit-content; margin:auto; margin-top: 16px; }
#totals > div { width: fit-content; background-color: #282828; padding:15px; display:inline-block; }
@@ -145,8 +160,8 @@ div.servername_link { display: none; }
margin: 0;
}
#topmenu > li {
- padding: 10px 10px;
- font-size: 14px;
+ padding: 10px 10px;
+ font-size: 14px;
}
#server_list_table { width:100%; margin: 0px; }
.servername_cell > div {
@@ -175,10 +190,10 @@ div.servername_link { display: none; }
}
.servername_link > a {
vertical-align: middle;
- display: block;
- margin: 0.5em 0.5em 0em 0.5em;
- height: 100%;
- color: #d5f2ff;
+ display: block;
+ margin: 0.5em 0.5em 0em 0.5em;
+ height: 100%;
+ color: #d5f2ff;
}
#server_list_table td { padding: 10px; }
#server_list_table .status_cell { padding: 2px; }
@@ -193,4 +208,20 @@ div.servername_link { display: none; }
.details_info_column { margin: auto; order: 2; margin-top: 6px; }
.details_info_column:nth-child(2) { order: 1; }
#details_playerlist { overflow: auto; }
+ .table_head {
+ font-weight: bold;
+ display: none;
+ }
+ .settings_table td {
+ padding: 0px;
+ text-align: left;
+ display: inline;
+ }
+ .settings_table td:first-child {
+ text-align: left;
+ color: #ffcfa6;
+ }
+ .settings_table td:first-child:after {
+ content: " =";
+ }
}
\ No newline at end of file
diff --git a/lgsl_files/styles/disc_ff_style.css b/lgsl_files/styles/disc_ff_style.css
index 6ac34a5..912426e 100644
--- a/lgsl_files/styles/disc_ff_style.css
+++ b/lgsl_files/styles/disc_ff_style.css
@@ -100,23 +100,31 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
.details_icon { background-image: url(../other/icon_details.gif) !important; }
.status_icon_nrs,
.status_icon_onl,
-.status_icon_onp { width: 28px;height: 28px; border: 2px solid black; display: inline-block; }
+.status_icon_onp,
+.status_icon_pen { width: 28px;height: 28px; border: 2px solid black; display: inline-block; }
.status_icon_onl { background: #8ee683; }
.status_icon_nrs { background: #f1abab; }
.status_icon_onp { background-image: url(../other/icon_online_password.gif) !important; }
+.status_icon_pen { background-color: gray; }
#server_list_table { margin:auto; width: 100%; border-radius: 12px; margin-top:30px; border-collapse: collapse; }
#server_list_table tr:not(#server_list_table_top) { background-color: #282828; height: 59px; }
#server_list_table td, #server_list_table th { padding:13px; border-bottom: 1px dotted black; }
#server_list_table_top { text-align: left; }
-.connectlink_cell { }
.servername_cell { text-align:left; }
.servername_cell > div { width:100%; overflow:hidden; height:1.3em; line-height:1.3em; }
div.servername_nolink { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; }
+.inner_bar { width: 100% !important; }
+*[class^='players_percent'] { display:none; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.details_cell { display: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px; background-color: #282828; }
+#pages span { padding: 10px; }
+
#totals { width: fit-content; margin:auto; margin-top: 16px; }
#totals > div { width: fit-content; background-color: #282828; padding:15px; display:inline-block; }
diff --git a/lgsl_files/styles/material_style.css b/lgsl_files/styles/material_style.css
index 978d35f..d5d3665 100644
--- a/lgsl_files/styles/material_style.css
+++ b/lgsl_files/styles/material_style.css
@@ -157,7 +157,8 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
.status_icon_onl { background-color: #8ee683; }
.status_icon_nrs { background-color: #f1abab; }
.status_icon_onp { background-color: #f8bc85; }
-.status_icon_onl, .status_icon_nrs, .status_icon_onp {
+.status_icon_pen { background-color: gray; }
+.status_icon_onl, .status_icon_nrs, .status_icon_onp, .status_icon_pen {
width: 0.25rem;
height: 3rem;
display: inline-block;
@@ -168,7 +169,7 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
#server_list_table { margin:auto; width:85%; margin-top:30px; }
tr#server_list_table_top th { border-top: none !important; }
-
+.status_cell a { overflow: initial; }
img.game_icon {
height: 3rem;
margin-left: -4px;
@@ -198,6 +199,8 @@ a.details_icon:hover, a.details_icon:focus, a.details_icon:active {
}
.server_nrs td.players_cell { color: black; }
td.players_cell { color: #e83e8c; }
+.inner_bar { width: 100% !important; }
+*[class^='players_percent'] { display:none; }
.status_cell { min-width: 52px; }
div.servername_link { display: none; }
@@ -210,6 +213,12 @@ div.servername_link { display: none; }
border-radius: 19px;
}
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px 20px; background-color: #282828; border: 2px solid #4285f4 !important; border-radius: 4px; }
+#pages a:hover { box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15); }
+#pages span { padding: 20px; vertical-align: super; }
+
+
div#totals {
margin: 16px auto 0;
display: table;
diff --git a/lgsl_files/styles/ogp_style.css b/lgsl_files/styles/ogp_style.css
index cf8b07f..42e83fe 100644
--- a/lgsl_files/styles/ogp_style.css
+++ b/lgsl_files/styles/ogp_style.css
@@ -118,6 +118,7 @@ a.details_icon:hover { background-color: #c0e0ec; }
.status_icon_onl { background-color: #8ee683; }
.status_icon_nrs { background-color: #f1abab; }
.status_icon_onp { background-image: url(../other/icon_online_password.gif) !important; width: 16px; height: 16px; display: inline-block; background-size: cover; }
+.status_icon_pen { width: 14px; height: 14px; background-color: gray; display: inline-block; border: 1px solid black; }
img.game_icon { width: 16px; border-radius: 2px; }
#server_list_table { margin:auto; width:95%; border-radius: 12px; margin-top:30px; }
@@ -130,9 +131,18 @@ img.game_icon { width: 16px; border-radius: 2px; }
div.servername_link { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; text-align:right; }
+.outer_bar { width:100%; background-color:gray; border-radius:13px; padding:2px; }
+.inner_bar { border-radius:13px; background-color:#51b7e6; background-image: -webkit-linear-gradient(top, #51b7e6, #4dafdd); }
+.players_numeric { padding: 0.01em 12px; }
+*[class^='players_percent'] { display:none; }
.server_nrs td.players_cell { color: black; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.details_cell > a { text-decoration: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px; background-color: #28282869; }
+#pages span { padding: 10px; }
+
#totals { width: 95%; margin:auto; margin-top: 16px; background-color: rgba(26, 28, 34, 0.2); border: 1px solid #22252f; }
#totals > div { width: calc(33vw - 30px - 3vw); padding:15px; text-align: center; display:inline-block; }
@@ -176,7 +186,7 @@ div.servername_link { display: none; }
padding: 3px;
}
#server_list_table td:not(.status_cell) {
- padding: 10px;
+ padding: 10px 3px;
}
#server_list_table tr.server_nrs {
background-color: rgba(148, 0, 0, 0.2);
diff --git a/lgsl_files/styles/parallax_style.css b/lgsl_files/styles/parallax_style.css
index 5dea2f9..05387c6 100644
--- a/lgsl_files/styles/parallax_style.css
+++ b/lgsl_files/styles/parallax_style.css
@@ -14,7 +14,7 @@ body
font-family: Roboto,Arial,sans-serif;
word-wrap: break-word;
color: white;
- text-shadow: 1px 1px 0px black;
+ text-shadow: 2px 1px 2px black;
background-color: #03060e;
background-size: cover !important;
background-repeat: no-repeat;
@@ -130,6 +130,7 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
.status_icon_onl { background-image: url(../other/icon_online.gif) !important; }
.status_icon_nrs { background-image: url(../other/icon_no_response.gif) !important; }
.status_icon_onp { background-image: url(../other/icon_online_password.gif) !important; }
+.status_icon_pen { width: 14px; height: 14px; background-color: gray; display: inline-block; border: 1px solid black; }
img.game_icon { width: 16px; }
.server_onl { background-image: linear-gradient(to right, #ffffff00 0%, #8ee68345 50%,#ffffff00 ); }
@@ -145,9 +146,16 @@ img.game_icon { width: 16px; }
div.servername_link { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; text-align:right; }
+.inner_bar { width: 100% !important; }
+*[class^='players_percent'] { display:none; }
.server_nrs td.players_cell { color: black; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.details_cell > a { text-decoration: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px; background-color: #282828; }
+#pages span { padding: 10px; }
+
#totals { width: 95%; margin:auto; margin-top: 16px; background-color: rgba(0, 0, 0, 0.5); border: 1px solid #22252f; }
#totals > div { width: 28%; padding:2%; text-align: center; display: inline-block; vertical-align: middle; }
diff --git a/lgsl_files/styles/wallpaper_style.css b/lgsl_files/styles/wallpaper_style.css
index b7c84df..7dcbd5b 100644
--- a/lgsl_files/styles/wallpaper_style.css
+++ b/lgsl_files/styles/wallpaper_style.css
@@ -118,7 +118,7 @@ div[id^="servername"] { margin:auto; text-align:center; font-weight:bold; paddin
.contry_icon { border:none; width: 16px; height: 16px; }
.game_icon { width: 28px; height: 28px; border-radius: 10px; border: 1px solid black; margin: 5px; border-radius: 12px; }
a.details_icon { background-image: url(../other/icon_details.gif) !important; width: 32px; height: 32px; display: inline-block; background-size: cover; }
-.status_icon_onl, .status_icon_nrs, .status_icon_onp
+.status_icon_onl, .status_icon_nrs, .status_icon_onp, .status_icon_pen
{ background: #f1abab;
width: 36px;
height: 36px;
@@ -131,19 +131,27 @@ a.details_icon { background-image: url(../other/icon_details.gif) !important; wi
.status_icon_onl { background: #72ff60; }
.status_icon_nrs { background: #ff6565; }
.status_icon_onp { background: #fdb94a; }
+.status_icon_pen { background-color: gray; }
#server_list_table { margin:auto; width: 100%; border-radius: 12px; margin-top:30px; border-collapse: collapse; }
#server_list_table tr:not(#server_list_table_top) { background-color: #28282894; height: 59px; border: 1px solid black; }
#server_list_table td, #server_list_table th { padding:13px; border-bottom: 1px dotted black; }
#server_list_table_top { text-align: left; }
-.connectlink_cell { }
+
.servername_cell { text-align:left; }
.servername_cell > div { width:100%; overflow:hidden; height:1.3em; line-height:1.3em; }
div.servername_nolink { display: none; }
.map_cell { white-space:nowrap; text-align:left; }
.players_cell { white-space:nowrap; }
+.inner_bar { width: 100% !important; }
+*[class^='players_percent'] { display:none; }
.details_cell, .status_cell { white-space:nowrap; text-align:center; }
.details_cell { display: none; }
+
+#pages { width: fit-content; margin: auto; margin-top: 16px; }
+#pages a { padding: 5px; background-color: #282828; }
+#pages span { padding: 10px; color: black; }
+
#totals { width: fit-content; margin:auto; margin-top: 16px; }
#totals > div { width: fit-content; background-color: #282828; padding:15px; display:inline-block; }
@@ -176,7 +184,7 @@ div.servername_nolink { display: none; }
font-family: cursive;
height:3em;
}
- .connectlink_cell,
+ td.connectlink_cell,
td.details_cell,
.map_cell,
div.servername_nolink, {