';
$options = '';
foreach($CATEGORY as $i=>$v)
{
if((isset($id) && $v['parentid'] == $id) || (isset($module) && $v['module'] == $module)) $options .= '';
}
if(empty($options)) exit;
$str .= $options.'';
}
elseif($field == 'areaid' && $value)
{
$str = '';
}
elseif($field == 'areaid' && !$value)
{
$str = '';
}
echo $str;
?>