示例#1
0
        	Draw navigiation menu
        */
        if (!empty($page_obj->obj_menu_nav)) {
            print "<tr><td>";
            $page_obj->obj_menu_nav->render_html();
            print "</tr></td>";
        }
        /*
        	Check data
        */
        $page_valid = $page_obj->check_requirements();
        /*
        	Run page logic, provided that the data was valid
        */
        if ($page_valid) {
            $page_obj->execute();
        }
    } else {
        // user has no valid permissions
        $page_valid = 0;
        error_render_noperms();
    }
}
/*
	Draw messages
*/
if (!empty($_SESSION["error"]["message"])) {
    print "<tr><td>";
    log_error_render();
    print "</td></tr>";
} else {