Browse Source

ajout des ";"

master
BOLLET Corentin 1 year ago
parent
commit
e59588c45e
  1. 8
      index.php

8
index.php

@ -85,12 +85,12 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<form method="post" action=""> <form method="post" action="">
<?php <?php
if ($etat_volet === "none") { if ($etat_volet === "none") {
echo '<input type="submit" name="ouvrir_volet" value="oui" onclick="document.getElementById(\'chargement_fermeture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">' echo '<input type="submit" name="ouvrir_volet" value="oui" onclick="document.getElementById(\'chargement_fermeture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">';
echo '<input type="submit" name="fermer_volet" value="oui" onclick="document.getElementById(\'chargement_ouverture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">' echo '<input type="submit" name="fermer_volet" value="oui" onclick="document.getElementById(\'chargement_ouverture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">';
} elseif ($etat_volet === "ouvert") { } elseif ($etat_volet === "ouvert") {
echo '<input type="submit" name="fermer_volet" value="oui" onclick="document.getElementById(\'chargement_ouverture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">' echo '<input type="submit" name="fermer_volet" value="oui" onclick="document.getElementById(\'chargement_ouverture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">';
} elseif ($etat_volet === "fermé") { } elseif ($etat_volet === "fermé") {
echo '<input type="submit" name="ouvrir_volet" value="oui" onclick="document.getElementById(\'chargement_fermeture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">' echo '<input type="submit" name="ouvrir_volet" value="oui" onclick="document.getElementById(\'chargement_fermeture_volet\').style.display = \'block\';document.getElementById(\'main\').style.opacity = \'0.5\';">';
}?> }?>
</form> </form>
</div> </div>

Loading…
Cancel
Save