<?php
#=
/****************************************************************************
Copyright 2002, Daniel Deycard, Jacques Messines, Stéphanie Roussel, Jean-Marie Treins
(CATICE Académie de Bordeaux)

This file is part of GiBii/Melia.

GiBii/Melia 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.

GiBii/Melia 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 GiBii/Melia; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

****************************************************************************/
include("../include/vars_adm.php");
include("../include/util.inc.php");
include("../include/eleves_liste.inc.php");
opensession("Admin");
$PHP_SELF=basename($_SERVER['PHP_SELF']);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>

<HEAD>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<TITLE>nom1</TITLE>
<BASE TARGET="form">
<link rel="stylesheet" href="<?php echo "../themes/".$etab_theme."/b2i.css" ?>">
</HEAD>

<BODY class="arialadmin">

<p class="titre_petit">Activer / Désactiver des comptes</p>
<form name="fchoix" method="POST" action="form_choix.php">
 <p align="center"><input type="submit" class="coul" name="par" value="Par classe"></p>
  <p align="center"><input type="submit" class="coul" name="par" value="Par groupe"></p>
 <p align="center"><input type="submit" class="coul" name="par" value="Par élève"></p>
 <p align="center"><input type="submit" class="coul" name="par" value="Par professeur"></p>
 <p align="center"><input type="submit" class="coul" name="par" value="Tout le monde"></p>
 <br /><br />
 <?php if ($etab_typauth_id==1) { ?>
 <p class="titre_petit">Désactiver des comptes non utilisés (mdp=d. de naiss)</p>
 <p class="avis5">Vous avez la possibilité ci-dessous de désactiver d'un clic l'ensemble des comptes qui ont toujours la date de naissance comme mot de passe, pour des raisons de sécurité. <br /><br />Pour les réactiver, il vous suffira de revenir aux boutons du dessus (par exemple avec changement de mot de passe imposé !)</p><br />
<p align="center"><input type="submit" class="coul" name="par" value="Comptes profs"></p>
<p align="center"><input type="submit" class="coul" name="par" value="Comptes élèves"></p>
 <?php   }  ?>
</form>
</BODY>
</HTML>
