section_id; $section = getSection($section_id); } else if ($section_id) { $section = getSection($section_id); $page = $section->getPage(1); $page_id = $page->page_id; } else if ($section_number != "") { $section = getSectionByNumber($section_number); $page = $section->getPage(1); $page_id = $page->page_id; $section_id = $section->section_id; } if ($page_id == "") { $section = getSection($section->getNextSubSectionID()); $page = $section->getPage(1); $page_id = $page->page_id; $section_id = $section->section_id; } if (!isset($section)) { redirect("logout.php"); } checkRole("master", "member", "expert"); if ($page && $_SESSION["user_id"]) { $user = new User($_SESSION["user_id"]); if ($user->last_visited_section_id==0) { redirect("first_time_user.php"); exit; } else { $user->updateLastVisited($page); } $tasks = query(Task, "WHERE user_id={$_SESSION["user_id"]} AND section_id=$section_id"); if (count($tasks) == 0) { if ($user->role == "expert" && $section->public != "Y") { $tool = $section->getEnclosingTool(); if (!$user->hasPermission($tool->section_id)) { redirect("denied.php"); } } } unset($user); } $user_title = getPageTitle($section); ?> <?echo($user_title);?>
container == "program") { $filing_cabinet_url .="?program_id={$_SESSION["user_program_id"]}"; } ?>
ICT in Education Toolkit
Team Facilitator Team Facilitator Team Member My User Profile External User My User Profile how to use User's Guide concept and blueprint Concept & Blueprint logout Logout
Version 2.0
Welcome ,
Toolkit Map Filing Cabinet Team Bookshelf Search Handbook Toolkit Library My Messages My Task List