forked from vergnet/site-accueil-insa
ajout d'un tr ajustement vertical
This commit is contained in:
parent
7352c3510d
commit
3386bb473d
1 changed files with 37 additions and 33 deletions
70
stats.php
70
stats.php
|
@ -22,41 +22,45 @@ include "script/db.php";
|
|||
</section>
|
||||
|
||||
<table class="out">
|
||||
<td>
|
||||
<div class="title_in">PKpeach</div>
|
||||
<?php
|
||||
$req = $db->query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC');
|
||||
while($r = $req->fetch()) {
|
||||
?>
|
||||
<span class="box-point">
|
||||
<table class="in">
|
||||
<td class="left"><?= $r['texte'] ?></td>
|
||||
<td class="right"><?= $r['points'] ?></td>
|
||||
</table>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<div class="title_in">Boomario</div>
|
||||
<?php
|
||||
$req = $db->query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC');
|
||||
while($r = $req->fetch()) {
|
||||
?>
|
||||
<span class="box-point">
|
||||
<table class="in">
|
||||
<td class="left"><?= $r['texte'] ?></td>
|
||||
<td class="right"><?= $r['points'] ?></td>
|
||||
</table>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><div class="title_in">PKpeach</div></td>
|
||||
<td><div class="title_in">Boomario</div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
$req = $db->query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC');
|
||||
while($r = $req->fetch()) {
|
||||
?>
|
||||
<span class="box-point">
|
||||
<table class="in">
|
||||
<td class="left"><?= $r['texte'] ?></td>
|
||||
<td class="right"><?= $r['points'] ?></td>
|
||||
</table>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
$req = $db->query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC');
|
||||
while($r = $req->fetch()) {
|
||||
?>
|
||||
<span class="box-point">
|
||||
<table class="in">
|
||||
<td class="left"><?= $r['texte'] ?></td>
|
||||
<td class="right"><?= $r['points'] ?></td>
|
||||
</table>
|
||||
</span>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue