Forum » » Le coin des codeurs » » Menu déroulant en PHP dans mon thème
Posté : 22-08-2006 21:55 
<tr>
<td nowrap align=center>$sitename</td>
<td border=0 width='100%' height='30' valign='middle' align='right'></td>
<t d>
< br /> <f orm action=\"search.php\" method=get>
<T ABLE cellpadding=0 cellspacing=0 border=\"0\" align=\"left\">
<td align=center class=ctblanco nowrap>
  ; ".translate("Topics")." ";
  ; $toplist = mysql_query("select rubid, rubname from rubriques order by rubname");
  ; echo "<SELECT class='ctnegro' style='border: solid 1px #000000; background : #ECE9D6' NAME=\"topic\"onChange='submit()'>" ;
  ; echo "<OPTION VALUE=\"\">".translate("All Topics")."</option>\n";
  ; while(list($topicid, $topics) = mysql_fetch_row($toplist)) {
  ; if ($topicid==$topic) { $sel = "selected "; }
  ; echo "<option $sel value=\"$topicid\">$topics</option>\n";
  ; $sel = "";
  ; }
  ; echo "
  ; </select>
</td>
</ table>
</ form>
</ TD>
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=21009&forum=5