Method 1, get all the classifications, and the subcategories are marked with L
< select class="select" name="Forum[umData]"> <? php echo OutputOptionIt em sOfCategories($zbp->Config('umTheme')->umData); ?> </select>
<select class="select" name="Forum[umData]"> <option selected="selected" value="1">Product Center</option> <option value="2"> L Jade carving ornaments</option> <option value="3"> L Jade pendant</option> <option value="4"> L Jade bracelet</option> <option value="5">Master craftsman</option> <option value="6">Latest information</option> <option value="7"> L Industry information</option> </select>
Method 2, obtain all classification and classification id numbers, and the sub classification is marked with L
<? php foreach ($zbp->categorysbyorder as $cate){ ?> <option value="<?php echo $cate->ID; ?> " > <? php if ($cate->Level == 1||$cate->Level == 2) {echo'└';} echo $cate->Name;?>< span>(<? php echo $cate->ID; ?>)</ span> </option> <? php } ?>
<option selected="selected" value="1">Product Center<span>(1)</span></option> <option value="2">L Jade Carving Ornaments<span>(2)</span></option> <option value="3">L Jade pendant<span>(3)</span></option> <option value="4">L Jade bracelet<span>(4)</span></option> <option value="5">Master craftsman<span>(5)</span></option> <option value="6">Latest information<span>(6)</span></option> <option value="7">L Industry information<span>(6)</span></option>
Related Babies (Click me to change a batch)
-
¥ one hundred and fifty-eight ¥ one hundred and fifty-eight To buy -
¥ one hundred and forty-eight ¥ one hundred and forty-eight To buy -
¥ twenty-eight point nine ¥ one hundred and thirty-three To buy -
¥ one hundred and fifty-eight ¥ two hundred and thirty-eight Coupon purchase