if($_SESSION['USER_PROFIL']=='directeur') { $tab_groupes = DB_STRUCTURE_OPT_classes_groupes_etabl(); $tab_matieres = 'Choisir d\'abord un groupe ci dessous...'; // maj en ajax suivant le choix du groupe $of_m = 'oui'; $of_g = 'oui'; $sel_g = false; $class_form_type = 'show'; $class_form_eleve = 'show'; $class_form_periode = 'hide'; $select_eleves = '<option></option>'; // maj en ajax suivant le choix du groupe $check_type_individuel = ''; $check_option_lien = ''; $check_bilan_MS = ' checked="checked"'; $check_bilan_PA = ' checked="checked"'; $check_conv_sur20 = ''; } if($_SESSION['USER_PROFIL']=='professeur') { $tab_groupes = DB_STRUCTURE_OPT_groupes_professeur($_SESSION['USER_ID']); $tab_matieres = DB_STRUCTURE_OPT_matieres_professeur($_SESSION['USER_ID']); $of_m = 'non'; $of_g = 'oui'; $sel_g = false; $class_form_type = 'show'; $class_form_eleve = 'show'; $class_form_periode = 'hide'; $select_eleves = '<option></option>'; // maj en ajax suivant le choix du groupe $check_type_individuel = ''; $check_option_lien = ''; $check_bilan_MS = ' checked="checked"'; $check_bilan_PA = ' checked="checked"'; $check_conv_sur20 = ''; } if($_SESSION['USER_PROFIL']=='eleve') { $tab_groupes = array(0=>array('valeur'=>$_SESSION['ELEVE_CLASSE_ID'],'texte'=>$_SESSION['ELEVE_CLASSE_NOM'],'optgroup'=>'classe')); $GLOBALS['tab_select_optgroup'] = array('classe'=>'Classes'); $tab_matieres = DB_STRUCTURE_OPT_matieres_eleve($_SESSION['USER_ID']); $of_m = 'oui'; $of_g = 'non'; $sel_g = true; $class_form_type = 'hide'; $class_form_eleve = 'hide'; $class_form_periode = 'show'; $select_eleves = '<option value="'.$_SESSION['USER_ID'].'" selected="selected">'.html($_SESSION['USER_NOM'].' '.$_SESSION['USER_PRENOM']).'</option>'; $check_type_individuel = ' checked="checked"';
*/ if(!defined('SACoche')) {exit('Ce fichier ne peut être appelé directement !');} ?> <ul class="puce"> <li><span class="manuel"><a class="pop_up" href="<?php echo SERVEUR_DOCUMENTAIRE ?>?fichier=environnement_generalites__demandes_evaluations">DOC : Demandes d'évaluations.</a></span></li> <li><span class="astuce">Les élèves peuvent formuler au maximum <?php echo $_SESSION['DROIT_ELEVE_DEMANDES'] ?> demande<?php echo ($_SESSION['DROIT_ELEVE_DEMANDES']>1) ? 's' : '' ; ?> par matière.</span></li> <li><span class="astuce">Tenez-vous au courant des demandes grace à <a class="lien_ext" href="<?php echo adresse_RSS($_SESSION['USER_ID']); ?>"><span class="rss">un flux RSS dédié</span></a> !</span></li> </ul> <hr /> <?php // Fabrication des éléments select du formulaire $select_matiere = afficher_select(DB_STRUCTURE_OPT_matieres_professeur($_SESSION['MATIERES'],$_SESSION['USER_ID']) , $select_nom='f_matiere' , $option_first='non' , $selection=false , $optgroup='non'); $select_groupe = afficher_select(DB_STRUCTURE_OPT_groupes_professeur($_SESSION['USER_ID']) , $select_nom='f_groupe' , $option_first='oui' , $selection=false , $optgroup='oui'); ?> <form action="" id="form0"><fieldset> <label class="tab" for="f_matiere">Matière :</label><?php echo $select_matiere ?><input type="hidden" id="f_matiere_nom" name="f_matiere_nom" value="" /><br /> <label class="tab" for="f_groupe">Classe / groupe :</label><?php echo $select_groupe ?><input type="hidden" id="f_groupe_id" name="f_groupe_id" value="" /><input type="hidden" id="f_groupe_type" name="f_groupe_type" value="" /><input type="hidden" id="f_groupe_nom" name="f_groupe_nom" value="" /><br /> <span class="tab"></span><input type="hidden" name="f_action" value="Afficher_demandes" /><button id="actualiser" type="submit"><img alt="" src="./_img/bouton/actualiser.png" /> Actualiser l'affichage.</button><label id="ajax_msg0"> </label> </fieldset></form> <form action="" id="form1" class="hide"> <hr /> <table class="bilan_synthese" style="float:right;margin-left:1em;margin-right:1ex"> <thead><tr><th>élève(s) sans demande</th></tr></thead> <tbody><tr id="tr_sans"><td class="nu"></td></tr></tbody> </table>