"_item_"), "CATALOG");
//Création de la liste des types d'import
$export_type="";
$form=str_replace("!!export_type!!",$export_type,$form);
//Filtres
//Propriétaires
$requete="select idlender,lender_libelle from lenders";
$lenders="\n";
$form=str_replace("!!lenders!!",$lenders,$form);
//Types de documents
$requete="select idlender, lender_libelle from lenders";
$resultat=mysql_query($requete);
while (list($id_lender,$lender_libelle)=mysql_fetch_row($resultat)) {
//Récupération des codes exemplaires du proptiétaire
$requete="select idtyp_doc, concat(tdoc_libelle) as lib from docs_type, exemplaires, lenders where idtyp_doc=expl_typdoc and expl_owner=$id_lender and (idlender=tdoc_owner or tdoc_owner=0) group by expl_typdoc";
$typ_doc_lists.="
";
$form=str_replace("!!typ_doc_lists!!",$typ_doc_lists,$form);
//Status
$requete="select idlender, lender_libelle from lenders";
$resultat=mysql_query($requete);
while (list($id_lender,$lender_libelle)=mysql_fetch_row($resultat)) {
//Récupération des codes exemplaires du propriétaire ayant le statut
$requete="select idstatut, concat(statut_libelle) as lib from docs_statut, exemplaires, lenders where idstatut=expl_statut and expl_owner=$id_lender and (idlender=statusdoc_owner or statusdoc_owner=0) group by expl_statut";
$statut_lists.="