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,67 @@
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
+
23
+	<table border="0" cellspacing="0" cellpadding="0" align="center" valign='center'>
24
+		<tr>
25
+			<td width="400">
26
+			<?php
27
+			echo "<br><br><a href='tailleur.php'>Quitter le 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="137" 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="192">
42
+					</td>
43
+					<td width="197" height="279" align="center" valign="center">
44
+						<?php
45
+							echo "<img src='images/dessins/P_tailleur.jpg' border ='0' width='197' height='279'>";
46
+						?>
47
+					</td>
48
+					<td background="images/bordure_06.gif" width="14" height="192">
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="137" 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
+</body>
64
+</html>
65
+<?php
66
+	mysql_close();
67
+?>