"; $blank++; } $endTr = $blank; while ($day <= $daysInMonth) { $dt = implode('-', array($y, $m, $day)); $class = ''; if ($dt == $today) $class = 'class="today"'; echo ""; $day++; if ($endTr == 7) { echo ""; echo ""; $endTr = 0; } $endTr++; } while ($endTr >1 && $endTr <=7) { echo ""; $endTr++; } if ($endTr != 7) { echo ""; } ?>
< Prosinec / 2020 >
PO UT ST CT PA SO NE
$day