$PAGE_META["keywords"] = "";
    $PROXY_ID = $user_record["id"];
    $BREADCRUMB[] = array("url" => ENTRADA_URL . "/admin/users/manage/students?section=disciplinaryactions&id=" . $PROXY_ID, "title" => "Disciplinary Actions");
    $HEAD[] = "<script language='javascript' src='" . ENTRADA_URL . "/javascript/PassiveDataEntryProcessor.js'></script>";
    if (is_array($_SESSION["permissions"]) && ($total_permissions = count($_SESSION["permissions"]) > 1)) {
        $sidebar_html = "The following individual" . ($total_permissions - 1 != 1 ? "s have" : " has") . " given you access to their " . APPLICATION_NAME . " permission levels:";
        $sidebar_html .= "<ul class=\"menu\">\n";
        foreach ($_SESSION["permissions"] as $access_id => $result) {
            if ($access_id != $ENTRADA_USER->getDefaultAccessId()) {
                $sidebar_html .= "<li class=\"checkmark\"><strong>" . html_encode($result["fullname"]) . "</strong><br /><span class=\"content-small\">Exp: " . ($result["expires"] ? date("D M d/y", $result["expires"]) : "Unknown") . "</span></li>\n";
            }
        }
        $sidebar_html .= "</ul>\n";
        new_sidebar_item("Delegated Permissions", $sidebar_html, "delegated-permissions", "open");
    }
    process_mspr_details($translate, "disciplinary_actions");
    display_status_messages();
    ?>
<h1>Disciplinary Actions: <?php 
    echo $user->getFullname();
    ?>
</h1>

<?php 
    $show_da_form = $_GET['show'] == "da_form";
    ?>
		
	
	<div id="add_disciplinary_action_link" style="float: right;<?php 
    if ($show_da_form) {
        echo "display:none;";
    $PAGE_META["keywords"] = "";
    $PROXY_ID = $user_record["id"];
    $BREADCRUMB[] = array("url" => ENTRADA_URL . "/admin/users/manage/students?section=formalremediations&id=" . $PROXY_ID, "title" => "Formal Remediations");
    $HEAD[] = "<script language='javascript' src='" . ENTRADA_URL . "/javascript/PassiveDataEntryProcessor.js'></script>";
    if (is_array($_SESSION["permissions"]) && ($total_permissions = count($_SESSION["permissions"]) > 1)) {
        $sidebar_html = "The following individual" . ($total_permissions - 1 != 1 ? "s have" : " has") . " given you access to their " . APPLICATION_NAME . " permission levels:";
        $sidebar_html .= "<ul class=\"menu\">\n";
        foreach ($_SESSION["permissions"] as $access_id => $result) {
            if ($access_id != $ENTRADA_USER->getDefaultAccessId()) {
                $sidebar_html .= "<li class=\"checkmark\"><strong>" . html_encode($result["fullname"]) . "</strong><br /><span class=\"content-small\">Exp: " . ($result["expires"] ? date("D M d/y", $result["expires"]) : "Unknown") . "</span></li>\n";
            }
        }
        $sidebar_html .= "</ul>\n";
        new_sidebar_item("Delegated Permissions", $sidebar_html, "delegated-permissions", "open");
    }
    process_mspr_details($translate, "formal_remediation");
    display_status_messages();
    ?>
<h1>Formal Remediations: <?php 
    echo $user->getFullname();
    ?>
</h1>

<?php 
    $show_fr_form = $_GET['show'] == "fr_form";
    ?>
		
	
	<div id="add_formal_remediation_link" style="float: right;<?php 
    if ($show_fr_form) {
        echo "display:none;";
    $PAGE_META["keywords"] = "";
    $PROXY_ID = $user_record["id"];
    $BREADCRUMB[] = array("url" => ENTRADA_URL . "/admin/users/manage/students?section=leavesofabsences&id=" . $PROXY_ID, "title" => "Leaves of Absence");
    $HEAD[] = "<script language='javascript' src='" . ENTRADA_URL . "/javascript/PassiveDataEntryProcessor.js'></script>";
    if (is_array($_SESSION["permissions"]) && ($total_permissions = count($_SESSION["permissions"]) > 1)) {
        $sidebar_html = "The following individual" . ($total_permissions - 1 != 1 ? "s have" : " has") . " given you access to their " . APPLICATION_NAME . " permission levels:";
        $sidebar_html .= "<ul class=\"menu\">\n";
        foreach ($_SESSION["permissions"] as $access_id => $result) {
            if ($access_id != $ENTRADA_USER->getDefaultAccessId()) {
                $sidebar_html .= "<li class=\"checkmark\"><strong>" . html_encode($result["fullname"]) . "</strong><br /><span class=\"content-small\">Exp: " . ($result["expires"] ? date("D M d/y", $result["expires"]) : "Unknown") . "</span></li>\n";
            }
        }
        $sidebar_html .= "</ul>\n";
        new_sidebar_item("Delegated Permissions", $sidebar_html, "delegated-permissions", "open");
    }
    process_mspr_details($translate, "leaves_of_absence");
    display_status_messages();
    ?>
<h1>Leaves of Absence: <?php 
    echo $user->getFullname();
    ?>
</h1>

<?php 
    $show_loa_form = $_GET['show'] == "loa_form";
    ?>
		
	
	<div id="add_leave_of_absence_link" style="float: right;<?php 
    if ($show_loa_form) {
        echo "display:none;";