:: Export Complete! ::

:: Export Information ::

Your user list is currently being exported. Please do not close this window. There are remaining to export...

Has taken approximately so far...
Have to wait another for it to finish...

'); if ($pos !== false) { list($name,$val)=explode('->',$opt); if($name==$mv['Value']){ $mv['Value']=$val; } } } break; case 'datebox': $mv['Value'] = str_replace(':', '/', $mv['Value']); break; case 'multicheckbox': $options = explode(';', $f['AllValues']); $keys = array(); foreach($options as $k) { if ($k == '') continue; list($realkey,$realval) = explode('->', $k); $keys[$realkey] = $realval; } $realval = ''; $my_field_sep = ($FieldSep == ',') ? ':' : ':'; $chosen_options = explode(':', $mv['Value']); if (!empty($chosen_options)) { foreach($chosen_options as $opt) { if ($opt == '') continue; $realval .= $keys[$opt] . $my_field_sep; } } $realval = substr($realval, 0, -1); $mv['Value'] = $realval; break; } $LINE.=str_replace("\r","
",str_replace("\n","",$FieldQuotes.$mv["Value"].$FieldQuotes)).$FieldSep; break; } # end switch } # end if ($Field) } # end foreach($ExportField as $Field) //chop out the last delimeter from the line! $LINE=substr($LINE,0,strlen($LINE)-strlen($FieldSep)); $ALLDATA.=$LINE.str_replace("NEWLINE","\n",$RecordSep); } $delete_query = "DELETE FROM " . $TABLEPREFIX . "export_users WHERE ExportID='".addslashes($ExportID)."' AND MemberID IN (" . implode(',', $delete_members) . ")"; mysql_query($delete_query); //now add to the file! $exfile = $ROOTDIR.'/temp/export-' . $ExportID . '.txt'; // we don't need to check permissions here // it's all done before this popup gets created $f = fopen($exfile, 'a'); fputs($f,$ALLDATA); fclose($f); ?>