<?php
//creation de la session ... inclusion du code ... verification de la session connect�e...
session_start();
include ('fonctions.php');
check_session();
include ('fonctionsDenTete.php');
//verification de la variable donnant le dialogue a atteindre
if(!isset($_GET['attente'])){
$attente=0;
}else{
$attente=$_GET['attente'];
}
if(!isset($_GET['etat'])){
//ajout ou supression d'energie
if(isset($_GET['Energie'])&&isset($_GET['AjoutOuSuppr'])){
ChangementEnergie($_GET['Energie'],$_GET['AjoutOuSuppr']);
}
}
?>
<html>
<head>
<title>Ville de Dragons</title>
<link rel='stylesheet' href='Style.css' type='text/css'>
</head>
<body>
<?php
AfficheBarreDEtat(0);
?>
<table border="0" height="100%" width="100%">
<tr>
<td valign="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="400">
<?php
echo "<p align='left'>La pi�ce est vide...</p>"
."<center><img src='images/fioriture.png'></center>"
."<a href='sortieParc.php'>Sortir...</a>";
?>
</td>
<td width="300">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td background="images/bordure_01.gif" width="14" height="19">
</td>
<td background="images/bordure_02.gif" width="272" height="19">
</td>
<td background="images/bordure_03.gif" width="14" height="19">
</td>
</tr>
<tr>
<td background="images/bordure_04.gif" width="14" height="193">
</td>
<td width="272" height="193" align="center" valign="center">
<?php
echo "<div style='position:relative;top:0;left:0'><img src='images/dessins/Fermeannexe2.jpg' border ='0' width='272' height='193'></div>";
?>
</td>
<td background="images/bordure_06.gif" width="14" height="193">
</td>
</tr>
<tr>
<td background="images/bordure_07.gif" width="14" height="18">
</td>
<td background="images/bordure_08.gif" width="3" height="18">
</td>
<td background="images/bordure_09.gif" width="14" height="18">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<?php
mysql_close();
?>
|