Update form class in tables_vue.php, header.php, accueil_vue.php, parties_controleur.php, modele.php, statistiques_controleur.php, and parties_vue.php
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
<h2>Affichage des parties</h2>
|
||||
|
||||
|
||||
<form class="bloc_commandes" method="post" action="#">
|
||||
<form class="bloc_commandes_sans_flex" method="post" action="#">
|
||||
|
||||
<label for="boutonAfficher">Voir Parties</label>
|
||||
<?php
|
||||
$selection = 1;
|
||||
if (isset($_POST['selectparty'])) {
|
||||
$selection = (int) $_POST["selectparty"];
|
||||
}
|
||||
echo '<label for="boutonAfficher">Voir Parties</label>';
|
||||
echo '<select id="selectpartie" name="selectparty">';
|
||||
for ($i = 1; $i <= 50; $i++) {
|
||||
echo '<option value="' . $i . '"';
|
||||
@@ -23,8 +23,12 @@
|
||||
?>
|
||||
|
||||
<input type="submit" name="boutonAfficher" value="Afficher" />
|
||||
<input type="submit" name="boutonAfficherAVenir" value="A venir" />
|
||||
<input type="submit" name="boutonAfficherEnCours" value="En cours" />
|
||||
</br>
|
||||
<input class="grand_input" type="submit" name="boutonAfficherAVenir"
|
||||
value="Cliquez ici pour afficher les parties à venir" />
|
||||
<input class="grand_input" type="submit" name="boutonAfficherEnCours"
|
||||
value="Cliquez ici pour afficher les parties en cours" />
|
||||
</br>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
@@ -39,8 +43,9 @@
|
||||
$url .= 'taille=12';
|
||||
|
||||
echo '<a href="' . $url . '" target="_blank">' . "Afficher les détails de la partie" . '</a>';
|
||||
} else {
|
||||
echo "<h1>Selectionnez une partie !</h1>";
|
||||
}
|
||||
if (!isset($_POST['boutonAfficherAVenir']) && !isset($_POST['boutonAfficherEnCours']) && !isset($_POST['boutonAfficherPartiesTerminees']) && !isset($_POST['boutonAfficher'])) {
|
||||
echo '<h2>Choisissez une option pour afficher les parties</h2>';
|
||||
}
|
||||
?>
|
||||
<?php if ($message != "") { ?>
|
||||
@@ -119,7 +124,7 @@
|
||||
|
||||
|
||||
|
||||
<form class="bloc_commandes" method="post" action="#">
|
||||
<form class="bloc_commandes_sans_flex" method="post" action="#">
|
||||
<label>Rechercher une partie terminée</label>
|
||||
<select id="selectpartieterminee" name="selectpartyterminee">
|
||||
<option value="toutes">Toutes les parties terminées</option>
|
||||
|
||||
Reference in New Issue
Block a user