Rumah > Soal Jawab > teks badan
<pilih nama="tra_num">
<nilai pilihan="" {$num_tra=="%"?'selected':'="'}>Semua</option>
list_{volist name id="arr_tra" empty="Tiada artikel"}
<nilai pilihan="{$arr_tra.id}" { {$num_tra} == {$arr_tra.id} ?'selected':''}> $ arr_tra.id} & lt;/option & gt;
{/volist}
& lt;/select & gt
<nilai pilihan="4" { (7 == 4 ?'dipilih':'' )}>4</option>
< (7 == 6 ?'dipilih': '')}>6</option><nilai pilihan="7" { (7 == 7 ?'dipilih':'')}>7</ pilihan>