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,78 @@
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
+<script language="JavaScript">
15
+function PopUp() {
16
+  var Option = 'width=500,height=700,'
17
+             + 'left=50,top=100,'
18
+             + 'screenX=50,screenY=100';
19
+  Fenetre = window.open('ennemi2.php','Combat',Option);
20
+}
21
+
22
+</script>
23
+<body>
24
+<table border="0" height="100%" width="100%">
25
+	<tr>
26
+	<td valign="center">
27
+	<table border="0" cellspacing="0" cellpadding="0" align="center">
28
+		<tr>
29
+			<td width="400">
30
+			<table border="0" cellspacing="0" cellpadding="0" align="center">
31
+				<tr>
32
+					<td background="images/bordure_01.gif" width="14" height="19">
33
+					</td>
34
+					<td background="images/bordure_02.gif" width="300" height="19">
35
+					</td>
36
+					<td background="images/bordure_03.gif" width="14" height="19">
37
+					</td>
38
+				</tr>
39
+				<tr>
40
+					<td background="images/bordure_04.gif" width="14" height="300">
41
+					</td>
42
+					<td width="300" height="300" align="center" valign="center">
43
+						<?php
44
+							echo "<img src='images/dessins/logoDragonCercle.jpg' border ='0' width='300' height='300'>";
45
+						?>
46
+					</td>
47
+					<td background="images/bordure_06.gif" width="14" height="300">
48
+					</td>
49
+				</tr>
50
+				<tr>
51
+					<td background="images/bordure_07.gif" width="14" height="18">
52
+					</td>
53
+					<td background="images/bordure_08.gif" width="300" height="18">
54
+					</td>
55
+					<td background="images/bordure_09.gif" width="14" height="18">
56
+					</td>
57
+				</tr>
58
+			</table>
59
+			</td>
60
+		</tr>
61
+		<tr>
62
+			<td align="center">
63
+			<?php
64
+			echo "<p align='left'>vous n'avez pas fini de combattre</p>";
65
+			echo "<center><img src='images/fioriture.png'></center>";
66
+			echo "<a href=javascript:PopUp()>Finir de combattre...</a>";
67
+			?>
68
+			</td>
69
+		</tr>
70
+	</table>
71
+	</td>
72
+	</tr>
73
+</table>
74
+</body>
75
+</html>
76
+<?php
77
+	mysql_close()
78
+?>