4
1
Fork 0

Namen geaddet Img jetzt klickbar sorter funktioniert großartig

This commit is contained in:
Alpha 2017-04-30 04:43:30 +02:00
parent bd96be579a
commit 24fe95fd8a
2 changed files with 17 additions and 8 deletions

View file

@ -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 = "<tr>
<td>".$number."</td>
<td><img src=$avatarurl></td>
<td class='profil'><a target ='_blank'href='".$row['url']."'>".$row['url']."</td>
<td><a href=".$row['url']."><img src=$avatarurl></a></td>
<td class='profil'><a target ='_blank'href='".$row['url']."'>".$person."</td>
<td>".$row['author']."</td>
<td>".$row['addtime']."</td>";
if($row['banned'] == 0){

View file

@ -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;