I suggest that you put your code into a page template. Create a page that uses this template, make a pretty permalink for this page.
Now wordpress can display your pages.
↧
RossMitchell on "Moving dynamically filled page using PHP Get variables and query to WordPress"
↧