31 lines
962 B
PHP
Executable File
31 lines
962 B
PHP
Executable File
<?php
|
|
$id_tournoi=$_GET['id_tournoi'];
|
|
$date=$_GET['date'];
|
|
|
|
include("conf.php");
|
|
|
|
|
|
$requete="UPDATE participant SET appel_en_cours='non', a_prevenir='Pas_Encore' WHERE a_prevenir='Serveur_Vocal' AND prevenu IS NULL'";
|
|
$reponse=mysqli_query($db_connection, $requete) or die ("Erreur no".mysqli_errno($db_connection)()." : ".mysqli_error($db_connection)()."<br>");
|
|
|
|
$message="Les appels ont étés arrêtés avec succès.";
|
|
?>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
|
|
<?php
|
|
echo "<meta http-equiv='refresh' content='2; url=RappelTel_suite.php?id_tournoi=$id_tournoi&date=$date' />";
|
|
?>
|
|
<title>Redirection</title>
|
|
<meta name="robots" content="noindex,follow" />
|
|
</head>
|
|
|
|
<body>
|
|
<?php
|
|
echo $message."\n";
|
|
echo "<a href='RappelTel_suite.php?id_tournoi=$id_tournoi&date=$date>Retour à la page de gestion des appels</a>";
|
|
?>
|
|
</body>
|
|
</html>
|