You have a good code. There is no problem conditionally, including files, as you do, because the file names are hard-coded. The problem occurs when the included file is based on an unsuccessful value from the user. for instance
include $_GET['p'];
Which may include everything that the user wants (depending on the PHP settings, he may also include files in other domains)
Other options are options for what you are doing.
require require_once , . inlucde_once require_once , , , .
include_once 'myfile.php';
include_once 'myfile.php';
, . , , .