<head>
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
</head>
<body>
<?php 
$page_name = "HR-timekeeping";
include ("../navigation/access.php");


if ($permission_num==1) {
	 
	?>
<div class="wizard_page_middle_frame">
<form id="form1" name="form1" method="get" action="timeRecordingWizbase.php">
    <div class="wizard_frame">
          <label class="label_std">Select what to record:</label><label class="star"> *</label>&nbsp;&nbsp;&nbsp;<br>
        
          <label class="label_std">
            <input type="radio" name="first_choice" value="clock_in" id="first_choice_0" <?php if ($_SESSION['first_choice'] == "clock_in") { ?> <?php } ?> >
            clock in</label><br>
          <label class="label_std">
<input type="radio" name="first_choice" value="clock_out" id="first_choice_1" <?php if ($_SESSION['first_choice'] == "clock_out") { ?> <?php } ?>  >
clock out</label>
          <br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="overtime" id="first_choice_2"  >
          overtime</label>
          <br>
          <br>
<br><label class="label_std">
            <input type="radio" name="first_choice" value="forgot_in" id="first_choice_0" <?php if ($_SESSION['first_choice'] == "forgot_in") { ?> <?php } ?> >
            postponed clock in</label> 
<br>
          <label class="label_std">
<input type="radio" name="first_choice" value="forgot_out" id="first_choice_1" <?php if ($_SESSION['first_choice'] == "forgot_out") { ?> <?php } ?>  >
postponed clock out</label>
          <br>
    </div>
        <div class="wizard_spacer_frame" style="height:130px;"></div>
      <div class="wizard_frame">
      <table width="606" height="50" align="center" id="table_button_bar">
          <tr>
            <td width="128">&nbsp;</td>
            <td width="126">&nbsp;</td>
            <td width="115"><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="130"><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="122" align="right"><input type="submit" name="next_button" class="imagebutton" value="Next" onClick="needToConfirm = false; " /></td>
          </tr>
        </table>
    </div>
 </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 }
?>