} ?> <?php if (($i == 1 && $startday == $j || $day > 0) && $day < $endday) { $day++; ?> <?php if (Skin_ExisCal($onday)) { ?> <b style='color:black;'><u><?php } ?> <?php $thisDnexp[1] = $thisDnexp[2] = $thisMnexp[1] = $thisMnexp[2] = ''; $thisDname = getSdate($cal_month . $pday); $thisMname = getMdate(substr(moon($cal_year, $cal_month, $pday), 4, 4)); if ($thisDname) { $thisDnexp = explode('=', $thisDname); } if ($thisMname) { $thisMnexp = explode('=', $thisMname); } ?> <a style='cursor:pointer;' onclick="SkinViewCal('<?php echo $cal_year; ?> ','<?php echo $cal_month; ?>
<tr><td colspan=3 height=1 bgcolor=dfdfdf><img src='./image/blank.gif' width=1 height=1></td></tr> <?php $week = array("<font color=red>日</font>", "月", "火", "水", "木", "金", "<font color=blue>土</font>"); $sday = date("Ymd", mktime(0, 0, 0, $cal_month, $cal_day - date("w", mktime(0, 0, 0, $cal_month, $cal_day, $cal_year)), $cal_year)); $syear = substr($sday, 0, 4); $smonth = substr($sday, 4, 2); $sday = substr($sday, 6, 2); for ($i = 0; $i < 7; $i++) { $nsday = date("Ymd", mktime(0, 0, 0, $smonth, $sday + $i, $syear)); $RCD_DATA = SkinViewSchedule($nsday); if (db_num_rows($RCD_DATA)) { $x++; $thisDnexp[1] = $thisDnexp[2] = $thisMnexp[1] = $thisMnexp[2] = ''; $thisDname = getSdate(substr($nsday, 4, 4)); $thisMname = getMdate(substr($nsday, 4, 4)); if ($thisDname) { $thisDnexp = explode('=', $thisDname); } if ($thisMname) { $thisMnexp = explode('=', $thisMname); } ?> <tr align=center height=50> <td width=100 nowrap> <font color=gray><b><?php echo substr($nsday, 4, 2); ?> 월 <?php