Fork me on GitHub
<'; else echo '<'; echo ''.$year.''; if ($next_year !== null) echo '>'; else echo '>'; ?>
'."\n"; for ($j=0; $j<5; $j++) { $day = $assocdays[$i*5+$j]; if ($day === null) echo ''.($i*5+$j+1).''."\n"; else echo ''.($i*5+$j+1).''."\n"; } echo '
'."\n"; } ?>