getItem($tcode)) { return $result; } else { return array(); } } // 生成区域选择 function make_area_Select($tree, $selectid = null) { $list_html = ''; global $blank; foreach ($tree as $values) { // 默认选择项 if ($selectid == $values->acode) { $select = "selected='selected'"; } else { $select = ''; } // 禁用父栏目选择功能 if ($values->son) { $disabled = "disabled='disabled'"; } else { $disabled = ''; } $list_html .= "