ajout d'un tr ajustement vertical

This commit is contained in:
Baptiste Rebillard 2022-06-14 21:50:30 +02:00
parent 7352c3510d
commit 3386bb473d

View file

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