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>
|
</section>
|
||||||
|
|
||||||
<table class="out">
|
<table class="out">
|
||||||
<td>
|
<tr>
|
||||||
<div class="title_in">PKpeach</div>
|
<td><div class="title_in">PKpeach</div></td>
|
||||||
<?php
|
<td><div class="title_in">Boomario</div></td>
|
||||||
$req = $db->query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC');
|
</tr>
|
||||||
while($r = $req->fetch()) {
|
<tr>
|
||||||
?>
|
<td>
|
||||||
<span class="box-point">
|
<?php
|
||||||
<table class="in">
|
$req = $db->query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC');
|
||||||
<td class="left"><?= $r['texte'] ?></td>
|
while($r = $req->fetch()) {
|
||||||
<td class="right"><?= $r['points'] ?></td>
|
?>
|
||||||
</table>
|
<span class="box-point">
|
||||||
</span>
|
<table class="in">
|
||||||
<?php
|
<td class="left"><?= $r['texte'] ?></td>
|
||||||
}
|
<td class="right"><?= $r['points'] ?></td>
|
||||||
?>
|
</table>
|
||||||
</td>
|
</span>
|
||||||
<td>
|
<?php
|
||||||
<div class="title_in">Boomario</div>
|
}
|
||||||
<?php
|
?>
|
||||||
$req = $db->query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC');
|
</td>
|
||||||
while($r = $req->fetch()) {
|
<td>
|
||||||
?>
|
<?php
|
||||||
<span class="box-point">
|
$req = $db->query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC');
|
||||||
<table class="in">
|
while($r = $req->fetch()) {
|
||||||
<td class="left"><?= $r['texte'] ?></td>
|
?>
|
||||||
<td class="right"><?= $r['points'] ?></td>
|
<span class="box-point">
|
||||||
</table>
|
<table class="in">
|
||||||
</span>
|
<td class="left"><?= $r['texte'] ?></td>
|
||||||
<?php
|
<td class="right"><?= $r['points'] ?></td>
|
||||||
}
|
</table>
|
||||||
?>
|
</span>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue