#file: /shop/templates/simplenc/seller/store_goods_add.step2.php#line: 202# 添加一个 “请选择” 的选项 select name="" attr="attr[?php echo $k;?][__NC__]" nc_type="attr_select" option value='' nc_type='-1'请选择/optionoption v
#file: /shop/templates/simplenc/seller/store_goods_add.step2.php #line: 202 # 添加一个 “请选择” 的选项 <select name="" attr="attr[<?php echo $k;?>][__NC__]" nc_type="attr_select"> <option value='' nc_type='-1'>请选择</option> <option value='不限' nc_type='0'>不限</option> <?php foreach ($val['value'] as $v){?> <option value="<?php echo $v['attr_value_name']?>" <?php if(isset($output['attr_checked']) && in_array($v['attr_value_id'], $output['attr_checked'])){?>selected="selected"<?php }?> nc_type="<?php echo $v['attr_value_id'];?>"><?php echo $v['attr_value_name'];?></option> <?php }?> </select>