<html {$html_attrs}>
<head>
<title>Attendance</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border:none;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid black 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
#selpage{margin-left:30px;}
</style> 
</head>
<body style="background-color:white">
{BEGIN body}
{$header}
{BEGIN page}

<h1>Attendance</h1>
{BEGIN page_number}
<div id='selpage'>Page {$pageno} of {$maxpages} </div>
{END page_number}

{BEGIN grid_block}

<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_header}
<tr>
{BEGIN record_header}
{BEGIN idattendance_table_fieldheadercolumn}
	<td>
{BEGIN idattendance_table_fieldheader}
	<b>Idattendance Table</b>
{END idattendance_table_fieldheader}
	</td>
{END idattendance_table_fieldheadercolumn}
{BEGIN Employee_Name_fieldheadercolumn}
	<td>
{BEGIN Employee_Name_fieldheader}
	<b>Employee Name</b>
{END Employee_Name_fieldheader}
	</td>
{END Employee_Name_fieldheadercolumn}
{BEGIN punchedtime_fieldheadercolumn}
	<td>
{BEGIN punchedtime_fieldheader}
	<b>Punchedtime</b>
{END punchedtime_fieldheader}
	</td>
{END punchedtime_fieldheadercolumn}
{BEGIN Dateandtime_fieldheadercolumn}
	<td>
{BEGIN Dateandtime_fieldheader}
	<b>Dateandtime</b>
{END Dateandtime_fieldheader}
	</td>
{END Dateandtime_fieldheadercolumn}
{BEGIN Remarks_fieldheadercolumn}
	<td>
{BEGIN Remarks_fieldheader}
	<b>Remarks</b>
{END Remarks_fieldheader}
	</td>
{END Remarks_fieldheadercolumn}
{BEGIN endrecordheader_block}
	<td class="gridspacing">&nbsp;</td>
{END endrecordheader_block}
{END record_header}
</tr>
{END grid_header}
{BEGIN grid_row}
<tr valign=top {$rowstyle} {$rowattrs}>
{BEGIN grid_record}
{BEGIN idattendance_table_fieldcolumn}
<td {$idattendance_table_style}>
{$idattendance_table_value}
</td>
{END idattendance_table_fieldcolumn}
{BEGIN Employee_Name_fieldcolumn}
<td {$Employee_Name_style}>
{$Employee_Name_value}
</td>
{END Employee_Name_fieldcolumn}
{BEGIN punchedtime_fieldcolumn}
<td {$punchedtime_style}>
{$punchedtime_value}
</td>
{END punchedtime_fieldcolumn}
{BEGIN Dateandtime_fieldcolumn}
<td {$Dateandtime_style}>
{$Dateandtime_value}
</td>
{END Dateandtime_fieldcolumn}
{BEGIN Remarks_fieldcolumn}
<td {$Remarks_style}>
{$Remarks_value}
</td>
{END Remarks_fieldcolumn}
{BEGIN endrecord_block}
<td class="gridspacing">&nbsp;</td>
{END endrecord_block}
{END grid_record}
</tr>
{END grid_row}
<!-- totals row -->
</table>
{END grid_block}
{END page}
{$footer}
{END body}
</body>
</html>