"._("zone"); if(!isset($premier)) $premier=''; if(!isset($recherche1)) $recherche1=''; if(!isset($tricolsf)) $tricolsf=''; if(!isset($premiersf)) $premiersf=''; if(!isset($selection)) $selection=''; if(!isset($retourformulaire)) $retourformulaire=''; if (isset($idx) && $idx != ']' && trim($idx) != '') { $ent .= "-> ".$idx." "; } if (isset($idz) && trim($idz) != '') { $ent .= " ".strtoupper($idz)." "; } // FROM $table = DB_PREFIXE."zone LEFT JOIN ".DB_PREFIXE."cimetiere ON zone.cimetiere=cimetiere.cimetiere LEFT JOIN ".DB_PREFIXE."zone_type ON zone.zonetype=zone_type.zone_type "; // SELECT $champAffiche = array( 'zone.zone as "'._("zone").'"', 'cimetiere.cimetierelib as "'._("cimetiere").'"', 'zone_type.libelle as "'._("zonetype").'"', 'zone.zonelib as "'._("zonelib").'"', ); // $champNonAffiche = array( 'zone.geom as "'._("geom").'"', ); // $champRecherche = array( 'zone.zone as "'._("zone").'"', 'cimetiere.cimetierelib as "'._("cimetiere").'"', 'zone_type.libelle as "'._("zonetype").'"', 'zone.zonelib as "'._("zonelib").'"', ); $tri="ORDER BY cimetiere.cimetierelib ASC NULLS LAST"; $edition="zone"; $selection=''; if ($retourformulaire== 'cimetiere') { $selection=" WHERE (zone.cimetiere ='".$idx."')"; } if ($retourformulaire== 'zone_type') { $selection=" WHERE (zone.zonetype ='".$idx."')"; } $sousformulaire = array( 'voie',); ?>