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;