Alpha;
This commit is contained in:
parent
8a445e0c00
commit
0d0231be62
3 changed files with 18 additions and 26 deletions
24
index.php
24
index.php
|
@ -5,7 +5,7 @@
|
|||
|
||||
<body>
|
||||
<div class="bild">
|
||||
<img src="schrift.png">
|
||||
<img src="schriftv2.png">
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
@ -38,23 +38,10 @@ $number = 1;
|
|||
|
||||
|
||||
while($row = $result->fetch_assoc()){
|
||||
// echo '<pre>'.$row['addtime'].'</pre>';
|
||||
if($row['deleted'])
|
||||
continue;
|
||||
if($number % 2 == 0){
|
||||
$output = "<tr class='tr_even'>
|
||||
<td>".$number."</td>
|
||||
<td class='profil'><a target ='_blank'href='".$row['url']."'>".$row['url']."</td>
|
||||
<td>".$row['author']."</td>
|
||||
<td>".$row['addtime']."</td>";
|
||||
if($row['banned'] == 0){
|
||||
$output .= "<td><img src='kreuz.png' height='20' width='20'</td>
|
||||
</tr>";
|
||||
}else{
|
||||
$output .= "<td><img src='haken.png' height='20' width='20'</td>
|
||||
</tr>";
|
||||
}
|
||||
}else{
|
||||
$output = "<tr class='tr_odd'>
|
||||
$output = "<tr>
|
||||
<td>".$number."</td>
|
||||
<td class='profil'><a target ='_blank'href='".$row['url']."'>".$row['url']."</td>
|
||||
<td>".$row['author']."</td>
|
||||
|
@ -66,10 +53,9 @@ while($row = $result->fetch_assoc()){
|
|||
$output .= "<td><img src='haken.png' height='20' width='20'</td>
|
||||
</tr>";
|
||||
}
|
||||
echo $output;
|
||||
$number++;
|
||||
}
|
||||
echo $output;
|
||||
$number++;
|
||||
}
|
||||
?>
|
||||
</table><br>
|
||||
|
||||
|
|
BIN
schriftv2.png
Normal file
BIN
schriftv2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
20
style.css
20
style.css
|
@ -2,6 +2,8 @@ body {
|
|||
background-size: cover;
|
||||
background-image: url(bg.jpg);
|
||||
font-family: 'Lato', sans-serif;
|
||||
margin: 0;
|
||||
margin-top: 25;
|
||||
}
|
||||
|
||||
table, td, th {
|
||||
|
@ -13,7 +15,9 @@ td, th {
|
|||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 100%
|
||||
width: 100%;
|
||||
border-bottom: 2px solid rgba(255,255,255, 1);
|
||||
/*border-bottom: 3px solid blue;*/
|
||||
}
|
||||
th {
|
||||
color: #DDDDDD;
|
||||
|
@ -30,8 +34,8 @@ td {
|
|||
tr {
|
||||
background: rgba(18,18,18, 0.6) !important;
|
||||
}
|
||||
tr:last-child {
|
||||
border-bottom: 2px solid rgba(255,255,255, 1) !important;
|
||||
table {
|
||||
|
||||
}
|
||||
.profil {
|
||||
text-align: left !important;
|
||||
|
@ -75,9 +79,11 @@ table.center {
|
|||
}
|
||||
|
||||
.bild {
|
||||
transform: scale(0.3,0.3);
|
||||
/*background: rgba(18,18,18, 0.3);*/
|
||||
/*border-top: 2px solid #DDDDDD;
|
||||
border-bottom: 2px solid #DDDDDD;*/
|
||||
background: rgba(18,18,18, 0.3);
|
||||
border-top: 2px solid #DDDDDD;
|
||||
border-bottom: 2px solid #DDDDDD;
|
||||
text-align: center;
|
||||
margin-bottom: 25px;
|
||||
padding: 0;
|
||||
padding-top: 2;
|
||||
}
|
||||
|
|
Reference in a new issue