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 .= "
  • ".L('remove')."
  • "; } } } else { //$list_str .= ""; $list_str .= "
    ".L('max_upload_num')." {$upload_number} ".L('zhang')."
    "; } $string = '
    '.L('picutre_list').''; $string .= $list_str; $string .= '
    '; if(!defined('IMAGES_INIT')) { $str = ''; define('IMAGES_INIT', 1); } else { $str = ''; } $authkey = upload_key("$upload_number,$upload_allowext,$isselectimage"); $string .= $str."
    ".L('select_picture')."
    "; return $string; }