Ejemplo n.º 1
0
            if (isset($_POST['save'])) {
                $dal->UpdateField('notes', $_POST['last_id'], $_POST['notes']);
                $dal->UpdateField('residence', $_POST['last_id'], $_POST['residence']);
                $dal->UpdateField('nationality', $_POST['last_id'], $_POST['nationality']);
                $dal->UpdateField('exclude', $_POST['last_id'], $_POST['exclude']);
                $dal->UpdateField('address', $_POST['last_id'], $_POST['address']);
            }
        }
    }
}
if (isset($_POST['save'])) {
    $schol = $dal->GetScholarship($_POST['last_id']);
} else {
    $schol = $id == 'unranked' ? $dal->GetNextPhase1($user_id) : $dal->GetScholarship($id);
}
$rankings = $dal->GetPhase1Rankings($schol['id']);
include "{$BASEDIR}/templates/header_review.php";
?>
	<script type="text/javascript">
		function toggleDump() {
			var dump = document.getElementById('dump');

			if (dump.style.display == 'block')
				dump.style.display = 'none';
			else
				dump.style.display = 'block';
		}

		function insertStamp() {
			notes = document.getElementById('notes');
			now = new Date();