Eglise.php
4a503405
 <?php
 //creation de la session ... inclusion du code ... verification de la session connect�e...
 session_start();
 include ('fonctions.php');
 check_session();
 include ('fonctionsDenTete.php');
 ?>
 <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'>Le silence r�gne lorsque vous arrivez dans la maison de Dieu.";
 				if($_SESSION['repas']==3){
 					echo "</p><p align='left'> Le pr�tre est en train de pr�dire la messe..";
 				}
 				echo "</p>"
 					."<center><img src='images/fioriture.png'></center>";
 				if($_SESSION['repas']!=3){
 					echo "<br><a href='D_Eglise_Pretre.php'>Adresser la parole au pr�tre</a>";
 				}
 				if($_SESSION['egliseRumeur']>=1){
 					echo "<br><a href='Eglise_Catacombes.php'>Entrer dans les catacombes de l'�glise...</a>";
 				}
 				echo "<br><a href='croisementDroite.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="137" 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="192">
 					</td>
 					<td width="137" height="192" align="center" valign="center">
 						<?php
 							echo "<img src='images/dessins/Eglise.jpg' border ='0' width='137' height='192'>";
 							if($_SESSION['repas']==1){
 								echo "<div style='position:absolute;top:200;left:488'><img src='images/dessins/EgliseCroyant1.png' border ='0' width='137' height='192'></div>";
 							}else if($_SESSION['repas']==2){
 								echo "<div style='position:absolute;top:200;left:488'><img src='images/dessins/EgliseCroyant2.png' border ='0' width='137' height='192'></div>";
 							}else if($_SESSION['repas']==3){
 								echo "<div style='position:absolute;top:200;left:488'><img src='images/dessins/EgliseCroyant1.png' border ='0' width='137' height='192'></div>";
 								echo "<div style='position:absolute;top:200;left:488'><img src='images/dessins/EgliseCroyant2.png' border ='0' width='137' height='192'></div>";
 							}
 						?>
 					</td>
 					<td background="images/bordure_06.gif" width="14" height="192">
 					</td>
 				</tr>
 				<tr>
 					<td background="images/bordure_07.gif" width="14" height="18">
 					</td>
 					<td background="images/bordure_08.gif" width="137" 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();
 ?>