'."\n\n"; $found = FALSE; if (file_exists("$Page$Args/index.html")) { $found = include "./$Page$Args/index.html"; } elseif (file_exists("$Page$Args.html")) { $found = include "./$Page$Args.html"; } print "\n\n"; # execute dynamic code if ($Page) { $found |= require "./$Page.php"; } # global html include_once 'page.inc.php'; if (!$found) { # no resulting output if (isset($User) and $User['admin']) { require './template.html'; } else { require "./404.php"; } }