function images($field, $value, $fieldinfo) {
extract($fieldinfo);
$list_str = '';
if($value) {
$value = string2array(new_html_entity_decode($value));
if(is_array($value)) {
foreach($value as $_k=>$_v) {
$list_str .= "
";
}
}
} else {
$list_str .= "".L('upload_pic_max', '', 'content')." {$upload_number} ".L('tips_pics', '', 'content')."
";
}
$string = '
';
if(!defined('IMAGES_INIT')) {
$str = '';
define('IMAGES_INIT', 1);
}
$authkey = upload_key("$upload_number,$upload_allowext,$isselectimage");
$string .= $str."";
return $string;
}