<!--Notice: (c)2013 This page is part of the management program for Tlhomeso Timbers, Gaborone, 
and developed by Customized Software (Pty) Ltd, Gaborone, Botswana. 
Customized Software holds the copyright on the source code on this and all other pages in the 
management program. For more info contact Customized Software on email: info@bwcustomized.com-->

<head>
<script language="JavaScript" src="../jscript/gen_validatorv4.js"  type="text/javascript" xml:space="preserve"></script>
</head>

<body>
<?php 
$page_name = "HR-leave";
include ("../navigation/access.php");
if ($permission_num==1) {
	 
	?>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<form id="form1" name="form1" method="get" action="leaveWizbase.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:</label><label class="star"> *</label>&nbsp;&nbsp;&nbsp;<br>
        
          <label class="label_std">
            <input type="radio" name="first_choice" value="give" id="first_choice_0" <?php if ($_SESSION['first_choice'] == "give") { ?> checked="checked" <?php } ?> >
            give leave days</label><br>
          <label class="label_std">
            <input type="radio" name="first_choice" value="take" id="first_choice_1" <?php if ($_SESSION['first_choice'] == "take") { ?> checked="checked" <?php } ?> >
            take leave days</label>
          <br>
          <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">
              <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" />
            </td>
            <td width="125"><input name="cancelbutton" type="button" class="imagebutton" id="cancelbutton" onClick="needToConfirm = false; confirmRefresh();" 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>
<!--form validation-->
<script language="JavaScript" type="text/javascript" xml:space="preserve">
  var frmvalidator  = new Validator("form1");
  frmvalidator.EnableMsgsTogether();
  frmvalidator.addValidation("first_choice","selone","Please select option.");
  
  </script>
</body>
<?php } else { 
    $_SESSION['denied_return'] = "hr_module/hr_main.php?date=";	?>
	<body onLoad="accessdenied(); return false">
</body>
<?php }
?>