getFleaareaList($condition,'*',$order); $tmp= ""; $tmp.= "\$data = array(\r\n"; if (is_array($result)) { foreach ($result as $k => $v) { $tmp.= "\tarray(\r\n"; $tmp.= "\t\t'fleaarea_id'=>'" . $v['fleaarea_id'] . "',\r\n"; $tmp.= "\t\t'fleaarea_name'=>'" . htmlspecialchars($v['fleaarea_name']) . "',\r\n"; $tmp.= "\t\t'fleaarea_parent_id'=>'" . $v['fleaarea_parent_id'] . "',\r\n"; $tmp.= "\t\t'fleaarea_sort'=>'" . $v['fleaarea_sort'] . "',\r\n"; $tmp.= "\t\t'fleaarea_deep'=>'" . $v['fleaarea_deep'] . "',\r\n"; $tmp.= "\t),\r\n"; } } $tmp.= ");"; try { if (Cache::set("flea_area_" . $deep,$tmp,3600) === FALSE) { $error = lang('please_check_your_system_chmod_area'); throw new Exception(); } eval(Cache::get("flea_area_" . $deep)); return $data; } catch(Exception $e) { } } } ?>