Beispiel #1
0
 function calendars()
 {
     echo new_calendar(date('m', time()), date('Y', time()));
     echo new_calendar(date('m', strtotime('+1 month')), date('Y', strtotime('+1 month')));
 }
Beispiel #2
0
function calendars()
{
    echo new_calendar(date('m', time()), date('Y', time()));
    for ($i = 1; $i <= 12; $i++) {
        echo new_calendar(date('m', strtotime('+' . $i . ' month')), date('Y', strtotime('+' . $i . ' month')));
    }
}