Example #1
0
				<th>Ref.</th>
				<th>Nom de l'item</th>
				<th>Note à<br />ce devoir</th>
				<th>Score<br />cumulé</th>
			</tr>
		</thead>
		<tbody>
			<tr><td class="nu" colspan="4"></td></tr>
		</tbody>
	</table>
	<?php echo affich_legende_html($note_Lomer=TRUE,$etat_bilan=TRUE); ?>
</div>

<form action="#" method="post" id="zone_eval_saisir" class="hide" onsubmit="return false">
	<div id="titre_saisir" class="ti b"></div>
	<p>Auto-évaluation possible jusqu'au <span id="report_date" class="b"></span> (les notes peuvent ensuite être modifiées par le professeur).</p>
	<table id="table_saisir" class="vm_nug">
		<thead>
			<tr>
				<th colspan="5">Note</th>
				<th>Item</th>
			</tr>
		</thead>
		<tbody>
			<tr><td class="nu" colspan="6"></td></tr>
		</tbody>
	</table>
	<p class="ti"><?php echo $bouton_valider_autoeval ?><input type="hidden" name="f_devoir" id="f_devoir" value="" /> <button id="fermer_zone_saisir" type="button" class="retourner">Retour</button><label id="msg_saisir"></label></p>
	<?php echo affich_legende_html($note_Lomer=TRUE,$etat_bilan=FALSE); ?>
</form>
Example #2
0
						else
						{
							$texte_bilan = '---';
						}
						$releve_HTML_table_foot .= '<tr><td class="nu">&nbsp;</td><td colspan="'.$bilan_colspan.'">Pourcentage d\'items acquis '.$texte_bilan.'</td><td class="nu"></td></tr>'."\r\n";
						$releve_PDF->bilan_item_individuel_ligne_synthese('Pourcentage d\'items acquis '.$texte_bilan);
					}
					$releve_HTML_table_foot = ($releve_HTML_table_foot) ? '<tfoot>'.$releve_HTML_table_foot.'</tfoot>'."\r\n" : '';
					$releve_HTML_individuel .= '<table id="table'.$eleve_id.'x'.$matiere_id.'" class="bilan hsort">'.$releve_HTML_table_head.$releve_HTML_table_foot.$releve_HTML_table_body.'</table>';
					$releve_HTML_individuel .= '<script type="text/javascript">$("#table'.$eleve_id.'x'.$matiere_id.'").tablesorter();</script>';
				}
			}
			if($legende=='oui')
			{
				$releve_PDF->bilan_item_individuel_legende($format);
				$releve_HTML_individuel .= affich_legende_html($note_Lomer=TRUE,$etat_bilan=TRUE);
			}
		}
	}
	// On enregistre les sorties HTML et PDF
	Ecrire_Fichier($dossier.str_replace('<REPLACE>','individuel',$fichier_nom).'.html',$releve_HTML_individuel);
	$releve_PDF->Output($dossier.str_replace('<REPLACE>','individuel',$fichier_nom).'.pdf','F');
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Elaboration de la synthèse collective en HTML et PDF
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

if($type_synthese)
{
	$matiere_et_groupe = ($format=='matiere') ? $matiere_nom.' - '.$groupe_nom : $groupe_nom ;
Example #3
0
			$releve_HTML .= '<table class="bilan" style="width:900px;margin-bottom:0"><tbody>';
			$releve_HTML .= '<tr><th style="width:540px">'.html($tab_matiere[$matiere_id]).'</th>'.affich_barre_synthese_html($width=360,$tab_infos_matiere['total'],$total).'</tr>';
			$releve_HTML .= '</tbody></table>'; // Utilisation de 2 tableaux sinon bugs constatés lors de l'affichage des détails...
			$releve_HTML .= '<table class="bilan" style="width:900px;margin-top:0"><tbody>';
			//  On passe en revue les synthèses...
			unset($tab_infos_matiere['total']);
			foreach($tab_infos_matiere as $synthese_ref => $tab_infos_synthese)
			{
				$tab_infos_synthese = array_filter($tab_infos_synthese,'non_zero'); // Retirer les valeurs nulles
				$total = array_sum($tab_infos_synthese) ; // La somme ne peut être nulle (sinon la matière ne se serait pas affichée)
				$releve_PDF->bilan_synthese_ligne_synthese($tab_synthese[$synthese_ref],$tab_infos_synthese,$total);
				$releve_HTML .= '<tr>'.affich_barre_synthese_html($width=180,$tab_infos_synthese,$total).'<td style="width:720px">';
				$releve_HTML .= '<a href="#" id="to_'.$synthese_ref.'_'.$eleve_id.'"><img src="./_img/toggle_plus.gif" alt="" title="Voir / masquer le détail des items associés." class="toggle" /></a> ';
				$releve_HTML .= html($tab_synthese[$synthese_ref]);
				$releve_HTML .= '<div id="'.$synthese_ref.'_'.$eleve_id.'" class="hide">'.implode('<br />',$tab_infos_detail_synthese[$eleve_id][$synthese_ref]).'</div>';
				$releve_HTML .= '</td></tr>';
			}
			$releve_HTML .= '</tbody></table>';
		}
		if($legende=='oui')
		{
			$releve_PDF->bilan_synthese_legende($format);
			$releve_HTML .= affich_legende_html($note_Lomer=FALSE,$etat_bilan=TRUE);
		}
	}
}
// On enregistre les sorties HTML et PDF
Ecrire_Fichier($dossier.$fichier_nom.'.html',$releve_HTML);
$releve_PDF->Output($dossier.$fichier_nom.'.pdf','F');

?>