include "../cdbcon.inc";
function get_totaldays1($year,$month) {
$date = 1;
while(checkdate($month,$date,$year)) {
$date++;
}
$date--;
return $date;
}
$_ctime = time();
if(!$year)$year = date("Y",$_ctime);
if(!$month)$month = date("n",$_ctime);
$next_year = $year;
$prev_year = $year;
$next_month = $month + 1;
$prev_month = $month - 1;
if($month == 12){
$next_year = $year + 1;
$next_month = 1;
}else if($month == 1){
$prev_year = $year - 1;
$prev_month = 12;
}
$date = 1;
while(checkdate($month,$date,$year)) {
$date++;
}
$date--;
$total_days = $date;
//----------------------------------- ÇØ´ç¿¬¿ùÀÇ ´Þ·ÂÀ» Ãâ·ÂÇÑ´Ù.
$first_day = date('w', mktime(0,0,0,$month,1,$year));
?>
include "../left.html";?>
|
|
include "../bottom.html"; ?>