PHP日历控件代码 $year = @$_GET['year']; //获得链接的年份 $month = @$_GET['month']; //获得链接的月份 if (empty ($year)) $year = date("Y"); //初始化为本年度的年份 if (empty ($month)) $month =