{@
$y = $info->setyear;
$m =$info->setmonth;
$d="01";
$nextMonth= date("m",strtotime($y."-".$m."-".$d."+1 month" ));
$nextYear= date("Y",strtotime($y."-".$m."-".$d."+1 month" ));
$prevMonth= date("m",strtotime($y."-".$m."-".$d."-1 month" ));
$prevYear= date("Y",strtotime($y."-".$m."-".$d."-1 month" ));
$thisY=date("Y");
$thisM =date("m");
$thisD =date("d");
$firstday = mktime(0,0,0,$m,1,$y);//첫날 time
$startday = date('w',$firstday); /// 그달의 첫날 요일
$endday = date('t',$firstday); /// 그 달에 마지막날
$day_e = "";
$p1=(int)$prevYear.$prevMonth;
$p2=(int)$thisY.$thisM;
}
* 예약에 필요한 기본 설정이 없습니다. 관리자 페이지에서 예약 모듈을 설정해 주세요.
date_range 나의 예약 현왕
|
|
| 일 |
월 |
화 |
수 |
목 |
금 |
토 |
{@
$day++;
}
{@
$todate = date("Y-m-d", time());
$isday=$y."-".$m."-".$day;
$ddy = ( strtotime($isday) - strtotime($todate) );
}
{@
$day_s= "";
}
{@
$day_s= "";
}
{@
$day_s= "";
$day_e="";
}
{@
$bgcolor="";
$ddy=1;
}
{@
$bgcolor="";
$tdclass="";
}
{$day_s}{$day}{$day_e} {$sungsu1_str}{$sungsu2_str}{$sungsu3_str} |
|
|
|