<html>
<head>
<title>##@TABLE.strCaption h##</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 table {border-collapse: collapse;}
.grid_block table 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}
{BEGIN page}
{$header}
##if @TABLE.arrMasterTables.len##
{BEGIN mastertable_block}
<div id="mastertable_block">
{$showmasterfile}
</div>
{END mastertable_block}
##endif##

<h1>Season {$row00YearCalendarvalue}</h1>
{BEGIN grid_block}

<table align="center" width="95%" border="0" cellpadding=3 cellspacing=2>
<tr>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Sunday</b></td></tr></table></td>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Monday</b></td></tr></table></td>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Tuesday</b></td></tr></table></td>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Wednesday</b></td></tr></table></td>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Thursday</b></td></tr></table></td>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Friday</b></td></tr></table></td>
<td><table class=blackshade height=30 width=120><tr><td align=center valign=middle><b>Saturday</b></td></tr></table></td>
</tr>
##repeat 6 @i##
<tr>
##repeat 7 @j##
<td>
{BEGIN row00##eval (@i-1)*7+@j##Datevalue}
<table height=150 width=120 border=1>
<tr><td height=20 class=shade align=right><b>{$row00##eval (@i-1)*7+@j##Datevalue}</b>&nbsp;&nbsp;</td></tr>
<tr><td align=center valign=middle>
&nbsp;{$row00##eval (@i-1)*7+@j##Dayvalue}&nbsp;</td></tr></table>
{END row00##eval (@i-1)*7+@j##Datevalue}
</td>
##endrepeat##
</tr>
##endrepeat##
</table>
{END grid_block}
{$footer}
{END page}
{END body}
</body>
</html>