コード例 #1
0
    $newDossard = HTTP_RESQUEST::post("newDossard");
    $oldDossard = HTTP_RESQUEST::post("oldDossard");
    $teamId = HTTP_RESQUEST::post("teamId");
    $obj_utils->updateDossard($oldDossard, $newDossard, $teamId);
    $runner1Id = HTTP_RESQUEST::post("runner1Id");
    $runner2Id = HTTP_RESQUEST::post("runner2Id");
    $nom1 = HTTP_RESQUEST::post("nom1");
    $prenom1 = HTTP_RESQUEST::post("prenom1");
    $nom2 = HTTP_RESQUEST::post("nom2");
    $prenom2 = HTTP_RESQUEST::post("prenom2");
    $sexe1 = HTTP_RESQUEST::post("sexe1");
    $sexe2 = HTTP_RESQUEST::post("sexe2");
    $obj_utils->updateRunner($nom1, $prenom1, $runner1Id, $sexe1);
    $obj_utils->updateRunner($nom2, $prenom2, $runner2Id, $sexe2);
}
$tabRunners = $obj_utils->getAllRaceTeams();
if ($tabRunners != 0) {
    ?>
	<table class="principale">
		<tr><th colspan="5"><h2>Liste des courreurs du challenge</h2></th></tr>
		<tr>
			<th>Equipier 1</th>
			<th>Equipier 2</th>
			<th>Dossard</th>
			<th></th>
		</tr>
	
	<?php 
    for ($i = 0; $i < sizeof($tabRunners); $i++) {
        ?>
	<form action="./index.php?page=correction/correction_runner.php" method="post">