This commit is contained in:
Baptiste Rebillard 2022-06-14 21:48:21 +02:00
parent 2726660593
commit 5302e47ad7
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ table.in .right {
width: 30%; width: 30%;
} }
.title { .title_in {
display: inline-block; display: inline-block;
background-color: white; background-color: white;
color: black; color: black;

View file

@ -23,7 +23,7 @@ include "script/db.php";
<table class="out"> <table class="out">
<td> <td>
<div class="title">PKpeach</div> <div class="title_in">PKpeach</div>
<?php <?php
$req = $db->query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC'); $req = $db->query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC');
while($r = $req->fetch()) { while($r = $req->fetch()) {
@ -44,7 +44,7 @@ include "script/db.php";
$req = $db->query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC'); $req = $db->query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC');
while($r = $req->fetch()) { while($r = $req->fetch()) {
?> ?>
<span class="box-point"> <span class="box-point_in">
<table class="in"> <table class="in">
<td class="left"><?= $r['texte'] ?></td> <td class="left"><?= $r['texte'] ?></td>
<td class="right"><?= $r['points'] ?></td> <td class="right"><?= $r['points'] ?></td>