コード例 #1
0
ファイル: getBulletin.php プロジェクト: roger-jb/edeip
		</div>
		<div id="corps">
			<div class="titre_corps">
				<h3 class="centrer">Bulletin</h3>
			</div>
			<fieldset>
				<legend>Choisir un niveau et un &eacute;l&egrave;ve</legend>
				<form method="post" action="<?php echo '../Bulletin/genBulletin.php' ?>">
					<table>
						<tr>
							<td>Trimestre</td>
							<td>
								<select id="selectTrimestre" name="idTrimestre">
									<option value=""></option>
									<?php
									$trimestres = Trimestre::getAll();
									foreach ($trimestres as $trimestre){
										echo "<option value='".$trimestre->getIdTrimestre()."'>".$trimestre->getLibelleTrimestre()."</option>";
									}
									?>
								</select>
							</td>
						</tr>
						<tr>
							<td>Niveau</td>
							<td>
								<select id="selectNiveau" name="idNiveau">
									<option value=""></option>
									<?php
									$niveaux = Niveau::getAll();
									foreach ($niveaux as $niv){