Synthesis of structured porous polymers with acid and basic sites and their catalytic application in cascade-type reactions