<?php
/*
###################################################################################
  Bigware Shop 2.3
  Release Datum: 23.08.2015
  
  Bigware Shop
  http://www.bigware.de

  Copyright (c) 2015 Bigware LTD
  (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
  (c) 2015	Bigware LTD

  Copyrightvermerke duerfen nicht entfernt werden.
  ------------------------------------------------------------------------
  Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
  der GNU General Public License, wie von der Free Software Foundation
  veroeffentlicht, weitergeben und/oder modifizieren, entweder gemaess Version 2 
  der Lizenz oder (nach Ihrer Option) jeder spaeteren Version.
  Die Veroeffentlichung dieses Programms erfolgt in der Hoffnung, dass es Ihnen
  von Nutzen sein wird, aber OHNE IRGENDEINE GARANTIE, sogar ohne die
  implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT FUER EINEN
  BESTIMMTEN ZWECK. Details finden Sie in der GNU General Public License.
  
  Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
  Programm erhalten haben. Falls nicht, schreiben Sie an die Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

  Infos:
  ------------------------------------------------------------------------
  Der Bigware Shop wurde vor vielen Jahren bereits aus dem bekannten Shopsystem osCommerce
  weiter- und neuentwickelt.
  Der Bigware Shop legt im hohen Masse Wert auf Bedienerfreundlichkeit, beinhaltet eine leichte
  Installation, viele neue professionelle Werkzeuge und zeichnet sich aus durch eine grosse 
  Community, die bei Problemen weiterhelfen kann.
  
  Der Bigware Shop ist auf jedem System lauffaehig, welches eine PHP Umgebung
  (ab PHP 4.1.3) und mySQL zur Verfuegung stellt und auf Linux basiert.
 
  Hilfe erhalten Sie im Forum auf www.bigware.de 
  
  -----------------------------------------------------------------------
  
 ##################################################################################




*/
?>
<?php 
  require('load_this/load_bigware_11.php'); 




 
 $REQUEST_METHOD = $_SERVER['REQUEST_METHOD']; 
  if ($REQUEST_METHOD=="POST") 
  {   
	
	$uploaddir = "../picture/";
	$name_der_csv = $uploaddir. $_FILES['userfile']['name'];
	
	if (move_uploaded_file($_FILES['userfile']['tmp_name'], $name_der_csv)) {
	chmod ($uploaddir. $_FILES['userfile']['name'], 0777);   
	} else {
	print "Possible file upload attack! Here's some debugging info:\n";
	print_r($_FILES);
	}
  
  
  
  
 $handle = fopen ("$name_der_csv","r"); 
	while ($data = fgetcsv ($handle, 1000, ";")) {  
	    $num = count ($data);   
	if ($row == "1"){
		
	} 
	$row++; 
	    for ($c=0; $c < $num; $c++) {   
	
	
		$eindeutige_id = $data[0];
		$galerieverzeichnis = $data[1];
		$name = $data[2];
		$name2 = $data[3];
		$beschreibung = $data[4];
		$kategorie1 = $data[5];
		$sort_kat1 = $data[6];
		$kategorie2 = $data[7];
		$sort_kat2 = $data[8];
		$vorschaubild = $data[9];
		$templatenummer = $data[10];
		$galerieansicht = $data[11];
		$information1 = $data[12];
		$information2 = $data[13];
		$information3 = $data[14];
		$information4 = $data[15];
		$galeriereihenfolge = $data[16];
				
	}


		$eindeutige_id = str_replace("'", "", $eindeutige_id);
		$galerieverzeichnis = str_replace("'", "", $galerieverzeichnis);
		$name = str_replace("'", "", $name);
		$name2 = str_replace("'", "", $name2);
		$beschreibung = str_replace("'", "", $beschreibung);
		$kategorie1 = str_replace("'", "", $kategorie1);
		$sort_kat1 = str_replace("'", "", $sort_kat1);
		$kategorie2 = str_replace("'", "", $kategorie2);
		$sort_kat2 = str_replace("'", "", $sort_kat2);
		$vorschaubild = str_replace("'", "", $vorschaubild);
		$templatenummer = str_replace("'", "", $templatenummer);
		$galerieansicht = str_replace("'", "", $galerieansicht);
		$information1 = str_replace("'", "", $information1);
		$information2 = str_replace("'", "", $information2);
		$information3 = str_replace("'", "", $information3);
		$information4 = str_replace("'", "", $information4);
		$galeriereihenfolge = str_replace("'", "", $galeriereihenfolge);

		
		$check_query = go_db_query("select count(*) as total from " . DB_TBL_GALERIE . " where syn = '" . $eindeutige_id . "'");
		$check = go_db_fetch_array($check_query);
		if ($check['total'] == 0){
			go_db_query("insert into " . DB_TBL_GALERIE . " (galeries_model, galeries_status, syn, galeries_sort) values ('" . $templatenummer . "', '" . $galerieansicht . "', '" . $eindeutige_id . "', '" . $galeriereihenfolge . "')");
			$galeries_id = go_db_insert_id();
			$languages = go_get_languages();
			for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
				$languages_id=$languages[$i]['id'];
				go_db_query("insert into " . DB_TBL_GALERIE_DESCRIPTION . " (galeries_id, language_id, galeries_name, galeries_name2, galeries_info1, galeries_info2, galeries_info3, galeries_info4, galeries_description) values ('" . $galeries_id . "', '" . $languages_id . "', '" . $name . "', '" . $name2 . "', '" . $information1 . "', '" . $information2 . "', '" . $information3 . "', '" . $information4 . "', '" . $beschreibung . "')");			
		      		echo "insert into " . DB_TBL_GALERIE_DESCRIPTION . " (galeries_id, language_id, galeries_name, galeries_name2, galeries_info1, galeries_info2, galeries_info3, galeries_info4, galeries_description) values ('" . $galeries_id . "', '" . $languages_id . "', '" . $name . "', '" . $name2 . "', '" . $information1 . "', '" . $information2 . "', '" . $information3 . "', '" . $information4 . "', '" . $beschreibung . "')<br>";
		      	}
	      		$ist_schon_in_cat_to_gal = 0;
	      	}
	      	else{
	      		go_db_query("UPDATE " . DB_TBL_GALERIE . " SET galeries_model='" . $templatenummer . "', galeries_status='" . $galerieansicht . "', galeries_sort='" . $galeriereihenfolge . "' WHERE syn='" . $eindeutige_id . "'");	
			$eindeutige_id_query = go_db_query("select galeries_id from " . DB_TBL_GALERIE . "  where syn = '" . $eindeutige_id . "'");
			$eindeutige_id_werte = go_db_fetch_array($eindeutige_id_query); 	
		    	$galeries_id = $eindeutige_id_werte['galeries_id'];
			$languages = go_get_languages();
			for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
				$languages_id=$languages[$i]['id'];
				go_db_query("UPDATE " . DB_TBL_GALERIE_DESCRIPTION . " SET galeries_name = '" . $name . "', galeries_name2 = '" . $name2 . "', galeries_info1 = '" . $information1 . "', galeries_info2 = '" . $information2 . "', galeries_info3 = '" . $information3 . "', galeries_info4 = '" . $information4 . "', galeries_description = '" . $beschreibung . "' where galeries_id = '" . $galeries_id . "' AND language_id = '" . $languages_id . "'");			
		      	}		    	
	      		$ist_schon_in_cat_to_gal = 1;
	      	}
		##### kategorie1 prüfen bzw. anlegen ##########################
		
		
			$count_cat_id_query = go_db_query("select count(*) as total from " . DB_TBL_GALERIE_CAT . " a, " . DB_TBL_GALERIE_CAT_DESCRIPTION . " b, " . DB_TBL_LANGUAGES . " c where b.categories_name = '" . $kategorie1 . "' AND a.parent_id = '0' AND a.categories_id = b.categories_id AND c.code = 'de' AND b.language_id = c.languages_id");
			$count_cat_id = go_db_fetch_array($count_cat_id_query);
		    	
		    	if ($count_cat_id['total'] == 0) {
		    	
			    	$kat = go_db_query("insert into " . DB_TBL_GALERIE_CAT . " (parent_id, sort_order, date_added) values ('0', '" . $sort_kat1 . "', now())");
				$kategorie1_id = go_db_insert_id();
				
				$languages = go_get_languages();
				for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
					$languages_id=$languages[$i]['id'];
	
					go_db_query("insert into " . DB_TBL_GALERIE_CAT_DESCRIPTION . " (categories_id, language_id , categories_name) values ('$kategorie1_id', '$languages_id', '$kategorie1')");
				}
		    	}					
			if ($kategorie1_id == ""){
				$cat_id_query = go_db_query("select a.categories_id  from " . DB_TBL_GALERIE_CAT . " a, " . DB_TBL_GALERIE_CAT_DESCRIPTION . " b, " . DB_TBL_LANGUAGES . " c  where b.categories_name = '" . $kategorie1 . "' AND a.parent_id = '0' AND a.categories_id = b.categories_id AND c.code = 'de' AND b.language_id = c.languages_id");
				$cat_id_wert = go_db_fetch_array($cat_id_query);			
				$kategorie1_id = $cat_id_wert["categories_id"];
			}				
		
				
		#### kategorie1 prüfen bzw. anlegen ENDE ######################
		
		#### kategorie2 überprüfen bzw. anlegen ###########
		if ($kategorie2 != ""){
			$count_cat_id_query = go_db_query("select count(*) as total from " . DB_TBL_GALERIE_CAT . " a, " . DB_TBL_GALERIE_CAT_DESCRIPTION . " b, " . DB_TBL_LANGUAGES . " c where b.categories_name = '" . $kategorie2 . "' AND a.parent_id = '" . $kategorie1_id . "' AND a.categories_id = b.categories_id AND c.code = 'de' AND b.language_id = c.languages_id");
			$count_cat_id = go_db_fetch_array($count_cat_id_query);
		    	
		    	if ($count_cat_id['total'] == 0) {
 				
		    	$kat = go_db_query("insert into " . DB_TBL_GALERIE_CAT . " (parent_id, sort_order, date_added) values ('" . $kategorie1_id . "', '" . $sort_kat2 . "', now())");
			$kategorie2_id = go_db_insert_id();
					
				$languages = go_get_languages();
				for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
					$languages_id=$languages[$i]['id'];
					go_db_query("insert into " . DB_TBL_GALERIE_CAT_DESCRIPTION . " (categories_id, language_id , categories_name) values ('$kategorie2_id', '$languages_id', '$kategorie2')");
				}
			}
			if ($kategorie2_id == ""){
				$cat_id_query = go_db_query("select a.categories_id  from " . DB_TBL_GALERIE_CAT . " a, " . DB_TBL_GALERIE_CAT_DESCRIPTION . " b, " . DB_TBL_LANGUAGES . " c  where b.categories_name = '" . $kategorie2 . "' AND a.parent_id = '" . $kategorie1_id . "' AND a.categories_id = b.categories_id AND c.code = 'de' AND b.language_id = c.languages_id");
				$cat_id_wert = go_db_fetch_array($cat_id_query);			
				$kategorie2_id = $cat_id_wert["categories_id"];
			}	
		}	
		###### kategorie2 überprüfen bzw. anlegen ende ####
		###### galerie to categorie ########
		if ($kategorie2 != ""){
			if ($ist_schon_in_cat_to_gal == "1"){
				go_db_query("UPDATE " . DB_TBL_GALERIE_TO_CATEGORIES . " SET categories_id='" . $kategorie2_id . "' WHERE galeries_id='" . $galeries_id . "'");	
				
			}
			else{
				go_db_query("insert into " . DB_TBL_GALERIE_TO_CATEGORIES . " (galeries_id, categories_id) values ('" . $galeries_id . "', '" . $kategorie2_id . "')");

			}
		}
		else{
			if ($ist_schon_in_cat_to_gal == "1"){
				go_db_query("UPDATE " . DB_TBL_GALERIE_TO_CATEGORIES . " SET categories_id='" . $kategorie1_id . "' WHERE galeries_id='" . $galeries_id . "'");	

			}
			else{
				go_db_query("insert into " . DB_TBL_GALERIE_TO_CATEGORIES . " (galeries_id, categories_id) values ('" . $galeries_id . "', '" . $kategorie1_id . "')");

			}
		}
		###### galerie to categorie ########
		###### Bilder aus dem Verzeichnis lesen und eintragen  #######

		$check_query = go_db_query("select count(*) as total from " . DB_TBL_GALERIE_TO_PICTURES . " where galeries_id = '" . $galeries_id . "'");
		$check = go_db_fetch_array($check_query);
		if ($check['total'] != 0){
			go_db_query("DELETE FROM " . DB_TBL_GALERIE_TO_PICTURES . " WHERE galeries_id = '" . $galeries_id . "'");
		}
		
		$i=0;

		$pfad= '../' . FOLDER_RELATIV_PICTURES . "galerie/" . $galerieverzeichnis . "/";
		$verz=opendir ($pfad);
		while ($file=readdir($verz))
		{
		    if (filetype($pfad.$file)!="dir")
		    {
		        $i++;
		        if ($file == $vorschaubild){$vorschauflag = '1';}else{$vorschauflag = '0';}
		        go_db_query("insert into " . DB_TBL_GALERIE_TO_PICTURES . " (galeries_id, pictures , sort_order, vorschau) values ('" . $galeries_id . "', 'galerie/" . $galerieverzeichnis . "/" . $file . "', '" . $i . "', '" . $vorschauflag . "')");

		    }
		}
		closedir($verz);
		###### Bilder aus dem Verzeichnis lesen ende    #######
	
	
		$check_query = go_db_query("select count(*) as total from " . DB_TBL_GALERIE_TO_TEMPLATE . " where galeries_id = '" . $galeries_id . "'");
		$check = go_db_fetch_array($check_query);
		if ($check['total'] != 0){
			go_db_query("UPDATE " . DB_TBL_GALERIE_TO_TEMPLATE . " SET template_id='" . $templatenummer . "' WHERE galeries_id='" . $galeries_id . "'");	
	
		}
		else{
			go_db_query("insert into " . DB_TBL_GALERIE_TO_TEMPLATE . " (galeries_id, template_id) values ('" . $galeries_id . "', '" . $templatenummer . "')");

		}
	} 
			
		
	fclose($handle); 
  
}
  
  
  
  
  
