Beispiel #1
0
  -      Affichage du formulaire  -
  ================================*/
?>
<form id="impression" action="<?php 
echo htmlentities($_SERVER['PHP_SELF']);
?>
?rubrique=<?echo $cible;?>&amp;arch=<?echo $arch;?>" method="post"  >
<div><input name="TA" type="hidden"  value="<?php 
echo md5($_SESSION['RT'] . htmlentities($_SERVER['PHP_SELF']));
?>
" />
<h1 class='title'>Impression du Cahier de Textes</h1>
<fieldset id="field7">
<legend id="legende">Classe  de <b> <?echo $classe_active .'</b> en <b>'. $mati_active ?></b></legend>
<p>Imprimer le contenu du cahier de textes de la classe  de <b> <?echo $classe_active .'</b> en <b>'. $mati_active ?></b>
 depuis le : <?calendrier_auto(-365,'jour_c','mois_c','an_c',$tsmp);?><input type="hidden" name="numrub" value= "<?php 
echo $ch;
?>
" /></p>
<div id="chrono">
<input type="radio" name="Option1" value="asc" <?php 
if ($sens == "asc" || $sens == "") {
    echo ' checked="checked"';
}
?>
 />par date croissante &nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="Option1" value="desc"<?php 
if ($sens == "desc") {
    echo ' checked="checked"';
}
?>
Beispiel #2
0
} elseif (count($_SESSION['saclasse']) == 1) {
    echo '<b>' . $_SESSION['saclasse'][1] . '</b>';
} else {
    echo "<select name='mlec547trg2s5hy' style='background-color:#E6E6FA'>";
    foreach ($_SESSION['saclasse'] as $cle => $valeur) {
        echo "<option value=\"{$valeur}\"";
        if ($valeur == $ch) {
            echo ' selected="selected"';
        }
        echo ">{$valeur}</option>\n";
    }
    echo "</select>";
}
?>

depuis le :	<?calendrier_auto(-60,'jour_c','mois_c','an_c',$tsmp);?>
<input type="hidden" name="numrub" value= "<?php 
echo $ch;
?>
" />
<input type="hidden" name="rub_activ" value= "<?php 
echo $cible;
?>
" />
<input type="submit" name="valider" value="" class="bt-valid" />
<input type="button" value="" class="bt-annul" onclick="history.back()" />
<div id="services">
<input type="submit" name="plan" value="" class="bt-plan-dev" />
<?php 
//Affichage du lien des absences
if (ldap_get_right("Cdt_is_cpe", $_SESSION['login']) == "Y") {