fetch1("select fileid,path,filename,classid,fpath,no from ".eReturnFileTable($modtype,$fstb)." where fileid='$fileid'"); if(empty($filer['fileid'])) { printerror('NotCropImage','history.go(-1)'); } $path=$filer['path']?$filer['path'].'/':$filer['path']; $fspath=ReturnFileSavePath($filer['classid'],$filer['fpath']); $big_image_name=eReturnEcmsMainPortPath().$fspath['filepath'].$path.$filer['filename'];//moreport $imgurl=$fspath['fileurl'].$path.$filer['filename']; if(!file_exists($big_image_name)) { printerror('NotCropImage','history.go(-1)'); } $filetype=GetFiletype($filer['filename']);//取得文件类型 if(!strstr($ecms_config['sets']['tranpicturetype'],','.$filetype.',')) { printerror('CropImageFiletypeFail','history.go(-1)'); } db_close(); $empire=null; ?>