{@ $seekDay=str_replace("-","",$y."-".$m."-".str_pad($day,"2","0",STR_PAD_LEFT)); $hDay=$hdayInfo[$seekDay]; $seekNoWork=$m."-".str_pad($day,"2","0",STR_PAD_LEFT); } {@ $hdif = explode(",",$hDay); $hday_color=$hdif[1]; $hday_name=" ".$hdif[2]; } {@ $day_s = ""; $day_e=""; } {@ $hday_name=""; } {@ $hday_name=""; }

| 0)-->onclick="sel_day('{$y}','{$m}','{str_pad($day,"2","0",STR_PAD_LEFT)}',{$j},this)" valign=top data-id="{$day}">
{$day} {$day_s}{$hday_name}{$day_e} {$sungsu_str} {@ $udate=$y.$m.str_pad($day,"2","0",STR_PAD_LEFT); $resedCount=$cateCount[$udate][$cateInfo[$k][0]]; $totalRoomCount=$cateInfo[$k][2]; $leftCount=$totalRoomCount-$resedCount; $room_s_title=$cateInfo[$k][1]; $room_s_title=cut_str($room_s_title,(int)$etc_config->yskin['title_length']); } {$room_s_title} ({$leftCount}/{$totalRoomCount})