?> 
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html '<?php echo HTML_PARAMS; ?>'> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> 
<title><?php echo TITLE; ?></title> 
<link rel="stylesheet" type="text/css" href="load_this/style.css"> 
<script language="javascript" src="load_this/menu.js"></script>
</head> 
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> 
<!-- header //--> 
<?php require(FOLDER_RELATIV_INCLUDES . 'load_bigware_9.php'); ?>
<!-- header_eof //--> 
<!-- body //--> 
<table border="0" width="100%" cellspacing="2" cellpadding="2"> 
<tr> 
<!-- body_text //--> 
  <td class="pageGeneralsign" valign="top"><?php echo TEXT_GALERY_IMPORT ?><br><br>
   <table width="98%" align="center" border="0" cellpadding="0" cellspacing="0"> 
    <tr class="tbCountData"> 
     <td class="TbInsideData"><font size="2"><?php echo TEXT_CSV_IMPORT_EXPLAIN_I ?><br><br>
     
     <?php echo TEXT_TABLE ?>
     <?php echo TEXT_ATTENTION ?><br><br><b><?php echo TEXT_DISTINCT_ID ?></b><?php echo TEXT_OBLIGATORY_FIELD ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_ID ?><p><b><?php echo TEXT_GALERY_PATH ?></b><?php echo TEXT_OBLIGATORY_FIELD ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_GALERY ?><br>
