From 1dcacb51777ced16c50380c33f0cb3a825c4d2b0 Mon Sep 17 00:00:00 2001 From: Pentium44 Date: Wed, 10 Feb 2021 16:08:07 -0800 Subject: [PATCH] Mod configuration panel tweaks --- ctn/style.css | 10 +++++----- functions.php | 10 +++++++++- index.php | 6 +++--- 3 files changed, 17 insertions(+), 9 deletions(-) diff --git a/ctn/style.css b/ctn/style.css index d4c0ff31..4bd1c855 100755 --- a/ctn/style.css +++ b/ctn/style.css @@ -70,11 +70,11 @@ html, body { padding: 4px; } -table { padding: 1px; max-width: 100%; } -tr, td { padding: 5px; text-align: center; } -td:nth-child(3n+0) { background-color: #343434; } -td:nth-child(3n+1) { background-color: #404040; } -td:nth-child(3n+2) { background-color: #464646; } +#admint table { padding: 1px; max-width: 100%; } +#admint tr, td { padding: 5px; } +#admint td:nth-child(3n+0) { background-color: #343434; text-align: center; } +#admint td:nth-child(3n+1) { background-color: #404040; text-align: center; } +#admint td:nth-child(3n+2) { background-color: #464646; text-align: center; } textarea { background-color: #222222; diff --git a/functions.php b/functions.php index ae355ea2..ee0f9d51 100755 --- a/functions.php +++ b/functions.php @@ -103,13 +103,21 @@ function modUploadForm() { function modsForm() { ?>
+ $filename
\n"; + echo "\n"; + $docount++; + if($docount == 3) { + echo ""; + $docount = 0; + } } chdir(".."); ?> +
$filename
Change default game"; chdir("games"); foreach(glob("*") as $gamemode) { - echo "$gamemode"; + echo "$gamemode "; } chdir(".."); @@ -993,14 +993,14 @@ else // To be continued! chdir("mtm_db/users"); - echo ""; + echo "
UsernameFull NameEmailServer-Type/PortUser IDServer Stat
"; foreach(glob("*.php") as $user_account_file) { include_once($user_account_file); $servertype = file_get_contents("$userid.type"); $serverstatus = file_get_contents("$userid.pid.status"); echo ""; } - echo "
UsernameFull NameEmailServer-Type/PortUser IDServer Stat
$user_handle$user_fullname$user_email$servertype/$portrange$userid$userid$serverstatus
"; + echo ""; } }