zhtml equivalent of php require

Has anyone figured out how to include a html fragment in multiple zhtml pages? I want to include the same fragment for links in many pages. I can mimic this using frames, but I would like to avoid that.

Cgi includes does not seem to be an option since I need to access c-variables in several pages…