&nbsp;</p>
     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="790" id="AutoNumber1">
       <tr>
         <td width="130" bgcolor="#E1E1E1" class="TbInsideData"><?php echo TEXT_INCL_PICS ?><br>
&nbsp;</td>
         <td align="center" width="16" bgcolor="#E1E1E1" class="TbInsideData">&nbsp;</td>
         <td align="center" width="75" bgcolor="#E1E1E1" class="TbInsideData"><?php TEXT_ROW ?><br>
&nbsp;</td>
         <td width="206" class="TbInsideData">&nbsp;</td>
         <td width="192" bgcolor="#E1E1E1" class="TbInsideData"><?php echo TEXT_INCL_PICS ?><font size="2"><span style="font-family: Arial"><br>
&nbsp;</span></font></td>
         <td align="center" width="9" bgcolor="#E1E1E1" class="TbInsideData">&nbsp;</td>
         <td align="center" width="59" bgcolor="#E1E1E1" class="TbInsideData"><?php TEXT_ROW ?><br>
&nbsp;</td>
         <td width="161" class="TbInsideData">&nbsp;</td>
         <td width="144" bgcolor="#E1E1E1" class="TbInsideData"><?php echo TEXT_INCL_PICS ?><br>
&nbsp;</td>
         <td align="center" width="26" bgcolor="#E1E1E1" class="TbInsideData">&nbsp;</td>
         <td align="center" width="47" bgcolor="#E1E1E1" class="TbInsideData"><?php TEXT_ROW ?><br>
