' . $lang['L_IMPORT_NOTABLE'] . '';
}
else
{
if ($_POST['import_source'] == 0)
{
//Import aus textbox
$sql['import']['csv']=explode($sql['import']['endline'],$sql['import']['text']);
}
else
{
if (!isset($_FILES['upfile']['name']) || empty($_FILES['upfile']['name']))
{
$aus.='' . $lang['L_FM_UPLOADFILEREQUEST'] . '';
}
else
{
$fn=$_FILES['upfile']['tmp_name'];
$sql['import']['csv']=( substr($_FILES['upfile']['name'],-3) == ".gz" ) ? gzfile($fn) : file($fn);
$sql['import']['text']=implode("",$sql['import']['csv']);
$aus.='' . $lang['L_SQL_UPLOADEDFILE'] . '' . $_FILES['upfile']['name'] . ' ' . byte_output(filesize($_FILES['upfile']['tmp_name'])) . '';
}
}
if (is_array($sql['import']['csv'])) $aus.=DoImport();
else $aus.='
' . $lang['L_CSV_NODATA'] . '';
}
}
$impaus=$aus;
$impaus.='
'.print_r($_POST,true).'
' . $lang['L_EXPORT'] . ': | zeige in neuem Fenster |