1 | 1 |
new file mode 100755 |
... | ... |
@@ -0,0 +1,85 @@ |
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 |
+ //verification de la variable donnant le dialogue a atteindre |
|
9 |
+ if(!isset($_GET['attente'])){ |
|
10 |
+ $attente=0; |
|
11 |
+ }else{ |
|
12 |
+ $attente=$_GET['attente']; |
|
13 |
+ } |
|
14 |
+ |
|
15 |
+ if(!isset($_GET['etat'])){ |
|
16 |
+ //ajout ou supression d'energie |
|
17 |
+ if(isset($_GET['Energie'])&&isset($_GET['AjoutOuSuppr'])){ |
|
18 |
+ ChangementEnergie($_GET['Energie'],$_GET['AjoutOuSuppr']); |
|
19 |
+ } |
|
20 |
+ } |
|
21 |
+ |
|
22 |
+ |
|
23 |
+?> |
|
24 |
+<html> |
|
25 |
+<head> |
|
26 |
+<title>Ville de Dragons</title> |
|
27 |
+<link rel='stylesheet' href='Style.css' type='text/css'> |
|
28 |
+</head> |
|
29 |
+<body> |
|
30 |
+<?php |
|
31 |
+ AfficheBarreDEtat(0); |
|
32 |
+?> |
|
33 |
+<table border="0" height="100%" width="100%"> |
|
34 |
+ <tr> |
|
35 |
+ <td valign="center"> |
|
36 |
+ <table border="0" cellspacing="0" cellpadding="0" align="center"> |
|
37 |
+ <tr> |
|
38 |
+ <td width="400"> |
|
39 |
+ <?php |
|
40 |
+ echo "<p align='left'>La pi�ce est vide...</p>" |
|
41 |
+ ."<center><img src='images/fioriture.png'></center>" |
|
42 |
+ ."<a href='sortieParc.php'>Sortir...</a>"; |
|
43 |
+ ?> |
|
44 |
+ </td> |
|
45 |
+ <td width="300"> |
|
46 |
+ <table border="0" cellspacing="0" cellpadding="0" align="center"> |
|
47 |
+ <tr> |
|
48 |
+ <td background="images/bordure_01.gif" width="14" height="19"> |
|
49 |
+ </td> |
|
50 |
+ <td background="images/bordure_02.gif" width="272" height="19"> |
|
51 |
+ </td> |
|
52 |
+ <td background="images/bordure_03.gif" width="14" height="19"> |
|
53 |
+ </td> |
|
54 |
+ </tr> |
|
55 |
+ <tr> |
|
56 |
+ <td background="images/bordure_04.gif" width="14" height="193"> |
|
57 |
+ </td> |
|
58 |
+ <td width="272" height="193" align="center" valign="center"> |
|
59 |
+ <?php |
|
60 |
+ echo "<div style='position:relative;top:0;left:0'><img src='images/dessins/Fermeannexe2.jpg' border ='0' width='272' height='193'></div>"; |
|
61 |
+ ?> |
|
62 |
+ </td> |
|
63 |
+ <td background="images/bordure_06.gif" width="14" height="193"> |
|
64 |
+ </td> |
|
65 |
+ </tr> |
|
66 |
+ <tr> |
|
67 |
+ <td background="images/bordure_07.gif" width="14" height="18"> |
|
68 |
+ </td> |
|
69 |
+ <td background="images/bordure_08.gif" width="3" height="18"> |
|
70 |
+ </td> |
|
71 |
+ <td background="images/bordure_09.gif" width="14" height="18"> |
|
72 |
+ </td> |
|
73 |
+ </tr> |
|
74 |
+ </table> |
|
75 |
+ </td> |
|
76 |
+ </tr> |
|
77 |
+ </table> |
|
78 |
+ </td> |
|
79 |
+ </tr> |
|
80 |
+</table> |
|
81 |
+</body> |
|
82 |
+</html> |
|
83 |
+<?php |
|
84 |
+ mysql_close(); |
|
85 |
+?> |