. */ include_once __DIR__.'/../../core.php'; $img = null; if (!empty($record['immagine'])) { $fileinfo = Uploads::fileInfo($record['immagine']); $default_img = '/'.Uploads::getDirectory($id_module).'/'.$fileinfo['filename'].'_thumb600.'.$fileinfo['extension']; $img = file_exists(base_dir().$default_img) ? base_url().$default_img : base_url().'/'.Uploads::getDirectory($id_module).'/'.$record['immagine']; } ?>
{( "name": "filelist_and_upload", "id_module": "$id_module$", "id_record": "$id_record$" )}