MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/External Assessment/externalAssessment_manage_details_delete.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/externalAssessment.php'>" . _('View All Assessments') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/externalAssessment_details.php&gibbonPersonID=" . $_GET["gibbonPersonID"] . "'>" . _('Student Details') . "</a> > </div><div class='trailEnd'>" . _('Delete Assessment') . "</div>"; print "</div>"; if (isset($_GET["deleteReturn"])) { $deleteReturn = $_GET["deleteReturn"]; } else { $deleteReturn = ""; } $deleteReturnMessage = ""; $class = "error"; if (!($deleteReturn == "")) { if ($deleteReturn == "fail0") { $deleteReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($deleteReturn == "fail1") { $deleteReturnMessage = _("Your request failed because your inputs were invalid."); } else {
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); //Module includes include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/Finance/invoices_manage_add.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Finance/invoices_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Invoices') . "</a> > </div><div class='trailEnd'>" . _('Add Fees & Invoices') . "</div>"; print "</div>"; if (isset($_GET["addReturn"])) { $addReturn = $_GET["addReturn"]; } else { $addReturn = ""; } $addReturnMessage = ""; $class = "error"; if (!($addReturn == "")) { if ($addReturn == "fail0") { $addReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($addReturn == "fail2") { $addReturnMessage = _("Your request failed due to a database error."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/User Admin/medicalForm_manage_add.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/medicalForm_manage.php'>" . _('Manage Medical Forms') . "</a> > </div><div class='trailEnd'>" . _('Add Medical Form') . "</div>"; print "</div>"; if (isset($_GET["addReturn"])) { $addReturn = $_GET["addReturn"]; } else { $addReturn = ""; } $addReturnMessage = ""; $class = "error"; if (!($addReturn == "")) { if ($addReturn == "fail0") { $addReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($addReturn == "fail2") { $addReturnMessage = _("Your request failed due to a database error."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/User Admin/family_manage_edit_editChild.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/family_manage.php'>" . _('Manage Families') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/family_manage_edit.php&gibbonFamilyID=" . $_GET["gibbonFamilyID"] . "'>" . _('Edit Family') . "</a> > </div><div class='trailEnd'>" . _('Edit Child') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
$sql = "SELECT gibbonCourse.nameShort AS course, gibbonCourseClass.nameShort AS class, gibbonCourseClass.gibbonCourseClassID, gibbonCourse.gibbonDepartmentID, gibbonYearGroupIDList FROM gibbonCourse, gibbonCourseClass, gibbonCourseClassPerson WHERE gibbonCourse.gibbonCourseID=gibbonCourseClass.gibbonCourseID AND gibbonCourseClass.gibbonCourseClassID=gibbonCourseClassPerson.gibbonCourseClassID AND gibbonCourseClassPerson.gibbonPersonID=:gibbonPersonID AND role='Teacher' AND gibbonCourseClass.gibbonCourseClassID=:gibbonCourseClassID ORDER BY course, class"; } $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) { print "<div class='error'>"; print _("The selected record does not exist, or you do not have access to it."); print "</div>"; } else { //Let's go! $row = $result->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/markbook_view.php&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"] . "'>" . _('View') . " " . $row["course"] . "." . $row["class"] . " " . _('Markbook') . "</a> > </div><div class='trailEnd'>" . _('Set Personalised Attainment Targets') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); //Module includes include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/School Admin/gradeScales_manage_add.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/gradeScales_manage.php'>" . _('Manage Grade Scales') . "</a> > </div><div class='trailEnd'>" . _('Add Grade Scale') . "</div>"; print "</div>"; if (isset($_GET["addReturn"])) { $addReturn = $_GET["addReturn"]; } else { $addReturn = ""; } $addReturnMessage = ""; $class = "error"; if (!($addReturn == "")) { if ($addReturn == "fail0") { $addReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($addReturn == "fail2") { $addReturnMessage = _("Your request failed due to a database error."); } else {
} else { $extra = dateConvertBack($guid, $date); } $params = ""; if ($_GET["date"] != "") { $params = $params . "&date=" . $_GET["date"]; } if ($_GET["viewBy"] != "") { $params = $params . "&viewBy=" . $_GET["viewBy"]; } if ($_GET["gibbonCourseClassID"] != "") { $params = $params . "&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"]; } $params = $params . "&subView={$subView}"; print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/planner.php{$params}'>" . _('Planner') . " {$extra}</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/planner_view_full.php{$params}&gibbonPlannerEntryID={$gibbonPlannerEntryID}'>" . _('View Lesson Plan') . "</a> > </div><div class='trailEnd'>" . _('Add Comment') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
$sql2 = "SELECT * FROM gibbonInternalAssessmentColumn WHERE gibbonInternalAssessmentColumnID=:gibbonInternalAssessmentColumnID"; $result2 = $connection2->prepare($sql2); $result2->execute($data2); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result2->rowCount() != 1) { print "<div class='error'>"; print _("The selected record does not exist, or you do not have access to it."); print "</div>"; } else { //Let's go! $row = $result->fetch(); $row2 = $result2->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/internalAssessment_manage.php&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"] . "'>" . _('Manage') . " " . $row["course"] . "." . $row["class"] . " " . _('Internal Assessments') . "</a> > </div><div class='trailEnd'>" . _('Delete Column') . "</div>"; print "</div>"; if (isset($_GET["deleteReturn"])) { $deleteReturn = $_GET["deleteReturn"]; } else { $deleteReturn = ""; } $deleteReturnMessage = ""; $class = "error"; if (!($deleteReturn == "")) { if ($deleteReturn == "fail0") { $deleteReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($deleteReturn == "fail1") { $deleteReturnMessage = _("Your request failed because your inputs were invalid."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/School Admin/schoolYearSpecialDay_manage_edit.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/schoolYearSpecialDay_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Special Days') . "</a> > </div><div class='trailEnd'>" . _('Edit Special Day') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
try { $data = array("gibbonTTColumnID" => $gibbonTTColumnID); $sql = "SELECT name AS columnName FROM gibbonTTColumn WHERE gibbonTTColumnID=:gibbonTTColumnID"; $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) { print "<div class='error'>"; print _("The specified record does not exist."); print "</div>"; } else { $row = $result->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/ttColumn.php'>" . _('Manage Columns') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/ttColumn_edit.php&gibbonTTColumnID={$gibbonTTColumnID}'>" . _('Edit Column') . "</a> > </div><div class='trailEnd'>" . _('Add Column Row') . "</div>"; print "</div>"; if (isset($_GET["addReturn"])) { $addReturn = $_GET["addReturn"]; } else { $addReturn = ""; } $addReturnMessage = ""; $class = "error"; if (!($addReturn == "")) { if ($addReturn == "fail0") { $addReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($addReturn == "fail2") { $addReturnMessage = _("Your request failed due to a database error."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/Timetable Admin/tt_delete.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/tt.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Timetables') . "</a> > </div><div class='trailEnd'>" . _('Import Timetable Data') . "</div>"; print "</div>"; if (isset($_GET["importReturn"])) { $importReturn = $_GET["importReturn"]; } else { $importReturn = ""; } $importReturnMessage = ""; $class = "error"; if (!($importReturn == "")) { if ($importReturn == "fail0") { $importReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($importReturn == "fail1") { $importReturnMessage = _("Your request failed because your inputs were invalid."); } else {
$data = array("gibbonSchoolYearID" => $_SESSION[$guid]["gibbonSchoolYearID"], "gibbonPersonID" => $_SESSION[$guid]["gibbonPersonID"], "gibbonCourseClassID" => $gibbonCourseClassID); $sql = "SELECT gibbonCourseClassID, gibbonCourseClass.name, gibbonCourseClass.nameShort, gibbonCourse.gibbonCourseID, gibbonCourse.name AS courseName, gibbonCourse.nameShort as courseNameShort, gibbonCourse.description AS courseDescription, gibbonCourse.gibbonSchoolYearID, gibbonSchoolYear.name as yearName, gibbonYearGroupIDList FROM gibbonCourse JOIN gibbonCourseClass ON (gibbonCourseClass.gibbonCourseID=gibbonCourse.gibbonCourseID) JOIN gibbonDepartment ON (gibbonCourse.gibbonDepartmentID=gibbonDepartment.gibbonDepartmentID) JOIN gibbonDepartmentStaff ON (gibbonDepartmentStaff.gibbonDepartmentID=gibbonDepartment.gibbonDepartmentID) JOIN gibbonSchoolYear ON (gibbonCourse.gibbonSchoolYearID=gibbonSchoolYear.gibbonSchoolYearID) WHERE (role='Coordinator' OR role='Assistant Coordinator') AND gibbonPersonID=:gibbonPersonID AND gibbonCourse.gibbonSchoolYearID=:gibbonSchoolYearID AND gibbonCourseClassID=:gibbonCourseClassID"; $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) { print "<div class='error'>"; print _("The specified record cannot be found."); print "</div>"; } else { //Let's go! $row = $result->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/studentEnrolment_manage.php'>" . _('Manage Student Enrolment') . "</a> > </div><div class='trailEnd'>" . sprintf(_('Edit %1$s.%2$s Enrolment'), $row["courseNameShort"], $row["name"]) . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/Finance/expenseApprovers_manage_delete.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/expenseApprovers_manage.php'>" . _('Manage Expense Approvers') . "</a> > </div><div class='trailEnd'>" . _('Delete Expense Approver') . "</div>"; print "</div>"; if (isset($_GET["deleteReturn"])) { $deleteReturn = $_GET["deleteReturn"]; } else { $deleteReturn = ""; } $deleteReturnMessage = ""; $class = "error"; if (!($deleteReturn == "")) { if ($deleteReturn == "fail0") { $deleteReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($deleteReturn == "fail1") { $deleteReturnMessage = _("Your request failed because your inputs were invalid."); } else {
if (isActionAccessible($guid, $connection2, "/modules/Finance/invoices_manage_edit.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Check if school year specified $gibbonSchoolYearID = $_GET["gibbonSchoolYearID"]; $gibbonFinanceInvoiceID = $_GET["gibbonFinanceInvoiceID"]; $status = $_GET["status"]; $gibbonFinanceInvoiceeID = $_GET["gibbonFinanceInvoiceeID"]; $monthOfIssue = $_GET["monthOfIssue"]; $gibbonFinanceBillingScheduleID = $_GET["gibbonFinanceBillingScheduleID"]; //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Finance/invoices_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&gibbonFinanceInvoiceID={$gibbonFinanceInvoiceID}&gibbonSchoolYearID={$gibbonSchoolYearID}&status={$status}&gibbonFinanceInvoiceeID={$gibbonFinanceInvoiceeID}&monthOfIssue={$monthOfIssue}&gibbonFinanceBillingScheduleID={$gibbonFinanceBillingScheduleID}'>" . _('Manage Invoices') . "</a> > </div><div class='trailEnd'>" . _('Edit Invoice') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/School Admin/studentsSettings_noteCategory_delete.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/studentsSettings.php'>" . _('Manage Students Settings') . "</a> > </div><div class='trailEnd'>" . _('Delete Note Category') . "</div>"; print "</div>"; if (isset($_GET["deleteReturn"])) { $deleteReturn = $_GET["deleteReturn"]; } else { $deleteReturn = ""; } $deleteReturnMessage = ""; $class = "error"; if (!($deleteReturn == "")) { if ($deleteReturn == "fail0") { $deleteReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($deleteReturn == "fail1") { $deleteReturnMessage = _("Your request failed because your inputs were invalid."); } else {
$data = array("gibbonLibraryItemID" => $gibbonLibraryItemID, "gibbonLibraryItemEventID" => $gibbonLibraryItemEventID); $sql = "SELECT gibbonLibraryItemEvent.*, gibbonLibraryItem.name AS name, gibbonLibraryItem.id FROM gibbonLibraryItem JOIN gibbonLibraryItemEvent ON (gibbonLibraryItem.gibbonLibraryItemID=gibbonLibraryItemEvent.gibbonLibraryItemID) WHERE gibbonLibraryItemEvent.gibbonLibraryItemID=:gibbonLibraryItemID AND gibbonLibraryItemEvent.gibbonLibraryItemEventID=:gibbonLibraryItemEventID"; $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) { print "<div class='error'>"; print _("The specified record cannot be found."); print "</div>"; } else { //Let's go! $row = $result->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/library_lending.php'>" . _('Lending & Activity Log') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/library_lending_item.php&gibbonLibraryItemID={$gibbonLibraryItemID}'>" . _('View Item') . "</a> > </div><div class='trailEnd'>" . _('Renew Item') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/School Admin/schoolYearTerm_manage_edit.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/schoolYearTerm_manage.php'>" . _('Manage Terms') . "</a> > </div><div class='trailEnd'>" . _('Edit Term') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/Planner/units_duplicate.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Get action with highest precendence $highestAction = getHighestGroupedAction($guid, $_GET["q"], $connection2); if ($highestAction == FALSE) { print "<div class='error'>"; print _("The highest grouped action cannot be determined."); print "</div>"; } else { print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/units.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&gibbonCourseID=" . $_GET["gibbonCourseID"] . "'>" . _('Manage Units') . "</a> > </div><div class='trailEnd'>" . _('Duplicate Unit') . "</div>"; print "</div>"; //Proceed! if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid.");
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); //Module includes include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/User Admin/data_finance_edit.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/data_finance.php'>" . _('Finance Data Updates') . "</a> > </div><div class='trailEnd'>" . _('Edit Request') . "</div>"; print "</div>"; //Check if school year specified $gibbonFinanceInvoiceeUpdateID = $_GET["gibbonFinanceInvoiceeUpdateID"]; if ($gibbonFinanceInvoiceeUpdateID == "Y") { print "<div class='error'>"; print _("You have not specified one or more required parameters."); print "</div>"; } else { try { $data = array("gibbonFinanceInvoiceeUpdateID" => $gibbonFinanceInvoiceeUpdateID); $sql = "SELECT gibbonFinanceInvoiceeUpdate.gibbonFinanceInvoiceeID, gibbonFinanceInvoicee.invoiceTo AS invoiceTo, gibbonFinanceInvoicee.companyName AS companyName, gibbonFinanceInvoicee.companyContact AS companyContact, gibbonFinanceInvoicee.companyAddress AS companyAddress, gibbonFinanceInvoicee.companyEmail AS companyEmail, gibbonFinanceInvoicee.companyCCFamily AS companyCCFamily, gibbonFinanceInvoicee.companyPhone AS companyPhone, gibbonFinanceInvoicee.companyAll AS companyAll, gibbonFinanceInvoicee.gibbonFinanceFeeCategoryIDList AS gibbonFinanceFeeCategoryIDList, gibbonFinanceInvoiceeUpdate.invoiceTo AS newinvoiceTo, gibbonFinanceInvoiceeUpdate.companyName AS newcompanyName, gibbonFinanceInvoiceeUpdate.companyContact AS newcompanyContact, gibbonFinanceInvoiceeUpdate.companyAddress AS newcompanyAddress, gibbonFinanceInvoiceeUpdate.companyEmail AS newcompanyEmail, gibbonFinanceInvoiceeUpdate.companyCCFamily AS newcompanyCCFamily, gibbonFinanceInvoiceeUpdate.companyPhone AS newcompanyPhone, gibbonFinanceInvoiceeUpdate.companyAll AS newcompanyAll, gibbonFinanceInvoiceeUpdate.gibbonFinanceFeeCategoryIDList AS newgibbonFinanceFeeCategoryIDList FROM gibbonFinanceInvoiceeUpdate JOIN gibbonFinanceInvoicee ON (gibbonFinanceInvoiceeUpdate.gibbonFinanceInvoiceeID=gibbonFinanceInvoicee.gibbonFinanceInvoiceeID) WHERE gibbonFinanceInvoiceeUpdateID=:gibbonFinanceInvoiceeUpdateID"; $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>";
try { $data = array("gibbonDepartmentID" => $gibbonDepartmentID); $sql = "SELECT * FROM gibbonDepartment WHERE gibbonDepartmentID=:gibbonDepartmentID"; $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) { print "<div class='error'>"; print _("The selected record does not exist, or you do not have access to it."); print "</div>"; } else { $row = $result->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/departments.php'>" . _('View All') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/department.php&gibbonDepartmentID=" . $_GET["gibbonDepartmentID"] . "'>" . $row["name"] . "</a> > </div><div class='trailEnd'>" . _('Edit Department') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/Timetable Admin/course_manage_class_add.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/course_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Courses & Classes') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/course_manage_edit.php&gibbonCourseID=" . $_GET["gibbonCourseID"] . "&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Edit Course & Classes') . "</a> > </div><div class='trailEnd'>" . _('Add Class') . "</div>"; print "</div>"; if (isset($_GET["addReturn"])) { $addReturn = $_GET["addReturn"]; } else { $addReturn = ""; } $addReturnMessage = ""; $class = "error"; if (!($addReturn == "")) { if ($addReturn == "fail0") { $addReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($addReturn == "fail2") { $addReturnMessage = _("Your request failed due to a database error."); } else {
include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/Finance/expenses_manage_edit.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { $highestAction = getHighestGroupedAction($guid, $_GET["q"], $connection2); if (isActionAccessible($guid, $connection2, "/modules/Finance/expenses_manage_add.php", "Manage Expenses_all") == FALSE) { print "<div class='error'>"; print _("The highest grouped action cannot be determined."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Finance/expenses_manage.php&gibbonFinanceBudgetCycleID=" . $_GET["gibbonFinanceBudgetCycleID"] . "'>" . _('Manage Expenses') . "</a> > </div><div class='trailEnd'>" . _('Edit Expense') . "</div>"; print "</div>"; if (isset($_GET["editReturn"])) { $editReturn = $_GET["editReturn"]; } else { $editReturn = ""; } $editReturnMessage = ""; $class = "error"; if (!($editReturn == "")) { if ($editReturn == "fail0") { $editReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($editReturn == "fail2") { $editReturnMessage = _("Your request failed due to a database error."); } else {
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); if (isActionAccessible($guid, $connection2, "/modules/User Admin/userFields_delete.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/userFields.php'>" . _('Manage Custom Fields') . "</a> > </div><div class='trailEnd'>" . _('Delete Custom Field') . "</div>"; print "</div>"; if (isset($_GET["deleteReturn"])) { $deleteReturn = $_GET["deleteReturn"]; } else { $deleteReturn = ""; } $deleteReturnMessage = ""; $class = "error"; if (!($deleteReturn == "")) { if ($deleteReturn == "fail0") { $deleteReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($deleteReturn == "fail1") { $deleteReturnMessage = _("Your request failed because your inputs were invalid."); } else {
include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/Activities/activities_view_register.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Get action with highest precendence $highestAction = getHighestGroupedAction($guid, $_GET["q"], $connection2); if ($highestAction == FALSE) { print "<div class='error'>"; print _("The highest grouped action cannot be determined."); print "</div>"; } else { print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Activities/activities_view.php'>View Activities</a> > </div><div class='trailEnd'>" . _('Activity Registration') . "</div>"; print "</div>"; if (isActionAccessible($guid, $connection2, "/modules/Activities/activities_view_register") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Get current role category $roleCategory = getRoleCategory($_SESSION[$guid]["gibbonRoleIDCurrent"], $connection2); //Check access controls $access = getSettingByScope($connection2, "Activities", "access"); $gibbonPersonID = $_GET["gibbonPersonID"]; if ($access != "Register") { print "<div class='error'>"; print _("Registration is closed, or you do not have permission to register.");
} } $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) { print "<div class='error'>"; print _("The specified record cannot be found."); print "</div>"; } else { //Let's go! $row = $result->fetch(); print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/courseEnrolment_manage_byPerson.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&allUsers={$allUsers}'>" . _('Enrolment by Person') . "</a> > </div><div class='trailEnd'>" . $row["preferredName"] . " " . $row["surname"] . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
print "<div class='error'>"; print _("The highest grouped action cannot be determined."); print "</div>"; } else { //IF UNIT DOES NOT CONTAIN HYPHEN, IT IS A GIBBON UNIT $gibbonUnitID = $_GET["gibbonUnitID"]; if (strpos($gibbonUnitID, "-") == FALSE) { $hooked = FALSE; } else { $hooked = TRUE; $gibbonHookIDToken = substr($gibbonUnitID, 11); $gibbonUnitIDToken = substr($gibbonUnitID, 0, 10); } //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/units.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&gibbonCourseID=" . $_GET["gibbonCourseID"] . "'>" . _('Manage Units') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/units_edit.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&gibbonCourseID=" . $_GET["gibbonCourseID"] . "&gibbonUnitID=" . $_GET["gibbonUnitID"] . "'>" . _('Edit Unit') . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/units_edit_working.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "&gibbonCourseID=" . $_GET["gibbonCourseID"] . "&gibbonUnitID=" . $_GET["gibbonUnitID"] . "&gibbonCourseClassID=" . $_GET["gibbonCourseClassID"] . "'>" . _('Edit Working Copy') . "</a> > </div><div class='trailEnd'>" . _('Add Lessons') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); //Module includes include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/School Admin/externalAssessments_manage_edit.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/externalAssessments_manage.php'>" . _('Manage External Assessments') . "</a> > </div><div class='trailEnd'>" . _('Edit External Assessment') . "</div>"; print "</div>"; if (isset($_GET["updateReturn"])) { $updateReturn = $_GET["updateReturn"]; } else { $updateReturn = ""; } $updateReturnMessage = ""; $class = "error"; if (!($updateReturn == "")) { if ($updateReturn == "fail0") { $updateReturnMessage = _("Your request failed because you do not have access to this action."); } else { if ($updateReturn == "fail1") { $updateReturnMessage = _("Your request failed because your inputs were invalid."); } else {
if (isActionAccessible($guid, $connection2, "/modules/Behaviour/behaviour_view_details.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Get action with highest precendence $highestAction = getHighestGroupedAction($guid, $_GET["q"], $connection2); if ($highestAction == FALSE) { print "<div class='error'>"; print _("The highest grouped action cannot be determined."); print "</div>"; } else { $gibbonPersonID = $_GET["gibbonPersonID"]; print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/Behaviour/behaviour_view.php'>" . _('View Behaviour Records') . "</a> > </div><div class='trailEnd'>" . _('View Student Record') . "</div>"; print "</div>"; try { if ($highestAction == "View Behaviour Records_all") { $data = array("gibbonPersonID" => $gibbonPersonID, "gibbonSchoolYearID" => $_SESSION[$guid]["gibbonSchoolYearID"]); $sql = "SELECT gibbonPerson.gibbonPersonID, gibbonStudentEnrolmentID, surname, preferredName, gibbonYearGroup.nameShort AS yearGroup, gibbonRollGroup.nameShort AS rollGroup FROM gibbonPerson JOIN gibbonStudentEnrolment ON (gibbonPerson.gibbonPersonID=gibbonStudentEnrolment.gibbonPersonID) JOIN gibbonYearGroup ON (gibbonStudentEnrolment.gibbonYearGroupID=gibbonYearGroup.gibbonYearGroupID) JOIN gibbonRollGroup ON (gibbonStudentEnrolment.gibbonRollGroupID=gibbonRollGroup.gibbonRollGroupID) WHERE status='Full' AND (dateStart IS NULL OR dateStart<='" . date("Y-m-d") . "') AND (dateEnd IS NULL OR dateEnd>='" . date("Y-m-d") . "') AND gibbonPerson.gibbonPersonID=:gibbonPersonID AND gibbonStudentEnrolment.gibbonSchoolYearID=:gibbonSchoolYearID"; } else { $data = array("gibbonSchoolYearID" => $_SESSION[$guid]["gibbonSchoolYearID"], "gibbonPersonID" => $_SESSION[$guid]["gibbonPersonID"], "gibbonPersonID2" => $gibbonPersonID); $sql = "SELECT gibbonPerson.gibbonPersonID, gibbonStudentEnrolmentID, surname, preferredName, gibbonYearGroup.nameShort AS yearGroup, gibbonRollGroup.nameShort AS rollGroup FROM gibbonPerson JOIN gibbonStudentEnrolment ON (gibbonPerson.gibbonPersonID=gibbonStudentEnrolment.gibbonPersonID) JOIN gibbonYearGroup ON (gibbonStudentEnrolment.gibbonYearGroupID=gibbonYearGroup.gibbonYearGroupID) JOIN gibbonRollGroup ON (gibbonStudentEnrolment.gibbonRollGroupID=gibbonRollGroup.gibbonRollGroupID) JOIN gibbonFamilyChild ON (gibbonPerson.gibbonPersonID=gibbonFamilyChild.gibbonPersonID) JOIN gibbonFamily ON (gibbonFamilyChild.gibbonFamilyID=gibbonFamily.gibbonFamilyID) JOIN gibbonFamilyAdult ON (gibbonFamilyAdult.gibbonFamilyID=gibbonFamily.gibbonFamilyID AND childDataAccess='Y') WHERE gibbonFamilyAdult.gibbonPersonID=:gibbonPersonID AND gibbonStudentEnrolment.gibbonSchoolYearID=:gibbonSchoolYearID AND gibbonPerson.status='Full' AND (dateStart IS NULL OR dateStart<='" . date("Y-m-d") . "') AND (dateEnd IS NULL OR dateEnd>='" . date("Y-m-d") . "') AND gibbonPerson.gibbonPersonID=:gibbonPersonID2 ORDER BY surname, preferredName"; } $result = $connection2->prepare($sql); $result->execute($data); } catch (PDOException $e) { print "<div class='error'>" . $e->getMessage() . "</div>"; } if ($result->rowCount() != 1) {
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); $_SESSION[$guid]["report_student_emergencySummary.php_choices"] = ""; //Module includes include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/Library/report_catalogSummary.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > </div><div class='trailEnd'>" . _('Catalog Summary') . "</div>"; print "</div>"; print "<h3>"; print _("Search & Filter"); print "</h3>"; //Get current filter values $ownershipType = NULL; if (isset($_POST["ownershipType"])) { $ownershipType = trim($_POST["ownershipType"]); } if ($ownershipType == "") { if (isset($_GET["ownershipType"])) { $ownershipType = trim($_GET["ownershipType"]); } } $gibbonLibraryTypeID = NULL;
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ @session_start(); //Module includes include "./modules/" . $_SESSION[$guid]["module"] . "/moduleFunctions.php"; if (isActionAccessible($guid, $connection2, "/modules/User Admin/applicationForm_manage_accept.php") == FALSE) { //Acess denied print "<div class='error'>"; print _("You do not have access to this action."); print "</div>"; } else { //Proceed! print "<div class='trail'>"; print "<div class='trailHead'><a href='" . $_SESSION[$guid]["absoluteURL"] . "'>" . _("Home") . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/" . getModuleName($_GET["q"]) . "/" . getModuleEntry($_GET["q"], $connection2, $guid) . "'>" . _(getModuleName($_GET["q"])) . "</a> > <a href='" . $_SESSION[$guid]["absoluteURL"] . "/index.php?q=/modules/User Admin/applicationForm_manage.php&gibbonSchoolYearID=" . $_GET["gibbonSchoolYearID"] . "'>" . _('Manage Application Forms') . "</a> > </div><div class='trailEnd'>" . _('Accept Application') . "</div>"; print "</div>"; //Check if school year specified $gibbonApplicationFormID = $_GET["gibbonApplicationFormID"]; $gibbonSchoolYearID = $_GET["gibbonSchoolYearID"]; $search = $_GET["search"]; if ($gibbonApplicationFormID == "" or $gibbonSchoolYearID == "") { print "<div class='error'>"; print _("You have not specified one or more required parameters."); print "</div>"; } else { try { $data = array("gibbonApplicationFormID" => $gibbonApplicationFormID); $sql = "SELECT * FROM gibbonApplicationForm WHERE gibbonApplicationFormID=:gibbonApplicationFormID AND (status='Pending' OR status='Waiting List')"; $result = $connection2->prepare($sql); $result->execute($data);