Location: PHPKode > projects > EmploiNet : a timetable web manager > EmploiNet/v0.8.0/Formulaire/FormulaireGroupebis.php3
<?
	include("../edt/fonctions_edt.php3");
	include("../BarreDeMenu.php3");
    include("../Session/security.php");

// Entete
        buildHeader("Trombinoscope Groupe");

// Verification de la session
	$autorisation_list[0]=0; // Administrateur
	$autorisation_list[1]=1; // Professeur
	$autorisation_list[2]=3; // Gestionnaire
	$user_type = validateSession($id_session);
	if ($user_type == -1 || !security($id_session,$autorisation_list)) print("Accès refusé");
        else
        {
// Barre de menu
	 buildMenuBar($id_session,$user_type,"",false);
// Ouverture de la connexion avec la base de donnees
         $connection = openConnection($databaseName);


  // *************** DEBUT DU FORMULAIRE ***************
         print("<FORM name=form1 ACTION=\"FormulaireGroupebis.php3\">\n");
         print("      <input type=\"hidden\" name=\"id_session\" value=\"$id_session\">\n");
         print("<table align=center border=0 cellspacing=0 cellpading=0 width=700 bgcolor=\"#C0C000\">\n");
         print("  <tr>\n");

// Liste des promotions	
         print("          <td valign=top width=100 nowrap><font size=3><i>Promotion :</i></font></td>\n");
	 print("          <td width=250 valign=top>\n");
         include("../Liste/liste_promotionb.php");
	 print("          </td>\n");
         print("</FORM>\n");
         
         if(isset($id_promotion))
         {
         
          print("<FORM name=form2 ACTION=\"../tromb/trombinoscope.php3\">\n");
// Liste des groupes associes a la promotion selectionnee
          print("<input type=\"hidden\" name=\"id_promotion\" value=\"$id_promotion\">\n");
          print("<input type=\"hidden\" name=\"id_session\" value=\"$id_session\">\n");
          include("../Liste/liste_groupeb.php");
          print("          </td>\n");
          print("  </tr>\n");
          print("</FORM>\n"); 
	 }
         print("</table><br>\n");
        }
       buildEndOfPage();
?>



Return current item: EmploiNet : a timetable web manager