Example #1
0
			</tr>
			<tr>
				<td class="norme_absence"><?php if ($data_avec_motif['justify_absence_eleve'] == "O") {?><span class="norme_absence_vert"><b>a donn&eacute; pour justification : </b>
									<?php } elseif($data_avec_motif['justify_absence_eleve'] == "T") { ?><span class="norme_absence_vert" style="color: orange;"><b>a justifi&eacute; par t&eacute;l&eacute;phone</b>
																							<?php }else { ?><span class="norme_absence_rouge"><b>n'a pas donn&eacute; de justification</b>
																							<?php } ?></span></td>
			</tr>
			<tr>
				<td class="norme_absence"><?php if(!empty($data_avec_motif['info_justify_absence_eleve'])) { ?><blockquote><?php echo $data_avec_motif['info_justify_absence_eleve']; ?></blockquote><?php } ?></td>
			</tr>
			<tr class="texte_fondjaune_calque_information">
				<td colspan="3">
                <?php

				// affichage des numéros de téléphone
				$info_responsable = tel_responsable($data_avec_motif['ele_id']);

				$telephone = ''; $telephone_pers = ''; $telephone_prof = ''; $telephone_port = '';

				if ( !empty($info_responsable) )
				{
					$nbre = count($info_responsable);
					for ($i = 0 ; $i < $nbre ; $i++){
						if ($info_responsable[$i]['resp_legal'] == '1') {

							$ident_resp = ' <span style="font-size: 0.8em;">(' . $info_responsable[$i]['nom'] . ' ' . $info_responsable[$i]['prenom'] . ' : resp n° ' . $info_responsable[$i]['resp_legal'] . ')</span>';
							if ( $info_responsable[$i]['tel_pers'] != '' ) {
								$telephone_pers = '<br />Pers. <strong>'.present_tel($info_responsable[$i]['tel_pers']).'</strong> ';


							}
Example #2
0
if ( $select_fiche_eleve != '' ) {

	$requete_liste_fiche = "SELECT * FROM ".$prefix_base."eleves WHERE ".$prefix_base."eleves.login = '******'";
	$execution_liste_fiche = mysqli_query($GLOBALS["mysqli"], $requete_liste_fiche) or die('Erreur SQL !'.$requete_liste_fiche.'<br />'.mysqli_error($GLOBALS["mysqli"]));
	while ( $data_liste_fiche = mysqli_fetch_array($execution_liste_fiche))
	{

		$login_eleve = $data_liste_fiche['login'];
		$id_eleve_photo = $data_liste_fiche['elenoet'];
		$ele_id_eleve = $data_liste_fiche['ele_id'];
		$nom_eleve = strtoupper($data_liste_fiche['nom']);
		$prenom_eleve = ucfirst($data_liste_fiche['prenom']);
		$naissance_eleve = date_fr(date_sql(affiche_date_naissance($data_liste_fiche['naissance'])));
		$date_de_naissance = $data_liste_fiche['naissance'];
		$sexe_eleve = $data_liste_fiche['sexe'];
		$responsable_eleve = tel_responsable($ele_id_eleve);

	}
?>

    <br />

<?php /* fiche identitée de l'élève */ ?>
<a name="ident"></a>
<div style="background-image: url(../images/haut_tab.png); font-size: 120%; font-weight: bold; color: #E8F1F4; text-align: left;">Identité élève</div>
<div style="border-top: 2px solid #2C7E8F; /* #FF9F2F */ border-bottom: 2px solid #2C7E8F; width: 100%; margin: auto; padding: 0; position: relative;">
	<div style="height: 175px; background: transparent url(../images/grid_10.png)">
		<div style="float: left; margin: 12.5px;">
	<?php
	if (getSettingValue("active_module_trombinoscopes")=='y') {
		$nom_photo = '';
Example #3
0
            <tr>
				<td class="norme_absence">Pour le motif : <?php echo motab($data_div['motif_absence_eleve']); ?></td>
            </tr>
            <tr>
				<td class="norme_absence"><?php if(!empty($data_div['info_justify_absence_eleve'])) { ?><blockquote><?php echo $data_div['info_justify_absence_eleve']; ?></blockquote><?php } ?></td>
			</tr>
			<?php
             // vérification de la page d'arrivée pour affichage telephone didier
			  if( $pagedarriver === 'gestion_absences') { ?>

            <tr class="texte_fondjaune_calque_information">
                <td colspan="2">
            <?php

				// gestion de l'affichage des numéro de téléphone
				$info_responsable = tel_responsable($data_div['ele_id']);

				$telephone = ''; $telephone_pers = ''; $telephone_prof = ''; $telephone_port = '';

				if ( !empty($info_responsable) )
				{
					// L'affichage du numéro de téléphone du responsable 1
					$nbre = count($info_responsable);
					for ($i = 0 ; $i < $nbre ; $i++){
						if ($info_responsable[$i]['resp_legal'] == '1') {

							$ident_resp = ' <span style="font-size: 0.8em;">(' . $info_responsable[$i]['nom'] . ' ' . $info_responsable[$i]['prenom'] . ' : resp n° ' . $info_responsable[$i]['resp_legal'] . ')</span>';
							if ( $info_responsable[$i]['tel_pers'] != '' ) {
								$telephone_pers = '<br />Pers. <strong>'.present_tel($info_responsable[$i]['tel_pers']).'</strong> ';
							}
							if ( $info_responsable[$i]['tel_prof'] != ''  ) {