<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--style sheets-->
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<!--jscript-->
<script language="JavaScript" src="../jscript/go_to_url.js"  type="text/javascript"></script> 
<link rel="stylesheet" type="text/css" href="../css/tabs.css" />
<?php
include('../include/session.php');
$current_month = date("m");
$current_year = date("Y");
?>

</head>

<body>
<?php
include ("../navigation/header.php");
$page_name = "HR-main";
include ("../navigation/access.php");
if ($permission_num==1) {
	include ("../navigation/hr_sidebar.php");?>


<div class="main_frame">
<table width="630" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="52" colspan="4" align="left" valign="top"><div class="page_head_frame">
        <table width="630" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="385"><label class="label_page_head">Time registers</label></td>
            <td align="right">&nbsp;</td>
          </tr>
        </table>
      </div>
       <br />
<br /><br />
<br />
<br />
<br />

<div class="page_middle_frame">
  <ul class="tabs">
    <li>
      <input type="radio" checked name="tabs" id="tab1">
      <label for="tab1">Attendance</label>
      <div id="tab-content1" class="tab-content animated fadeIn"> 
     <input name="job_button2" type="button" class="imagebutton" id="job_button2" onclick="MM_goToURL('parent','month_attendance_list.php?current_month=<?php echo $current_month ?>&current_year=<?php echo $current_year?>');return document.MM_returnValue" value="Month register" />
  &nbsp;&nbsp;
  <input name="job_button8" type="button" class="imagebutton" id="job_button10" onclick="MM_goToURL('parent','period_attendance_list.php?date=');return document.MM_returnValue" value="Period register" />
  &nbsp;&nbsp;&nbsp;
<input name="job_button" type="button" class="imagebutton" id="job_button" onclick="MM_goToURL('parent','attendance_list.php?date=2&emp_id=');return document.MM_returnValue" value="Attendance register" />
  &nbsp;&nbsp;&nbsp;&nbsp;
<input name="job_button3" type="button" class="imagebutton" id="job_button3" onclick="MM_goToURL('parent','view_time_report_select.php?page=attendance');return document.MM_returnValue" value="Attendance register employee" />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      </div>
    </li>
    <li>
      <input type="radio" name="tabs" id="tab2">
      <label for="tab2">Overtime</label>
      <div id="tab-content2" class="tab-content animated fadeIn">
     <input name="job_button4" type="button" class="imagebutton" id="job_button4" onClick="MM_goToURL('parent','overtime_list.php?date=0');return document.MM_returnValue" value="Overtime register" />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input name="job_button5" type="button" class="imagebutton" id="job_button5" onclick="MM_goToURL('parent','view_time_report_select.php?page=attendance');return document.MM_returnValue" value="Overtime register employee" />       
      </div>
    </li>
    <li>
      <input type="radio" name="tabs" id="tab3">
      <label for="tab3">Late</label>
      <div id="tab-content3" class="tab-content animated fadeIn">
     <input name="job_button6" type="button" class="imagebutton" id="job_button6" onclick="MM_goToURL('parent','late_list.php?date=4&emp_id=');return document.MM_returnValue" value="Late register" />
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  <input name="job_button6" type="button" class="imagebutton" id="job_button7" onclick="MM_goToURL('parent','view_time_report_select.php?page=late');return document.MM_returnValue" value="Late register employee" />  
      </div>
    </li>
   <li>
      <input type="radio" name="tabs" id="tab4">
      <label for="tab4">Absenteeism</label>
      <div id="tab-content4" class="tab-content animated fadeIn">
    <input name="job_button7" type="button" class="imagebutton" id="job_button8" onclick="MM_goToURL('parent','absenteism_list.php?date=4&emp_id=');return document.MM_returnValue" value="Absenteism register" />
  &nbsp;&nbsp;&nbsp;
<input name="job_button7" type="button" class="imagebutton" id="job_button9" onclick="MM_goToURL('parent','view_time_report_select.php?page=absent');return document.MM_returnValue" value="Absenteism register employee" />   
      </div>
    </li> 
  </ul>
  <br />


</div>
    </td>
    </tr>
    </table>
</div>

<?php include ('../navigation/side_bar.php'); ?>


<?php } else {
    $_SESSION['denied_return'] = "store/store_main.php";	
    include ("../navigation/hr_sidebar.php");?>
    <?php include ('../navigation/side_bar.php'); ?>
	<body onLoad="accessdenied(); return false">	
	</body>
<?php }
?>
</html>
</body>