Produktuen Katalogoa

profile_cod_cliente; $codArt=$_POST['codigo']; //buscar articulos $texto = "
"; $texto = $texto . "
"; $texto = $texto . ""; $texto = $texto . "

"; $texto = $texto . "

"; $texto = $texto . "
"; if (!empty($_POST['buscar'])) { $listadoArt = listado_articulo_cod_eus($codArt * 100); //obtenemos los articulos por familias if (count($listadoArt)>0) { foreach( $listadoArt as $art) { $idfam = $art[10]; //echo "Familia " . $idfam; if (($idcli <> '') && ($idfam <> '')) { $tipo = obtener_grupo_fam($idfam, $idcli); } //sino no hay tipo else { $tipo=""; } //obtenemos el nombre $nombre = $art[1]; $listaHtmlArt = $listaHtmlArt . "
"; $listaHtmlArt = $listaHtmlArt . "

" . $nombre . "

"; $listaHtmlArt = $listaHtmlArt . "

Código: " . $art[0] / 100 . "

"; $listaHtmlArt = $listaHtmlArt . "

Unitateak/Kaxa: " . $art[6] . "

"; //obtenemos el precio if ($tipo == 'P') { $precio = $art[2]. " €"; } else if ($tipo == 'M') { $precio = $art[3]. " €"; } else if ($tipo == 'E') { $precio = $art[4]. " €"; } else if ($tipo == 'D') { $precio = $art[5]. " €"; } else { $precio = "Prezioa ikusteko web-ean alta ematea beharrezkoa da."; } $listaHtmlArt = $listaHtmlArt . "

Prezioa/Unitatea: " . $precio . "

"; $alt=ereg_replace("[^A-Za-z0-9 ]", "", $nombre); //obtenemos la imagen if (file_exists($isp . 'FOTOS/'.substr($art[0], 0, -2) .'.jpg')) { $src = $web . "FOTOS/".substr($art[0], 0, -2) .".jpg"; } else if (file_exists($isp . 'FOTOS/dcp_'.substr($art[0], 0, -2) .'.jpg')) { $src = $web . "FOTOS/dcp_".substr($art[0], 0, -2) .".jpg"; } else if (file_exists($isp . 'FOTOS/'.substr($art[0], 0, -2) .'.JPG')) { $src = $web . "FOTOS/".substr($art[0], 0, -2) .".JPG"; } else if (file_exists($isp . 'FOTOS/dcp_'.substr($art[0], 0, -2) .'.JPG')) { $src = $web . "FOTOS/dcp_".substr($art[0], 0, -2) .".JPG"; } else { $src= $web . "sites/default/files/no_disponible.jpg"; $alt= "imagen no disponible"; } $img= ''. $nombre .''; $listaHtmlArt = $listaHtmlArt . $img; if ($idcli <> '') { $iva = obtener_ivas($art[7])/100; $listaHtmlArt = $listaHtmlArt . "
"; $listaHtmlArt = $listaHtmlArt . "

"; $listaHtmlArt = $listaHtmlArt . "

"; $listaHtmlArt = $listaHtmlArt . "

"; $listaHtmlArt = $listaHtmlArt . "

"; $listaHtmlArt = $listaHtmlArt . "

"; $listaHtmlArt = $listaHtmlArt . "

Kopurua: "; $listaHtmlArt = $listaHtmlArt . "

"; } $listaHtmlArt = $listaHtmlArt . "
"; } } $listaHtmlArt = $listaHtmlArt . "
"; //mostramos todos los datos echo $listaHtmlArt; } $listadoFam = Array(); $listadoFam = listado_fam_pub_eus(0, 5000); $listaHtmlFam=""; $texto = $texto . "
"; $texto = $texto . ""; $texto = $texto . "
"; echo $texto; ?>

Norekin lan egiten dugu

  • Accede a la web de Leche Pascual
  • Accede a la web de Don Simon
  • Accede a la web de Nutrexpa
  • Accede a la web de Kraftfoods
  • Accede a la web de RedBull
  • Accede a la web de Editor
  • Accede a la web de Conserveros JAE
  • Accede a la web de Koipe