예제 #1
0
         break;
     default:
         $existing = 'replace';
         break;
 }
 // ========================================================
 // Datei цffnen
 // ========================================================
 $fp = fopen($TempDir . '/CSVIMPORT_user_' . $_SESSION['user_id'] . '_' . $fileid . '.txt', 'r');
 $csv = new CSVReader($fp);
 $fields = $csv->Fields();
 if ($error == true) {
     $AVE_Template->assign('content', $tpl_in);
 }
 while ($row = $csv->FetchRow()) {
     if (count($row) == $csv->NumFields()) {
         $Id = '';
         $password = '';
         $email = '';
         $street = '';
         $street_nr = '';
         $zipcode = '';
         $City = '';
         $phone = '';
         $telefax = '';
         $description = '';
         $firstname = '';
         $lastname = '';
         $user_name = '';
         $user_group = '';
         $reg_time = '';
예제 #2
0
     default:
         $existing = 'replace';
         break;
 }
 // ========================================================
 // Datei цffnen
 // ========================================================
 $fp = fopen($TempDir . '/CSVIMPORT_shop_' . $_SESSION['user_id'] . '_' . $fileid . '.txt', 'r');
 $csv = new CSVReader($fp);
 $fields = $csv->Fields();
 if ($error == true) {
     echo 'FEHLER';
     $AVE_Template->assign('content', $tpl_in);
 }
 while ($row = $csv->FetchRow()) {
     if (sizeof($row) == $csv->NumFields()) {
         $Id = '';
         $ArtNr = '';
         $KatId = '';
         $KatId_Multi = '';
         $ArtName = '';
         $status = '';
         $Preis = '';
         $PreisListe = '';
         $Bild = '';
         $Bild_Typ = '';
         $Bilder = '';
         $TextKurz = '';
         $TextLang = '';
         $Gewicht = '';
         $Angebot = '';