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

$PageSecurity = 15;

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

<table width="100%" border="1">
<tr>
<th width="5%"><? echo _('Employee Code'); ?></th>
<th width="25%"><? echo _('Employee Name'); ?></th>
<th width="25%"><? echo _('Employee Husband/Fathers Name'); ?></th>
<th width="35%"><? echo _('Address'); ?></th>
<th width="111"><? echo _('Basic'); ?></th>
<th width="111"><? echo _('HRA'); ?></th>
<th width="111"><? echo _('Conveyance'); ?></th>
<th width="111"><? echo _('Child Education'); ?></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>