{include file="$gentemplates/_header.tpl"}
<br />
<table cellpadding="0" cellspacing="0" border="0"><tr><td>&nbsp;&nbsp;</td><td>
  <table cellpadding="0" cellspacing="1" border="0">
    <tr>
      <td class="category" height="18" align="center" valign="middle" colspan="{$num_of_cells}">
	{$temp_collisionheader}&nbsp;{$datum}
      </td>
    </tr>
    {section name=rows2 loop=$rowhead}
    <tr>	
      <td class="heute" width="200" height="20">&nbsp;</td>
      {section name=cols2 loop=$rowhead[rows2].dates}
      {if $rowhead[rows2].dates[cols2].mins eq 0}
      <td colspan="{$col_grp}" class="heute" align="center">
	{$rowhead[rows2].dates[cols2].hour}
      </td>
      {/if}
      {/section}
    </tr>
    <tr>	
      <td class="heute" width="200" height="20">&nbsp;{$rowhead[rows2].name}</td>	
      {section name=cols2 loop=$rowhead[rows2].dates}
      <td class="heute" align="center">
	{$rowhead[rows2].dates[cols2].mins}
      </td>
      {/section}
    </tr>
    {/section}
    
    {section name=rows loop=$rows}
    <tr class="tab">	
      <td class="tab" width="200" height="20">&nbsp;{$rows[rows].name}</td>	
      {section name=cols loop=$rows[rows].dates}
      <td width="20" {if $rows[rows].dates[cols].value eq 0}class="wochenende"{elseif $rows[rows].dates[cols].value eq 1}class="feiertag"{/if}>
	&nbsp;
      </td>
      {/section}
    </tr>
    {/section}
  </table>
</td></tr></table>
</body>
</html>