&nbsp;</td>
       </tr>
       <tr>
         <td width="130" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">aaabb.gif&nbsp;&nbsp;&nbsp;&nbsp;
         </font></td>
         <td align="center" width="16" bgcolor="#E1E1E1" class="TbInsideData">= </td>
         <td align="center" width="75" bgcolor="#E1E1E1" class="TbInsideData"><font color="#0000FF">1</font></td>
         <td rowspan="3" width="206" class="TbInsideData">
         <p align="center"><?php echo TEXT_OR_EXAMPLE ?></td>
         <td width="192" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">auto_<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial">_010 
         _001.gif</span></font></font></td>
         <td align="center" width="9" bgcolor="#E1E1E1" class="TbInsideData"><font size="2">
         <span style="font-family: Arial">=</span></font></td>
         <td align="center" width="59" bgcolor="#E1E1E1" class="TbInsideData">
         <font size="2" color="#0000FF"><span style="font-family: Arial">1</span></font></td>
         <td rowspan="3" width="161" class="TbInsideData">
         <p align="center"><?php echo TEXT_OR_EXAMPLE ?></td>
         <td width="144" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">001.gif </font>
         </td>
         <td align="center" width="26" bgcolor="#E1E1E1" class="TbInsideData">=</td>
         <td align="center" width="47" bgcolor="#E1E1E1" class="TbInsideData"><font color="#0000FF">1</font></td>
       </tr>
       <tr>
         <td width="130" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">aaacc.gif&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         </font></td>
         <td align="center" width="16" bgcolor="#E1E1E1" class="TbInsideData">=</td>
         <td align="center" width="75" bgcolor="#E1E1E1" class="TbInsideData"><font color="#0000FF">2</font></td>
         <td width="192" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">auto_<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial">_010 
         _002.gif</span></font></font></td>
         <td align="center" width="9" bgcolor="#E1E1E1" class="TbInsideData"><font size="2">
         <span style="font-family: Arial">=</span></font></td>
         <td align="center" width="59" bgcolor="#E1E1E1" class="TbInsideData">
         <font size="2" color="#0000FF"><span style="font-family: Arial">2</span></font></td>
         <td width="144" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">002.gif </font>
         </td>
         <td align="center" width="26" bgcolor="#E1E1E1" class="TbInsideData">=</td>
         <td align="center" width="47" bgcolor="#E1E1E1" class="TbInsideData"><font color="#0000FF">2</font></td>
       </tr>
       <tr>
         <td width="130" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">aaadd.gif&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         </font></td>
         <td align="center" width="16" bgcolor="#E1E1E1" class="TbInsideData">=</td>
         <td align="center" width="75" bgcolor="#E1E1E1" class="TbInsideData"><font color="#0000FF">3</font></td>
         <td width="192" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">auto_<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial">_010 
         _011.gif</span></font></font></td>
         <td align="center" width="9" bgcolor="#E1E1E1" class="TbInsideData"><font size="2">
         <span style="font-family: Arial">=</span></font></td>
         <td align="center" width="59" bgcolor="#E1E1E1" class="TbInsideData">
         <font size="2" color="#0000FF"><span style="font-family: Arial">3</span></font></td>
         <td width="144" bgcolor="#E1E1E1" class="TbInsideData"><font color="#FF0000">003.gif</font></td>
         <td align="center" width="26" bgcolor="#E1E1E1" class="TbInsideData">=</td>
         <td align="center" width="47" bgcolor="#E1E1E1" class="TbInsideData"><font color="#0000FF">3</font></td>
       </tr>
     </table>
     <p><?php echo TEXT_SORT_ORDER ?></p>
     <p><b><?php echo TEXT_NAME_NAME ?></b><?php echo TEXT_NAME_OBLIGATORY ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_NAME ?><br>
     <br>
     <b><?php echo TEXT_CATEGORY ?></b><?php echo TEXT_FIRST_CATEGORY ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_CATEGORY ?><br>
