Example #1
0
<? include('../../include_connexion/connexion_site_on.php'); ?>
<?
	// Récupération des données passées en paramètres
	$mon_action = $_POST["mon_action"];
	$num_promotion = $_POST["num_promotion"];
	
	$ordre = $_POST["ordre"];
	$mouvement = $_POST["mouvement"];
	$id_changement = $_POST["id_changement"];
	
	$promotion = new promotion();
	
	// Suppression d'un cours
	if ($mon_action == "suppression") {
		//echo "Suppression...<br>";
		if ( $promotion->load( $num_promotion ) ) $promotion->supprimer();
	}
	
	// Liste des promotions disponibles
	$liste_promotion = $promotion->getListe();
	
	$menu = "promotion";
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
	
	<!-- Titre de la page et CSS -->
	<? include_once('../includes/head.php'); ?>
	
	<link rel="stylesheet" href="../css/modal-message.css" type="text/css">