Blame view

pages/schools.php 2.04 KB
722c6952   Geoffrey PREUD'HOMME   schools: Nicer ex...
1
  <h2>Liste écoles participantes</h2>
56320b01   Jean Wasilewski   Added creds
2
  <?php
bef62793   JLo'w   #8 plus de BDD ma...
3
  $ecoles = array(
0d215916   JLo'w   Fix #8
4
5
6
7
8
9
10
11
12
13
14
15
      array("nom" => "Condorcet", "adresse" => "Allée Denieppe, Willems", "enseignant" => "Mme Vernier"),
      array("nom" => "Cousteau", "adresse" => "58 Rue de la Fraternité, Marquette", "enseignant" => "Mr Griffon"),
      array("nom" => "Curie Ferry", "adresse" => "41 Rue Chanzy, Saint André", "enseignant" => "Mme Faidherbe"),
      array("nom" => "Curie Ferry", "adresse" => "41 Rue Chanzy, Saint André", "enseignant" => "Mme Pollet"),
      array("nom" => "Jeanne de Flandre", "adresse" => "Jeanne de Flandre, Marquette", "enseignant" => "Mme Dejardin"),
      array("nom" => "Jules Ferry", "adresse" => "241 Rue des Ecoles, Wambrechies", "enseignant" => "Mme Loonis"),
      array("nom" => "Les Peupliers", "adresse" => "23 Avenue des Peupliers, Saint André", "enseignant" => "Mme Lescaillet"),
      array("nom" => "Les Peupliers", "adresse" => "23 Avenue des Peupliers, Saint André", "enseignant" => "Mme Nicolas"),
      array("nom" => "Louise de Bettignies", "adresse" => "102 Avenue de la Liberté, Lambersart", "enseignant" => "Mme Paris"),
      array("nom" => "Marie Curie", "adresse" => "Rue Lannelongue, Hem", "enseignant" => "Mr Guillain"),
      array("nom" => "Petit Prince", "adresse" => "29 Avenue du Général Leclerc, Lys lez Lannois", "enseignant" => "Mme Delcroix"),
      array("nom" => "Samain", "adresse" => "28 Place de la République, Lambersart", "enseignant" => "Mme Vidal")
bef62793   JLo'w   #8 plus de BDD ma...
16
  );
56320b01   Jean Wasilewski   Added creds
17
  ?>
368cb3c0   Jean Wasilewski   Added school list
18
19
20
21
22
  
  <center>
  	<table class="table table-striped table-responsive table-bordered">
  		<div class="panel_heading">
  			<thead>
8cea2eb9   Geoffrey PREUD'HOMME   Beautifier passe
23
  				<tr>
368cb3c0   Jean Wasilewski   Added school list
24
  					<th>Nom de l'école</th>
c8a4fc85   Geoffrey PREUD'HOMME   Also where did th...
25
  					<th>Adresse</th>
722c6952   Geoffrey PREUD'HOMME   schools: Nicer ex...
26
  					<th>Enseignant</th>
368cb3c0   Jean Wasilewski   Added school list
27
28
29
30
31
  				</tr>
  			</thead>
  		</div >
  		<tbody>
  <?php
8cea2eb9   Geoffrey PREUD'HOMME   Beautifier passe
32
  
bef62793   JLo'w   #8 plus de BDD ma...
33
      foreach($ecoles as $row) {
722c6952   Geoffrey PREUD'HOMME   schools: Nicer ex...
34
35
36
37
38
          echo '<tr>';
          echo '<td>';
          echo '<p>' . $row['nom'] . '</p>';
          echo '</td>';
          echo '<td>';
722c6952   Geoffrey PREUD'HOMME   schools: Nicer ex...
39
40
          echo '<p>' . $row['adresse'] . '</p>';
          echo '</td>';
4bb3187b   Geoffrey PREUD'HOMME   Re-added teacher ...
41
42
43
          echo '<td>';
          echo '<p>'.$row['enseignant'].'</p>';
          echo '</td>';
722c6952   Geoffrey PREUD'HOMME   schools: Nicer ex...
44
45
          echo '</tr>';
      }
368cb3c0   Jean Wasilewski   Added school list
46
  ?>
722c6952   Geoffrey PREUD'HOMME   schools: Nicer ex...
47
  
368cb3c0   Jean Wasilewski   Added school list
48
49
50
  		</tbody>
  	</table>
  </center>