function process_awards_admin()
{
    if (isset($_POST['action'])) {
        $action = $_POST['action'];
        switch ($action) {
            case "add_award_recipient":
            case "remove_award_recipient":
            case "edit_award_details":
                $award_id = isset($_POST['award_id']) ? $_POST['award_id'] : 0;
                if ($award_id) {
                    $award = InternalAward::get($award_id);
                    process_manage_award_details();
                    display_status_messages();
                    echo award_recipients_list($award);
                }
                break;
            case "remove_award":
                $award_id = isset($_POST['award_id']) ? $_POST['award_id'] : 0;
                if (!$award_id) {
                    break;
                }
            case "new_award":
                process_manage_award_details();
                display_status_messages();
                $awards = InternalAwards::get(true);
                if ($awards) {
                    echo awards_list($awards);
                }
                break;
        }
    }
}
        }
        ?>
">
			<a id="add_award_recipient" href="<?php 
        echo ENTRADA_URL;
        ?>
/admin/awards?section=award_details&show=add_recipient&id=<?php 
        echo $award_id;
        ?>
#award-recipients-tab" class="btn btn-primary pull-right">Add Award Recipient</a>
		</div>
		<div class="clear">&nbsp;</div>
		<h2>Award Recipients</h2>
		<div id="award_recipients">
			<?php 
        echo award_recipients_list($award);
        ?>
		</div>
		<script language="javascript">

			function addRecipient(event) {
				if (!((document.getElementById('internal_award_user_id') != null) && (document.getElementById('internal_award_user_id').value != ''))) {
						alert('You can only add students as award recipients if they exist in this system.\n\nIf you are typing in their name properly (Lastname, Firstname) and their name does not show up in the list, then chances are that they do not exist in our system.\n\nImportant: When you see the correct name pop-up in the list as you type, make sure you select the name with your mouse, do not press the Enter button.');
					Event.stop(event);
					return false;

				}
			}

			function selectStudent(id) {
				if ((id != null) && (document.getElementById('internal_award_user_id') != null)) {