Design, synthesis and study of novel heterocyclic compounds and their pharmacological activity as antimicrobial drugs