<?php
//debug($stage);
if(!$stage) {
    echo '<div class="imports form large-9 medium-8 columns content">';
    echo $this->Form->create($employment);
    echo '<fieldset>';
        echo '<legend>' . __('Add Import') .'</legend>';

            echo $this->Form->input('Login Key');

    echo '</fieldset>';
    echo $this->Form->button(__('Submit'));
    echo $this->Form->end();
}
else {
    $schools = explode('*-------------------*',$file_content);
    //debug($schools);
    foreach($schools as $school) {
        //debug(htmlentities($school));
        $str = strtok(trim($school), "\n");
        //debug($str);
        echo '<h2>' . $str . '</h2>';
        echo '<code>';
        echo '<pre>';
        echo htmlentities($school);
        //echo $school;
        echo '</pre>';
        echo '</code>';
    }
}
?>