&nbsp;</p>
     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber2">
       <tr>
         <td width="50%"><font color="#FF0000"><?php echo TEXT_CARS ?> =&gt;</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         </td>
         <td width="50%"><font color="#0000FF">Merzedes</font></td>
       </tr>
       <tr>
         <td width="50%">&nbsp;</td>
         <td width="50%"><font color="#0000FF">Toyota</font></td>
       </tr>
     </table>
     <p><?php echo TEXT_NOTICE_WRITING ?></p>
     <p>
     <b><?php echo TEXT_CAT_ROW ?></b><?php echo TEXT_NO_DUTY ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_CAT_ROW ?></p>
     <p><b><?php echo TEXT_PREVIEW ?></b><?php echo TEXT_NO_DUTY ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_PREVIEW ?></p>
     <p><b><?php echo TEXT_TEMP_NR ?></b><?php echo TEXT_OBLIGATORY_FIELD ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_TEMP ?></p>
     <b><?php echo TEXT_GAL_VIEW ?></b><?php echo TEXT_OBLIGATORY_FIELD ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b> <font color="#FF0000">1</font> = <?php echo TEXT_TYP_GAL_VIEW ?><font color="#FF0000">0</font> = <?php echo TEXT_DET_VIEW ?></p>
     <p><b><?php echo TEXT_INFO ?></b><?php echo TEXT_NO_DUTY ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_INFO ?><br>
     <br>
     <b><?php echo TEXT_GAL_ROW ?></b><?php echo TEXT_NO_DUTY ?><br>
     <b><?php echo TEXT_EXPLANATION ?></b><?php echo TEXT_EXPLANATORY_NOTE_GAL_ROW ?><br><br>
	<?php echo TEXT_ATTENTION_DEFAULT ?><br><br>
     </p></font></td> 
    </tr> 
<form method="POST" action="main_bigware_52.php" enctype="multipart/form-data" name="einlesen">
    <tr class="tbCountData"> 
     <td align="left" class="TbInsideData">
     
     
  <?php echo TEXT_YOUR_CSV ?><input name="userfile" type="file" class="button" size="30">   
     
     
 <br><br><?php echo go_picture_submit('button_update.gif', PICTURE_UPDATE); ?>    
     
     
     
     </td> 
    </tr> 
   </form> 
   </table> 
  </td> 
<!-- body_text_eof //--> 
  </tr> 
</table> 
<!-- body_eof //--> 
<!-- footer //--> 
<?php require(FOLDER_RELATIV_INCLUDES . 'load_bigware_7.php'); ?> 
<!-- footer_eof //--> 
<br> 
</body> 
</html>
<?php require(FOLDER_RELATIV_INCLUDES . 'load_bigware_6.php'); ?>