switch ($STEP) {
        case 2:
            if ($ERORR) {
                echo display_error();
            } else {
                echo display_success("Successfully updated observerships for " . $user->getFullname(false) . ". You will be redirected to the students observership managment page in 5 seconds. Please <a href=\"" . ENTRADA_URL . "/admin/users/manage/students?section=observerships&id=" . $PROXY_ID . "\">click here</a> if you do not wish to wait.");
                if (count($pending_observerships) > 0) {
                    $ONLOAD[] = "setTimeout('window.location=\\'" . ENTRADA_URL . "/admin/users/manage/students?section=observerships&id=" . $PROXY_ID . "\\'', 5000)";
                } else {
                    $ONLOAD[] = "setTimeout('window.location=\\'" . ENTRADA_URL . "/admin/users/manage?id=" . $PROXY_ID . "\\'', 5000)";
                }
            }
            break;
        case 1:
        default:
            if (clerkship_fetch_schedule($user->getID()) == false || ($ENTRADA_USER->getGroup() == "staff" || $ENTRADA_USER->getGroup() == "medtech")) {
                ?>
<div class="row-fluid">
	<a id="add_observership" href="<?php 
                echo ENTRADA_URL;
                ?>
/admin/observerships?section=add&id=<?php 
                echo $PROXY_ID;
                ?>
" class="btn btn-small btn-success pull-right"><i class="icon-plus-sign icon-white"></i> Add Observership</a></li>
</div>
				<?php 
            }
            if (count($pending_observerships) > 0) {
                ?>
				<h2>Pending Observerships</h2>
                            }
                            if ($action) {
                                echo "<a href=\"" . ENTRADA_URL . "/profile/observerships?section=reflection&id=" . $observership->getID() . "\">" . $action . " Reflection</a>";
                            }
                        }
                    }
                }
                echo "</td>\n";
                echo "</tr>\n";
            }
        }
        ?>
				</tbody>
			</table>
			<?php 
        if (clerkship_fetch_schedule($ENTRADA_USER->getID()) == false) {
            ?>
			<div class="row-fluid">	
				<input class="btn pull-right" type="submit" value="Delete" id="delete_button" />
			</div>	
			<?php 
        }
        ?>
		</form>
		<?php 
    }
    if ($total_observerships == 0) {
        add_generic("You currently have no observerships in the system. You may add an observership by using the link below.");
        echo display_generic();
        echo "<a href=\"" . ENTRADA_URL . "/profile/observerships?section=delete\">Add</a>";
    }