| [ Index ] |
PHP Cross Reference of IEUF |
[Summary view] [Print] [Text view]
1 <?php ; ?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 3 "http://www.w3.org/TR/html4/loose.dtd"> 4 <html lang="fr"> 5 <head> 6 <meta name="generator" content="HTML Tidy for Windows (vers 12 April 2005), see www.w3.org"> 7 <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> 8 <?php include_once 'potence.inc.php'; ?> 9 <title> 10 <?php echo "Il était une fois - $titre"; ?> 11 </title> 12 <link rel="stylesheet" href="ttes_pages.css" type="text/css"> 13 <link rel="stylesheet" href="sp_ttes_pages.css" type="text/css"> 14 <link media="print" rel="stylesheet" href="print.css" type="text/css"> 15 <script type="text/javascript" src="lumieres.js"> 16 </script> 17 <script type="text/javascript"> 18 function Montrer(id) { 19 element=document.getElementById('res'+id); 20 element.style.height="362px"; 21 element.style.visibility="visible"; 22 element= document.getElementById('scene'); 23 element.style.visibility="hidden"; 24 } 25 function Cacher() { 26 for (var id=1; (element=document.getElementById('res'+id)) != null; id++) { 27 element.style.height="0"; 28 element.style.visibility="hidden"; 29 } 30 element= document.getElementById('scene'); 31 element.style.visibility="visible"; 32 element=document.getElementById('spect'); 33 //element.scrollIntoView(); 34 } 35 </script> 36 37 </head> 38 <body style="direction: ltr;" onload="Init()"> 39 40 <?php include_once 'banniere.inc.php'; ?> 41 <div class= "contenu"> 42 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 43 <tbody> 44 <tr> 45 <td class="scene" align="left" valign="top" onmouseover="Cacher()"><?php include_once 'scene.inc.php'; ?></td> 46 <td> <div id="scene" class="texte" align="left"> 47 <span id="spect"></span> 48 <?php 49 $tab_jour_semaine=array("Dimanche", "Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"); 50 require_once '../inclus/connect_bd.inc.php'; 51 $requete="SELECT lettre, intitule, lieu_nom, lieu_rue, lieu_compl, lieu_cp, lieu_ville, personne.nom as nom_anim, personne.prenom as prenom_anim, 52 DATE_FORMAT(heure_deb,'%kh %i') as heure_deb, DATE_FORMAT(heure_fin,'%kh %i') as heure_fin, DATE_FORMAT(date_deb,'%d/%m/%Y') as date_deb, jour_repet, 53 descriptif 54 FROM atelier,anime,animateur,personne 55 WHERE date_fin>now() AND atelier.id=anime.id_atelier AND anime.id_animateur=animateur.id AND animateur.id_perso=personne.id 56 ORDER BY lettre"; 57 $recherche=mysql_query($requete); 58 if ($recherche === false) die( mysql_error()); 59 if (mysql_num_rows($recherche)==0) 60 echo "<p style='font-style: italic; font-weight: bold; text-align: center'> Les ateliers de la saison prochaine seront proposés début septembre </p>"; 61 $i=0; 62 63 while ($col= mysql_fetch_assoc($recherche)) { 64 $i++; 65 extract($col); 66 echo " 67 <div id='res$i' onclick='Cacher()' class='resume'> 68 <p><big><b>Atelier $lettre</b></big><br> 69 <i> $intitule</i> 70 </p> 71 <p>$descriptif</p> 72 </div> 73 <p><big><b>Atelier $lettre</b></big><br> 74 <i> $intitule</i> 75 </p> 76 <p>$tab_jour_semaine[$jour_repet] $heure_deb - $heure_fin à partir du $date_deb<br> 77 $lieu_nom, $lieu_rue $lieu_compl<br>$lieu_cp $lieu_ville<br> 78 Animé par $prenom_anim $nom_anim 79 </p> 80 <p><span class='bouton' onclick='Montrer($i)'>En savoir plus...</span></p> 81 <hr> 82 "; 83 } 84 ?> 85 </div> 86 </td> 87 </tr> 88 </tbody> 89 </table> 90 </div> 91 <?php include_once '../inclus/piedpage.inc.php'; ?> 92 </body> 93 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Jan 31 19:59:00 2014 | Cross-referenced by PHPXref 0.7.1 |