Insert the code in index.php, the logic is that according to the page parameter's value appropriate file is included and it's contents are executed, which as a result will change the output according to the parameter passed.