"a","VID"=>"g","PMU"=>"c","URL"=>"l","SON"=>"j"); } $fields=explode(chr(0x01).chr(0x0A),$notice); $data="\n"; $typ_doc=$typ_doc_atalante[substr($fields[0],0,3)]; if ($typ_doc) { $data.="
".$typ_doc."
\n"; } for ($i=0; $i $val) { $data.=" \n"; foreach ($val as $keys => $vals) { if ((substr($key,0,1)=="7") && ($keys=="4") && ($vals=="Auteur")) $vals = "070" ; $data.=" ".htmlspecialchars($vals,ENT_QUOTES,$charset)."\n"; } $data.=" \n"; } $data.="
\n"; $r['VALID'] = true; $r['ERROR'] = ""; $r['DATA'] = $data; return $r; } }