
<?php 
$table_name = $_SESSION['db_prefix']."_employee";
$name_query = "SELECT emp_first_name, emp_last_name  FROM $table_name WHERE emp_id = '".$_SESSION['emp_id']."'  ";
$name_result = mySQL_query($name_query);
$name_num = mysql_num_rows($name_result);
$emp_first_name = mysql_result($name_result, 0, "emp_first_name");
$emp_last_name = mysql_result($name_result, 0, "emp_last_name");

?>
</head>

<?php include('../include/wait.php') ?>
<body onLoad="MM_showHideLayers('wait','','hide')" onFocus="MM_showHideLayers('wait','','hide');">

<div class="wizard_page_middle_frame">
<form id="feedbackform" method="get" action="commentWiz6.php" >
<div class="wizard_frame">
<table width="670" align="center" id="table_resume_wizard" >
              <tr>
                <td width="112" align="left" valign="top"><span class="wizard">Employee name:</span></td>
                <td colspan="2" align="left" valign="top"><strong><span class="wizard"><?php echo $emp_first_name." ".$emp_last_name ?></span></strong></td>
                <td align="left" valign="top">(<?php echo $_SESSION['emp_id'] ?>)</td>
              </tr>
              <tr>
                <td align="left" valign="top">Date:</td>
                <td width="198" align="left" valign="top"><?php echo date("d-m-Y", strtotime($_SESSION['note_date'] )) ?></td>
                <td width="130" align="left" valign="top">Entered  by:</td>
                <td align="left" valign="top"><?php echo $_SESSION['username'] ?></td>
              </tr>
              <tr>
                <td colspan="4" align="left" valign="top">&nbsp;</td>
              </tr>
              <tr>
                <td align="left" valign="top">Note:</td>
                <td colspan="3" align="left" valign="top"><?php echo $_SESSION['note_text'] ?></td>
              </tr>
            </table>
     </div>
     <div class="wizard_spacer_frame" style="height:70px;"></div>

            <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="640" 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','commentWizbase.php?s=&amp;p=2');return document.MM_returnValue; MM_showHideLayers('wait','','show');" /></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'); MM_showHideLayers('wait','','show');" value="Cancel" /></td>
                  <td width="125" align="right"><input type="submit" name="new_button" class="imagebutton" id="new_button" value="New" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');" /></td>
                  <td width="110" align="right"><input  name="finish_button" type="submit" class="imagebutton" id="finish_button" value="Finish" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');"  /></td>
                </tr>
              </table>
              </div>
  
</form>
</div>
