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,73 @@
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
+?>
9
+<html>
10
+<head>
11
+<title>Ville de Dragons</title>
12
+<link rel='stylesheet' href='Style.css' type='text/css'>
13
+</head>
14
+<body>
15
+<table border="0" height="100%" width="100%">
16
+	<tr>
17
+	<td valign="center">
18
+	<table border="0" cellspacing="0" cellpadding="0" align="center">
19
+		<tr>
20
+			<td width="600">
21
+			<table border="0" cellspacing="0" cellpadding="0" align="center">
22
+				<tr>
23
+					<td background="images/bordure_01.gif" width="14" height="19">
24
+					</td>
25
+					<td background="images/bordure_02.gif" width="500" height="19">
26
+					</td>
27
+					<td background="images/bordure_03.gif" width="14" height="19">
28
+					</td>
29
+				</tr>
30
+				<tr>
31
+					<td background="images/bordure_04.gif" width="14" height="353">
32
+					</td>
33
+					<td width="500" height="353" align="center" valign="center">
34
+						<?php
35
+							if($_SESSION['Sexe']==1){
36
+								echo "<img src='images/dessins/fatigueF.jpg' border ='0' width='500' height='353'>";
37
+							}else{
38
+								echo "<img src='images/dessins/fatigueH.jpg' border ='0' width='500' height='353'>";
39
+							}
40
+						?>
41
+					</td>
42
+					<td background="images/bordure_06.gif" width="14" height="353">
43
+					</td>
44
+				</tr>
45
+				<tr>
46
+					<td background="images/bordure_07.gif" width="14" height="18">
47
+					</td>
48
+					<td background="images/bordure_08.gif" width="500" height="18">
49
+					</td>
50
+					<td background="images/bordure_09.gif" width="14" height="18">
51
+					</td>
52
+				</tr>
53
+			</table>
54
+			</td>
55
+		</tr>
56
+		<tr>
57
+			<td align="center">
58
+			<?php
59
+			echo "<p align='center'>Vous avez succomb�...</p>";
60
+			echo "<center><img src='images/fioriture.png'></center>";
61
+			echo "<a href='TraitementMort.php'>Recommencez depuis la derni�re sauvegarde...</a>";
62
+			?>
63
+			</td>
64
+		</tr>
65
+	</table>
66
+	</td>
67
+	</tr>
68
+</table>
69
+</body>
70
+</html>
71
+<?php
72
+	mysql_close()
73
+?>