?> </span><i></i></div> <div class="tb_nr"> <div class="t3"> <h3>● 按信息属性查找:</h3> 标题: <input type="text" class="input" name="txtSearchName" id="txtSearchName" value="<?php echo $name; ?> "/> <select id="brandcode"> <option value=''>请选择品牌</option> <?php $brandAction = new Brandinfo(); $brandList = $brandAction->getList(); foreach ($brandList as $row) { if ($row['brandcode'] == $brandCode) { $chkStr = "selected=\"selected\""; } else { $chkStr = ''; } echo "<option value='{$row['brandcode']}' {$chkStr}>{$row['brandname']}</option>"; } ?> </select> <span style=" padding-left:20px"><input type="button" id="btnSearch" value="搜索"> <input type="button" id="btnAdd" value="添加" onclick="javascript:openUserDialog(0);"></span> </div> <div>