<!--style sheets-->
<link rel="stylesheet" type="text/css" href="../css/wizard.css" />
<link href="../css/wait.css" rel="stylesheet" type="text/css">
<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]+"'");
}
</script>
</head>

<body onLoad="MM_showHideLayers('wait','','hide')" onFocus="MM_showHideLayers('wait','','hide');">
<?php
$page_name = "HR-discipline";
include ("../navigation/access.php");

if ($permission_num==1) {
	 include('../include/wait.php') 
?>

<div class="wizard_page_middle_frame">
<form id="form1" name="form1" method="get" action="commentWizbase.php">
  <div class="wizard_frame">
  Enter note:<br>
  <textarea name="note_text" cols="80" rows="5" class="text_box"><?php echo $_SESSION['note_text'] ?></textarea></div>  
 <div class="wizard_spacer_frame" style="height:120px;"></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=1');return document.MM_returnValue; MM_showHideLayers('wait','','show');return document.MM_returnValue" /></td>
            <td width="115">&nbsp;</td>
            <td width="99">
              <input name="p" type="hidden" id="p" value="2" />
              <input name="error" type="hidden" id="error" value="0" />
              <input name="s" type="hidden" id="s" value="2" />
           </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'); MM_showHideLayers('wait','','show');" value="Cancel" /></td>
            <td width="110" align="right"><input type="submit" name="next_button" class="imagebutton" value="Next" onClick="needToConfirm = false; MM_showHideLayers('wait','','show');" /></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("warning_radio_group","selone","- type of warning.");
  frmvalidator.addValidation("offence_select","req","- offence for this warning.");
  </script>
<?php } else { 
    $_SESSION['denied_return'] = "hr_module/hr_main.php?date=";	?>
	<body onLoad="accessdenied(); return false">
</body>
<?php }
?>