Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isset($_GET['do']))
- {
- $system = filter($_GET['do']);
- $page = filter($_GET['page']);
- if(file_exists('application/pages/'.$system.'/'.$page.'.php'))
- {
- include('application/pages/'.$system.'/'.$page.'.php');
- }
- else
- {
- $nopage = 1;
- }
- }
- else
- {
- $nopage = 1;
- }
- if($nopage == 1)
- {
- echo("<div class='halfwidthcontainer'>");
- include('application/pages/home.php');
- echo("</div>");
- }
- }
Add Comment
Please, Sign In to add comment