break; case "MODULES": if ($_SESSION["validuser"] && $_SESSION["isadmin"]) { $module->_module($_POST, $_GET, $HTTP_POST_FILES, $_SESSION["validuser"], $_SESSION["isadmin"]); } else { print "<font color='red'>You have no authorization for this page.</font>"; } break; default: if ($errorinfo) { // since this the default page errors appear here // after page refresh // error codes are stored in errorcodes table $module->error_message($errorinfo); } if (module::in_menu($_GET["page"], array_values($menu_array[0]))) { $module->default_action($_GET["page"]); } else { $site->content($menu_id, $_POST, $_GET); } } } ?> </blockquote> <br/> </td> </tr> </table> <br/> <div align="center" class='copyright'> ©2004-2010 Generic Architecture for Modular Enterprise (GAME) Engine Version <?php
case "MODULES": if ($_SESSION["validuser"] && $_SESSION["isadmin"]) { $module->_module($_POST, $_GET, $_FILES, $_SESSION["validuser"], $_SESSION["isadmin"]); } else { print "<font color='red'>You have no authorization for this page.</font>"; } break; } } else { // check directory permissions print $module->directory_permissions(); if (isset($_GET["errorinfo"])) { $errorinfo = $_GET["errorinfo"]; if ($errorinfo) { // since this the default page errors appear here // after page refresh // error codes are stored in errorcodes table $module->error_message($errorinfo); } } if (isset($_GET["page"]) && module::in_menu($_GET["page"], array_values($menu_array[0]))) { $module->default_action($_GET["page"]); } else { if (isset($_GET["menu_id"])) { $site->deploy_content($_GET["menu_id"], $_POST, $_GET); } } } // end case } // end of file