Pages vues depuis 25/05/2001 : 109 447 108
Index du forum »» Le coin des codeurs »» Menu déroulant en PHP dans mon thème
$toggle = new ToggleDiv(1);
<table><tr><td>
echo $toggle->Img();
ton titre
</td></tr></table>
echo $toggle->Begin();
<tr><td>blabla</td></tr></table>";
echo $toggle->End();
<tr>
<td nowrap align=center>$sitename</td>
<td border=0 width='100%' height='30' valign='middle' align='right'></td>
<td>
<form action=\"search.php\" method=get>
<TABLE 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>