So far, I came up with two main approaches -
Option 1: Create an index with an included header and a footer, and require the relevant file/page based on a GET variable.
Option 2: Create a footer and a header file, and include them on every page.
The problem is, neither of those methods seem to work for me. With option 1, the specified page gets stored in the address, and makes the URLs look not as "clean" - mywebsite.com/index.php?page1. With option 2, the code quickly becomes disorganized.
Advice?
Edited by BorysSokolov, 03 March 2013 - 06:41 PM.













