<?php
 header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); header('Cache-Control: no-cache, must-revalidate'); header('Pragma: no-cache'); include("fotoweb77.php"); include("script_outils.php");  ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="title" content="<?php echo $_SERVER['HTTP_HOST'].": livre d'or"; ?>">
<link rel='stylesheet' href='ergonomie/style.css'> <script language='javascript' src='script/script.js'></script> </head> <body> <FORM id="formLivre" METHOD='POST' ACTION="fotoweb80.php"> <table align='center' border='0' width='600px'> <tr> <?php
if (isset($_SESSION['SESS_LOGIN']) && $_SESSION['SESS_LOGIN']!='public') echo "<td  class='titrePage' colspan='3' height='35px' align='center'>Remarque : Les messages seront visibles par tous les internautes !</td>"; ?> </tr> <tr> <td class='valeur' width='30%' align=left>Ajouter un message :</td> <td class='valeur' width='30%' align='center'><span id='spCarac' name="spCarac">0</span> / 430</td> <td class='valeur' width='40%' align="left"> <?php
print "le ".date('d/m/Y')." à ".date('H:i:s')."&nbsp;&nbsp;&nbsp;"; ?> </td> </tr> </table> <br><br> <table align='center' width='300px' class='intervention'> <tr height="70px"> <td class='valeur' width='33%'>Pseudo : <br><br> <input type="text" id="nom" name="nom" maxlength="32"> </td> <td class='valeur' width='33%'>Ville/Pays : <br><br> <input type="text" id="lieu" name="ilieu" maxlength="82"> </td> <td class='valeur' width='33%'>Email: (visible seulement par l'administrateur = Anti Spam)<br> <input type="text" id="email" name="email" maxlength="82"> </td>  </tr> <tr height="110px"> <td colspan='3' class='valeur'>Message :<br> <textarea id='idMessage' name='idMessage' cols='70' rows='9' class='saisiIntervention' onKeyUp='compterCaractere()' WRAP='virtual'></textarea> </td> </tr> <tr> <td>&nbsp;</td> </tr> </table> <br>  <table width="300px" border="0" align="center"> <tr> <td align='left' width="50%"> <?php
print "<img src='ergonomie/_images/retour.gif' id='retour' name='retour' onClick=\"window.location='source.php'\" style='cursor:pointer;cursor:hand' onMouseOver=rolloverIn('retour') onMouseOut=rolloverOut('retour') title='Annulez' title='Annulez'>"; ?> </td> <td align='right' width="50%"> <?php
echo "<img src='ergonomie/_images/ajouter.gif' id='ajouter' name='ajouter' onClick=\"ajouterMessage(document.getElementById('idMessage').value,document.getElementById('nom').value)\" style='cursor:pointer;cursor:hand' onMouseOver=rolloverIn('ajouter') onMouseOut=rolloverOut('ajouter') title='Enregistrer le message' alt='Enregistrer le message'>&nbsp;&nbsp;&nbsp;"; ?> </td> </tr> </table> </form> </body> </html> 