<link rel="stylesheet" href="css/new_mxerp.css">
<div class="body_contain">
<div class="tab_div">
<?php //echo $rurl;?>
<h3 align="center">Return of Employees Qualifying for Membership of the Employees</h3>
<p align="left"><a href="index.php?route=HRModule/statutory_forms/form_5<?php echo $rurl;?>"><input type="button" class="search" value="Add New" /></a></p>

<table width="100%" border="0" cellpadding="3" cellspacing="0" class="thborder">
<tr>
	<th width="4%">S. No.</th>
	<th>Name &amp; Address of the</th>
	<th width="18%">Factory / Establishment<br />	with Code No./ DL</th>
	<th width="14%">Establishment Name</th>
	<th width="9%">Month</th>
	<th width="7%">Date</th>
	<th width="4%" class="text-center">View</th>
	<th width="4%" class="text-center">Edit</th>
	<th width="4%" class="text-center">Delete</th>
</tr>
<?php
$sql=DB_query("Select * from hr_form5",$db);	
$i=1;
$num=DB_num_rows($sql);
if($num>0)
{
while($myrow=DB_fetch_array($sql))
{
?>
<tr onmouseover="this.style.backgroundColor='#fffeb3'; this.style.color='#00f';" onmouseout="this.style.backgroundColor='#FFF'; this.style.color='#000000';">
	<td><?php echo  $i;?></td>
	<td><?php echo $myrow['factory_name'];?></td>
	<td><?php echo $myrow['factory_address'];?></td>
	<td><?php echo $myrow['establishment_name'];?></td>
	<td><?php echo $myrow['provid_fund_month'];?></td>
	<td><?php echo $myrow['date'];?></td>
	<td class="text-center"><a href="index.php?route=view_employees_provident_fund&modid=<?php echo $_REQUEST['modid'];?>&frmid=<?php echo $_REQUEST['frmid'];?>&action=edit&Id=<?php echo $myrow['id'];?>"><img src="images/search.gif" height="15" width="15"></a></td>
	<td class="text-center"><a href="index.php?route=edit_provident_fund&modid=<?php echo $_REQUEST['modid'];?>&frmid=<?php echo $_REQUEST['frmid'];?>&action=edit&Id=<?php echo $myrow['id'];?>"><img src="images/icon-edit.png" height="15" width="15"></a></td>
	<td class="text-center"><a href=""><img src="images/Icon_Delete.png" height="15" width="15"></a></td>
</tr>
<?php $i++;}}
else { ?>
<tr>
	<td colspan="12">No Records Found</td>
</tr>
<?php }   ?>
	
</table>
</div>
</div>