Location: PHPKode > projects > Anomalie4 > reset.php3
<?
/*
La 4e anomalie : real-time and web based galaxy conquest game. Have fun !
Copyright (C) 2003 

Sylvain Moreau F-78220  
email 1 : hide@address.com
email 2 : hide@address.com

This program is free software; you can redistribute it and/or modify it under the terms 
of the GNU General Public License as published by the Free Software Foundation; 
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program;
if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
*/
include ("lib_gen.php3");
include ("lib_ent.php3");
include ("lib_p4.php3");

affiche_enteteHTML();
include ("authen.php3");

if(strcasecmp($login,"Dieu")) quitte("Probleme d'authentification");
if ($phrase!="Je veux tout effacer") quitte("La phrase n'est pas tapee correctement");

connecte();
$query="SELECT GET_LOCK(\"lock\", 10)";
requete($query);

genere_partie();
?>
<P> <b> Toute la partie et les joueurs ont ete effaces </b></p>
<a href="admin.php3"> Revenir au module d'administration </a>
Return current item: Anomalie4