<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="<?php echo base_url();?>/favicon.ico" type="image/x-icon">
<link rel="icon" href="<?php echo base_url();?>/favicon.ico" type="image/x-icon">

<title><?php echo SITE_TITLE;?>: Register</title>

<!-- Stylesheets -->
<link rel="stylesheet" href="<?php echo base_url();?>/assets/css/jquery-ui.css"/>
<link rel="stylesheet" href="<?php echo base_url();?>/assets/css/tmis.css"/>
<link rel="stylesheet" href="<?php echo base_url();?>/assets/css/tmis.mobile.css" media="(max-width:790px)" />
<link rel="stylesheet" href="<?php echo base_url();?>/assets/css/tmis.tablet.css" media="(min-width:791px) and (max-width: 900px)" />
<link rel="stylesheet" href="<?php echo base_url();?>/assets/css/tmis.desktop.css" media="(min-width:901px)" />
<link rel="stylesheet" href="<?php echo base_url();?>/assets/css/tmis.list.css"/>

<!-- Javascript -->
<?php echo minify_js('register-step_four', array('jquery-2.1.1.min.js', 'jquery-ui.js', 'jquery.form.js', 'tmis.js', 'tmis.callout.js', 'tmis.fileform.js', 'tmis.responsive.js'));?>
</head>
<?php  $this->session = \Config\Services::session(); ?>
<body style="margin:0px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <?php echo view("addons/public_header", array("page"=>"register"));?>
  <tr>
    <td valign="top" colspan="2" class="bodyspace">
    <form id="home_registration_form" method="post" autocomplete="off" action="<?php echo base_url();?>/Register/step_four" class='simplevalidator'>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
      <td class="h1 grey">Teacher Registration</td>
     </tr>
     <tr>
     <td>
     <table width="100%" border="0" cellspacing="0" cellpadding="0" id="stepstracker">
     	<tr>
    		<td class='stepone visited'><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div></td>
     		<td class='visitedfiller'>&nbsp;</td>
     		<td class='steptwo visited'><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div></td>
     		<td class='visitedfiller'>&nbsp;</td>
     		<td class='stepthree visited'><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div></td>
     		<td class='visitedfiller'>&nbsp;</td>
     		<td class='stepfour visited'><div>&nbsp;</div><div>&nbsp;</div><div>&nbsp;</div></td>
     	</tr>
     	<tr>
     		<td class='visited'>Personal Information</td>
     		<td>&nbsp;</td>
     		<td class='visited'>Contact &amp; Employment</td>
     		<td>&nbsp;</td>
     		<td class='visited'>Education &amp; Qualifications</td>
     		<td>&nbsp;</td>
    		<td class='visited'>Preview &amp; Submit</td>
     	</tr>
     </table>
     </td>
     </tr>
     
     <?php echo !empty($msg)?"<tr><td>".format_notice($this, $msg)."</td></tr>": "";?>
     
     <tr><td class="greybg" style="padding-left:5px; vertical-align:top;"><div id="editstep1" class="editicon nextdiv" style="min-width:30px;"></div><div class="nextdiv h3" style="vertical-align:top; padding-top:2px;">Personal Information</div></td></tr>
     <tr><td><table border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="previewlabel" style="width:150px;">Surname:</td>
    <td class='value'><?php echo($this->session->get('lastname')? $this->session->get('lastname'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Other Names:</td>
    <td class='value'><?php echo($this->session->get('firstname')? $this->session->get('firstname'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">National Identification Number (NIN):</td>
    <td class='value'><?php echo($this->session->get('nin')? $this->session->get('nin'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Religion:</td>
    <td class='value'><?php echo($this->session->get('religion')? $this->session->get('religion'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Telephone:</td>
    <td class='value'><?php echo($this->session->get('telephone')? $this->session->get('telephone'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Email Address:</td>
    <td class='value'><?php echo($this->session->get('emailaddress')? $this->session->get('emailaddress'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Gender:</td>
    <td class='value'><?php echo($this->session->get('gender')? ucfirst($this->session->get('gender')): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Marital Status:</td>
    <td class='value'><?php echo($this->session->get('marital')? ucfirst($this->session->get('marital')): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Birth Day:</td>
    <td class='value'><?php echo($this->session->get('birthday')? $this->session->get('birthday'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Birth Place:</td>
    <td class='value'><?php echo($this->session->get('birthplace__addressline')? $this->session->get('birthplace__addressline').', '.($this->session->get('birthplace__county')? $this->session->get('birthplace__county').', ': '').$this->session->get('birthplace__district').', '.$this->session->get('birthplace__country'): '&nbsp;');?></td>
  </tr>
</table></td></tr>
     <tr><td style="padding-top:30px;">&nbsp;</td></tr>
     
     
     
     <tr><td class="greybg" style="padding-left:5px; vertical-align:top;"><div id="editstep2" class="editicon nextdiv" style="min-width:30px;"></div><div class="nextdiv h3" style="vertical-align:top; padding-top:2px;">Employment &amp; Contact Information</div></td></tr>
     <tr><td><table border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="previewlabel" style="width:150px;">Teacher File Number:</td>
    <td class='value'><?php echo($this->session->get('teacherid')? $this->session->get('teacherid'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Permanent Address:</td>
    <td class='value'><?php echo($this->session->get('permanentaddress')? $this->session->get('permanentaddress').', '.($this->session->get('permanentaddress__county')? $this->session->get('permanentaddress__county').', ': '').$this->session->get('permanentaddress__district').', '.$this->session->get('permanentaddress__country'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Contact Address:</td>
    <td class='value'><?php echo($this->session->get('contactaddress')? $this->session->get('contactaddress').', '.($this->session->get('contactaddress__county')? $this->session->get('contactaddress__county').', ': '').$this->session->get('contactaddress__district').', '.$this->session->get('contactaddress__country'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Country of Citizenship:</td>
    <td class='value'><?php echo($this->session->get('citizenship__country')? $this->session->get('citizenship__country'): '&nbsp;').($this->session->get('citizenship__citizentype')? " (".$this->session->get('citizenship__citizentype').")": '');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Teaching Qualification:</td>
    <td class='value'><?php echo($this->session->get('teacherQualCat')? $this->session->get('teacherQualCat'): '&nbsp;');?></td>
  </tr> 
  <tr>
    <td class="previewlabel">Title:</td>
    <td class='value'><?php echo($this->session->get('title')? $this->session->get('title'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">School:</td>
    <td class='value'><?php echo($this->session->get('emp_school')? $this->session->get('emp_school'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">EMIS Number:</td>
    <td class='value'><?php echo($this->session->get('emis')? $this->session->get('emis'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">Employment Category:</td>
    <td class='value'><?php echo($this->session->get('employmentCat')? $this->session->get('employmentCat'): '&nbsp;');?></td>
  </tr>
  <?php if(!empty($this->session->get('ipps'))){?>
  <tr>
    <td class="previewlabel">IPPS Number:</td>
    <td class='value'><?php echo($this->session->get('ipps')? $this->session->get('ipps'): '&nbsp;');?></td>
  </tr>
  <tr><?php }?>
    <td class="previewlabel">Region:</td>
    <td class='value'><?php echo($this->session->get('region')? $this->session->get('region'): '&nbsp;');?></td>
  </tr>
  <tr>
    <td class="previewlabel">District:</td>
    <td class='value'><?php echo($this->session->get('emp_district')? $this->session->get('emp_district'): '&nbsp;');?></td>
  </tr>  
  <tr>
    <td class="previewlabel">Subcounty:</td>
    <td class='value'><?php echo($this->session->get('emp_subCounty')? $this->session->get('emp_subCounty'): '&nbsp;');?></td>
  </tr>
</table></td></tr>
     <tr><td style="padding-top:30px;">&nbsp;</td></tr>
     
     
     
     
     <tr><td class="greybg" style="padding-left:5px; vertical-align:top;"><div id="editstep3" class="editicon nextdiv" style="min-width:30px;"></div><div class="nextdiv h3" style="vertical-align:top; padding-top:2px;">Education &amp; Qualifications</div></td></tr>
     <tr><td><div id="institution_list">
     <?php
     if ($this->session->get('education_list')) {
         echo view('addons/basic_addons', array('area'=>'education_list', 'mode'=>'preview'));
     } else {
         ?>
     <table border="0" cellspacing="0" cellpadding="0" class="resultslisttable">
     <tr><td>Education List</td></tr>
     <tr><td>No education added yet.</td></tr>
     </table>
     <?php
     }?>
     </div></td></tr>
     <tr><td>&nbsp;</td></tr>
     
     <tr><td><div id="subject_list">
     <?php
     if ($this->session->get('subject_list')) {
         echo view('addons/basic_addons', array('area'=>'subject_list', 'mode'=>'preview'));
     } else {
         ?>
     <table border="0" cellspacing="0" cellpadding="0" class="resultslisttable">
     <tr><td>Subjects Taught</td></tr>
     <tr><td>No subject added.</td></tr>
     </table>
     <?php
     }?>
     </div></td></tr>
     <tr><td>&nbsp;</td></tr>
     
     <tr><td><div id="document_list">
     <?php
     if ($this->session->get('document_list')) {
         echo view('addons/basic_addons', array('area'=>'document_list', 'mode'=>'preview'));
     } else {
         ?>
     <table border="0" cellspacing="0" cellpadding="0" class="resultslisttable">
     <tr><td>Qualification Documents</td></tr>
     <tr><td>No document added.</td></tr>
     </table>
     <?php
     }?>
     </div></td></tr>
     <tr><td style="padding-top:30px;">&nbsp;</td></tr>
     
     <tr>
      <td>
     <table width="100%" border="0" cellspacing="0" cellpadding="0" class='buttonnav'>
     <tr>
     <td><button type="button" name="backtostep3" id="backtostep3" class="greybtn back">BACK</button></td>
     <td class='spacefiller'>&nbsp;</td>
     <td>&nbsp;</td>
     <td><input type="submit" name="step4" id="step4" value="SUBMIT" class="btn" /></td>
     </tr>
     </table> 
      </td>
     </tr>
     </table>
     </form>
    </td>
  </tr>
  <?php echo view("addons/public_footer");?>
</table>


</body>
</html>