From 24fe95fd8afd450fdd4ef873e26694ac664c8496 Mon Sep 17 00:00:00 2001 From: Alpha Date: Sun, 30 Apr 2017 04:43:30 +0200 Subject: [PATCH] =?UTF-8?q?Namen=20geaddet=20Img=20jetzt=20klickbar=20sort?= =?UTF-8?q?er=20funktioniert=20gro=C3=9Fartig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 8 +++++--- style.css | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index f6890a0..13809ae 100644 --- a/index.php +++ b/index.php @@ -71,8 +71,10 @@ $pattern =explode( ",", $fullids); while ($counter2 < $counter) { $avaid = $temp_summarie["response"]["players"][$avatarid]["avatarmedium"]; $userid = $temp_summarie["response"]["players"][$avatarid]["steamid"]; +$personname = $temp_summarie["response"]["players"][$avatarid]["personaname"]; $sort["$userid"] = $avaid; +$sort_name["$userid"] = $personname; $avatarid++; $counter2++; @@ -89,13 +91,13 @@ while($row = $result->fetch_assoc()){ $ida = end($id); $avatarurl = $sort["$ida"]; - + $person = $sort_name["$ida"]; $output = " ".$number." - - ".$row['url']." + + ".$person." ".$row['author']." ".$row['addtime'].""; if($row['banned'] == 0){ diff --git a/style.css b/style.css index 6176bcf..8112941 100644 --- a/style.css +++ b/style.css @@ -4,9 +4,9 @@ body { font-family: 'Lato', sans-serif; margin: 0; margin-top: 25; - - - + + + } table, td, th { @@ -40,15 +40,22 @@ table { } .profil { - text-align: left !important; + text-align: center; + font-size: 20px; + } a:link{ color: white; + text-decoration: none; } a:visited{ - color: white; + color: gray; } +a:hover{ + color:red; +} + table.center { margin-left: auto;