

<?php 
$page_name = "HR-edit";
include ("../navigation/access.php");


if ($permission_num==1) {
	 
	?>


<body>
<div class="page_middle_frame">
<form id="form1" name="form1" method="get" action="editWizbase.php">
  <table width=595 border="0" align="center" cellpadding="10" cellspacing="0" bordercolor="#0066FF" border-collapse="collapse">
    <tr>
      <td width="525" >
        
     
        <div class="wizard_frame">
          <label class="label_std">Select what to edit:</label><label class="star"> *</label>&nbsp;&nbsp;&nbsp;<br>
        
          <label class="label_std">
            <input type="radio" name="first_choice" value="employee" id="first_choice_0" <?php if ($_SESSION['first_choice'] == "employee") { ?> checked="checked" <?php } ?> >
            employee details</label><br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="time" id="first_choice_1" <?php if ($_SESSION['first_choice'] == "time") { ?> checked="checked" <?php } ?> >
          time keeping</label>
          <br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="" id="first_choice_2"  >
          </label>
          <br>
        </div></td>
    </tr>
    <tr>
      <td><table width="675" height="50" align="center" id="table_button_bar">
          <tr>
            <td width="117">&nbsp;</td>
            <td width="115">&nbsp;</td>
            <td width="99"><span class="wizard">
              <input name="p" type="hidden" id="p" value="1" />
              <input name="error" type="hidden" id="error" value="0" />
              <input name="s" type="hidden" id="s" value="1" />
            </span></td>
            <td width="125"><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="110" align="right"><input type="submit" name="next_button" class="imagebutton" value="Next" onClick="needToConfirm = false; " /></td>
          </tr>
        </table></td>
    </tr>
  </table>
 </form>
 </div>
<!--form validation-->
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("first_choice","selone","Please make a selection.");
  
  </script>
<?php } else { 
    $_SESSION['denied_return'] = "hr_module/hr_main.php?date=";	?>
	<body onLoad="accessdenied(); return false">
</body>
<?php }
?>