echo get_nature_sanction($traitement); echo "</p>\n"; echo "<blockquote>\n"; echo "<input type='hidden' name='ele_login' id='ele_login' value='$ele_login' />\n"; include('saisie_sanction.inc.php'); echo "</blockquote>\n"; echo "<input type='hidden' name='traitement' value='$traitement' />\n"; echo "<input type='hidden' name='id_sanction' value='$id_sanction' />\n"; echo "<input type='hidden' name='id_incident' value='$id_incident' />\n"; echo "</form>\n"; echo envoi_mail_rappel_js(); rappel_incident($id_incident); echo "<script type='text/javascript'> function maj_lieu(id_lieu,champ_select) { if(document.getElementById(id_lieu)) { //document.getElementById(id_lieu).value=document.getElementById(champ_select).selectedIndex; document.getElementById(id_lieu).value=document.getElementById(champ_select).options[document.getElementById(champ_select).selectedIndex].value; } } </script>\n"; } else { echo "<p>Euh... c'est pas prévu qu'on arrive là (pour le moment;o).</p>\n"; }
echo "desc"; } else { echo "asc"; } echo "#travaux_en_souffrance'>Date de retour</a></th>\n"; echo "<th>Travail</th>\n"; echo "<th>Donné par (Déclarant)</th>\n"; echo "<th>Effectué</th>\n"; echo "</tr>\n"; $alt_b = 1; while ($lig_sanction = mysqli_fetch_object($res_sanction)) { if ($_SESSION['statut'] != 'professeur' || in_array($lig_sanction->id_incident, $tab_incidents_prof)) { $alt_b = $alt_b * -1; echo "<tr class='lig{$alt_b}'>\n"; echo "<td>"; $texte = rappel_incident($lig_sanction->id_incident, 'retour'); $tabdiv_infobulle[] = creer_div_infobulle("incident_" . $lig_sanction->id_incident, "" . ucfirst($mod_disc_terme_incident) . " n°{$lig_sanction->id_incident}", "", $texte, "", 30, 0, 'y', 'y', 'n', 'n'); if ($_SESSION['statut'] != 'professeur' || in_array($lig_sanction->id_incident, $tab_incidents_prof_declarant)) { echo "<a href='saisie_incident.php?id_incident={$lig_sanction->id_incident}&step=2'"; echo " onmouseover=\"cacher_toutes_les_infobulles();delais_afficher_div('incident_" . $lig_sanction->id_incident . "','y',20,20,{$delais_affichage_infobulle},{$largeur_survol_infobulle},{$hauteur_survol_infobulle});\" title=\"Consulter/Modifier l'incident.\""; echo ">{$lig_sanction->id_incident}</a>"; } else { echo "<a href='#'"; echo " onmouseover=\"cacher_toutes_les_infobulles();delais_afficher_div('incident_" . $lig_sanction->id_incident . "','y',20,20,{$delais_affichage_infobulle},{$largeur_survol_infobulle},{$hauteur_survol_infobulle});\""; echo " onclick='return false;'"; echo ">"; echo $lig_sanction->id_incident; echo "</a>"; } echo "</td>\n"; echo "<td>" . ucfirst($lig_sanction->nature) . "</td>\n";