<?php
/* $Revision: 1.16 $ */

$PageSecurity = 15;

include('includes/session.inc');
$title = _('Monthly Attendance Checklist') . ' / ';
include('includes/header.inc');
?>

<table width="708" border="1">
<tr>
<th width="166"><? echo _('Employee Code'); ?></th>
<th width="1539"><? echo _('Employee Name'); ?></th>
<th width="111"><? echo _('Working days'); ?></th>
<th width="111"><? echo _('Holidays days'); ?></th>
<th width="111"><? echo _('CL'); ?></th>
<th width="111"><? echo _('EL'); ?></th>
<th width="111"><? echo _('SL'); ?></th>
<th width="111"><? echo _('Total'); ?></th>

</tr>
<?
$SQL ="select empcode,empname from empmaster";	
$result=DB_query($SQL,$db,$ErrMsg); 
while($resrow=DB_fetch_array($result)){?>
<tr class="tdclass">
<td><?=$resrow[empcode]?></td>
<td><?=$resrow[empname]?></td>
</tr>
<? }?>
</table>

<?
include('includes/footer.inc');
?>

<script type="text/javascript" src="javascripts/prototype.js"></script>
<script type="text/javascript">
function findgroupname(codevalue)
{
pars='gocode='+codevalue;
Url='selectname.php';
var myAjax = new Ajax.Request(
				Url, 
				{
				method: 'post', 
				parameters: pars, 
				onComplete: responsed
			});
										
	function responsed(XHR)		
	{		document.getElementById('qcgroupname').value = XHR.responseText;
			//document.body.style.cursor='default'; 
	} 
	
}	
</script>

<style type="text/css" >
.button{ background-color:#666666;
color: #FFFFFF;
height:25px;
margin:0px 5px 0px 5px;
border:1px solid #359CA2;
}

</style>