summaryrefslogtreecommitdiff
path: root/beta_old1/app/include/ludo/div_create_or_modif.php
blob: c38606095e76cc04da71d95c942662614fe45363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
$isModif=false;
if ( isset ( $_GET['idR']) )
{
	if ( ! isset($_GET['objetR']) || ! isset($_GET['lieuR']) || ! isset($_GET['ordreJourR']) || ! isset($_GET['remarquesR']) )
	{
		$errmsg="Impossible de modifier la r�union : Param�tres incorrects\n";
		return;
	}
	$idR=addslashes($_GET['idR']);
	$objetR=addslashes($_GET['objetR']);
	$lieuR=addslashes($_GET['lieuR']);
	$ordreJourR=addslashes($_GET['ordreJourR']);
	$remarquesR=addslashes($_GET['remarquesR']);
	
	$isModif=true;
}
?>
<form action="" method="post">
	<input name="action" type="hidden" value="modif_detail_reunion" />
<?php
	echo ' <input name="idR" type="hidden" value="' . $idR . '" />'
?>
	<table class="detail_reunion" summary="D�tail de la r�union que vous avez s�lectionn�e">
		<thead>
			<tr>
				<th colspan="2">
					<?php if ($isModif) { echo 'Modification des d�tails de la r�union'; } else { echo 'Cr�ation d\'une r�union'; } ?>
				</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td><strong>Objet :</strong></td>
				<td>
					<input name="objetR" type="text" size="40" <?php if ($isModif) { echo 'value="' . $objetR .'"'; } ?>></input>
				</td>
			</tr>
			<tr>
				<td><strong>Lieu :</strong></td>
				<td>
					<input name="lieuR" type="text" size="40" <?php if ($isModif) { echo 'value="' . $lieuR .'"'; } ?>></input>
				</td>
			</tr>
			<tr>
				<td><strong>Ordre du jour :</strong></td>
				<td>
					<textarea name="ordreJourR" cols="40" rows="3"><?php if ($isModif) { echo $ordreJourR; } ?></textarea>
				</td>
			</tr>
			<tr>
				<td><strong>Remarques :</strong></td>
				<td>
					<textarea name="remarquesR" cols="40" rows="3"><?php if ($isModif) { echo $remarquesR; } ?></textarea>
				</td>
			</tr>
			<tr>
				<td><strong>Etat :</strong></td>
				<td>
					<input name="isCancelled" type="checkbox">Annul�e</input>
					<input name="isHidden" type="checkbox" checked="checked">Disponibilit�s masqu�es</input>
				</td>
			</tr>
			<tr>
				<!--<td>&nbsp;</td>-->
				<td colspan="2">
					<input name="Valider" type="submit" value="Valider"></input>
				</td>
			</tr>
		</tbody>
	</table>
</form>