<?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("fotoweb46.php"); include("fotoweb19.php"); $queryTheme = "SELECT codeTheme,nomTheme FROM theme ORDER BY 'nomTheme' ASC"; $resultTheme = mysql_query ($queryTheme) or die ("La requête de sélection des Themes a échoué");  ?> <html> <head> <link rel='stylesheet' href='../ergonomie/style.css'> <script language='javascript' src='script/scriptadmin.js'></script> </head> <body> <form id='formAdmin'> <br><br><br><br> <span class='textSimple'>&nbsp; &nbsp; - Pour régénérer un thème suite à l'ajout ou suppression de photos par exemple </span> <br><br><br> &nbsp; &nbsp; &nbsp;  <?php
 echo "<select id='selTheme' ><option value=''><- THEMES -></option>"; while ($lineTheme = mysql_fetch_row($resultTheme)) { $codeTheme = $lineTheme[0]; $nomTheme = $lineTheme[1];  echo "<option value='".$codeTheme."'>&nbsp;".$nomTheme."</option>"; } /* Free resultset */ mysql_free_result($resultTheme);  echo "</select>"; echo "<center>"; echo "<br><br>"; echo "<table border='0' width='30%'>";    echo "<tr height='60px' valign='bottom' align='right'>"; echo 	"<td colspan='3' align='center'>"; echo 		"<img src='../ergonomie/_images/raffraichir.gif' id='btRaffraichir' name='btRaffraichir' title='raffraichir' alt='raffraichir' style='cursor:pointer;cursor:hand' onClick=\"regenererTheme(document.getElementById('selTheme').value)\">"; print		"</td>"; echo "</tr>";  ?> </table> </body> </form> </html> 