Browse code

Version initiale du programme sous forme de boucle conditionnelle

Emmanuel ROY authored on 01/05/2022 12:54:29
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,69 @@
1
+<?php
2
+//creation de la session ... inclusion du code ... verification de la session connect�e...
3
+session_start();
4
+include ('fonctions.php');
5
+check_session();
6
+include ('fonctionsDenTete.php');
7
+?>
8
+<html>
9
+<head>
10
+<title>Ville de Dragons</title>
11
+<link rel='stylesheet' href='Style.css' type='text/css'>
12
+</head>
13
+<body>
14
+<?php
15
+	AfficheBarreDEtat(0);
16
+	if(!isset($_GET['position'])){
17
+		$position = 1;
18
+	}else{
19
+		$position = $_GET['position'];
20
+	}
21
+?>
22
+	<table border="0" cellspacing="0" cellpadding="0" align="center" valign='center'>
23
+		<tr>
24
+			<td width="400">
25
+			<?php
26
+			echo "<br><br><a href='vieilleVille.php?position=4'>Retour</a>";
27
+			echo "<br><br><a href='D_tailleur.php'>Parler au tailleur</a>";
28
+			?>
29
+			</td>
30
+			<td width="300">
31
+			<table border="0" cellspacing="0" cellpadding="0" align="center">
32
+				<tr>
33
+					<td background="images/bordure_01.gif" width="14" height="19">
34
+					</td>
35
+					<td background="images/bordure_02.gif" width="272" height="19">
36
+					</td>
37
+					<td background="images/bordure_03.gif" width="14" height="19">
38
+					</td>
39
+				</tr>
40
+				<tr>
41
+					<td background="images/bordure_04.gif" width="14" height="193">
42
+					</td>
43
+					<td width="272" height="192" align="center" valign="center">
44
+						<?php
45
+							echo "<img src='images/dessins/tailleur-boutique.jpg' border ='0' width='272' height='192'>";
46
+						?>
47
+					</td>
48
+					<td background="images/bordure_06.gif" width="14" height="193">
49
+					</td>
50
+				</tr>
51
+				<tr>
52
+					<td background="images/bordure_07.gif" width="14" height="18">
53
+					</td>
54
+					<td background="images/bordure_08.gif" width="3" height="18">
55
+					</td>
56
+					<td background="images/bordure_09.gif" width="14" height="18">
57
+					</td>
58
+				</tr>
59
+			</table>
60
+			</td>
61
+		</tr>
62
+	</table>
63
+
64
+	</td>
65
+</body>
66
+</html>
67
+<?php
68
+	mysql_close();
69
+?>