<style>
.main_frame {
	height:815px;	
}
</style>

<script type="text/javascript">
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
</script>
<div class="wizard_page_middle_frame">
<form id="feedbackform" method="get" action="employeeWiz6.php" >

  <div class="wizard_frame">
      Personal details
        <table width="650" id="table_details_display">
          <tr>
            <td>Employee number:</td>
            <td><strong><?php echo $_SESSION['emp_no'] ?></strong></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td width="123"><span class="wizard">Employee name:</span></td>
            <td width="205"><strong><span class="wizard"><?php echo $_SESSION['last_name'] ?></span></strong></td>
            <td width="109">First name:</td>
            <td width="213"><?php echo $_SESSION['first_name'] ?></td>
          </tr>
          <tr>
            <td><span class="wizard">Date of birth:</span></td>
            <td><?php echo date("d-m-Y", strtotime($_SESSION['birth_date'])) ?></td>
            <td><span class="wizard">id number:</span></td>
            <td><?php echo $_SESSION['id_number'] ?></td>
          </tr>
          </table>
      </div>
        <br />
        <br />
        <div class="wizard_frame">
        Employment details<br />
          <table width="650" id="table_details_display">
            <tr>
              <td width="126">Employment date:</td>
              <td width="202"><?php echo date("d-m-Y", strtotime($_SESSION['employ_date'] )) ?></td>
              <td width="107">Rate / salary:</td>
              <td width="145"><?php echo $_SESSION['rate'] ?></td>
              <td width="66">per
                <?php $p=$_SESSION['pay_unit']; echo $p ?></td>
            </tr>
            <tr>
              <td>Time keeping:</td>
              <td><?php echo $_SESSION['time_keeping'] ?></td>
              <td>Pay period:</td>
              <td colspan="2"><?php echo $_SESSION['pay_period'] ?></td>
            </tr>
            <tr>
              <td>Department:</td>
              <td><?php echo $_SESSION['department'] ?></td>
              <td>Position:</td>
              <td colspan="2"><?php echo $_SESSION['position'] ?></td>
            </tr>
          </table>
        </div>
        <br />
        <br />
        <div class="wizard_frame">
        Address details<br />
          <table width="650" id="table_details_display">
            <tr>
              <td width="128">Postal address:</td>
              <td width="200"><?php echo $_SESSION['bag_box']." ".$_SESSION['box_no'] ?></td>
              <td width="111">Place:</td>
              <td width="211"><?php echo $_SESSION['post_place'] ?></td>
            </tr>
            <tr>
              <td>Physical address:</td>
              <td><?php echo $_SESSION['phys_address'] ?></td>
              <td>Place:</td>
              <td><?php echo $_SESSION['phys_place'] ?></td>
            </tr>
          </table>
        </div>
        <br />
        <br />
        <div class="wizard_frame">
        Contact details<br />
          <table width="650" id="table_details_display">
            <tr>
              <td width="127">Phone:</td>
              <td width="202"><?php echo $_SESSION['phone'] ?></td>
              <td width="106">Country:</td>
              <td width="215"><?php echo $_SESSION['country'] ?></td>
            </tr>
            <tr>
              <td>e-mail:</td>
              <td><?php echo $_SESSION['email'] ?></td>
              <td>Cell:</td>
              <td><?php echo $_SESSION['cell'] ?></td>
            </tr>
            <tr>
              <td>emergency contact:</td>
              <td><?php echo $_SESSION['emergency_name'] ?></td>
              <td>emergency tel:</td>
              <td><?php echo $_SESSION['emergency_phone'] ?></td>
            </tr>
          </table>
        </div>
        <div class="wizard_frame">
        Miscelaneous<br />
          <table width="650" id="table_details_display">
            <tr>
              <td width="127">clothing size:</td>
              <td width="204"><?php echo $_SESSION['clothing_size'] ?></td>
              <td width="107">shoe size:</td>
              <td width="212"><?php echo $_SESSION['shoe_size'] ?></td>
            </tr>
            <tr>
              <td>bank:</td>
              <td><?php echo $_SESSION['bank'] ?></td>
              <td>branch:</td>
              <td><?php echo $_SESSION['branch'] ?></td>
            </tr>
            <tr>
              <td>Account number:</td>
              <td><?php echo $_SESSION['bank_account'] ?></td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td>Notes:</td>
              <td><?php echo $_SESSION['notes'] ?></td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
        </div>
        <br />
        

        <div class="wizard_frame">
          <label class="label_std">If you want to make changes use the 'Prev' button to go back. <br />
            Click 'New' to make a new entry or to finish the wizard click 'Finish'.</label>
        </div>
        <div class="wizard_frame">
        <table width="645" height="50" align="center" id="table_button_bar">
        <tr>
          <td width="117"><input type="button" name="lastprev_button" class="imagebutton" value="Prev" onclick="needToConfirm = false;MM_goToURL('parent','employeeWizbase.php?s=6&amp;p=4');return document.MM_returnValue" /></td>
          <td width="115"><input name="s" type="hidden" id="s" value="5" />
            <input name="p" type="hidden" id="p" value="5" /></td>
          <td width="99"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onclick="needToConfirm = false; cancel_confirmation(1, '../hr_module/hr_main.php?date=0');" value="Cancel" /></td>
          <td width="125" align="right"><input type="submit" name="new_button" class="imagebutton" id="new_button" value="New" onclick="needToConfirm = false; " /></td>
          <td width="110" align="right"><input  name="finish_button" type="submit" class="imagebutton" id="finish_button" value="Finish" onclick="needToConfirm = false;MM_showHideLayers('finish_button','','hide')"  /></td>
        </tr>
      </table>
  </div>
</form>
</div>
