";
$tmpfld_1 = null;
$outtext = null;
}
{@ $Calmain_DD=null;}
{@
$tbl_html .= "
";// 빈 날자 레이블 출력
$tbl_html .= "
";// 첫주 장기일정 콘테이너
}
{@
$tempday=$Calmain_DD;
$tmparr_lunar=explode(",",$Lunarday[$Calmain_MM][$Calmain_DD]);//음력날자(2014-07-01 "-"를 ","로변경)
}
{@ $youndal = "윤";}{@ $youndal = null;}
{@
$tmpfld_lunar ="(".$youndal.$tmparr_lunar[1]."-".$tmparr_lunar[2].")";
$tmparr_islam=explode("-",$Islamicday[$Calmain_MM][$Calmain_DD]);
$tmpfld_islamicday ="(".$tmparr_islam[1]."-".$tmparr_islam[2].")";//이슬람력날자
$tmparr4=explode("-",$Holiday[$Calmain_MM][$Calmain_DD]);// 공휴일
$tmparr5=explode("-",$Memday[$Calmain_MM][$Calmain_DD]);// 기념일
$tmparr6=explode("|#Ø#|",$arr_plan[$Calmain_MM][$Calmain_DD]);// 일정/플랜 1차 "|#Ø#|",로 분리
}
{@ $tmparr2=explode("-",$GanjiJeolki[$Calmain_MM][$Calmain_DD]);}
{@ $tmparr2=explode("-",$GanjiJeolki_2[$Calmain_MM][$Calmain_DD]);}
{@ $tmp_dsp_mmdd = $Calmain_MM."/".$Calmain_DD;}
{@ $tmp_dsp_mmdd = $Calmain_DD;}
{@ $WDay_seq = ($firstDayOfWeek + $j) % 7;}
{@ $tmp_weekNo = "(".date("W", strtotime($Calmain[$i][$j])).")"; //몇주차 }
{@ $wrkfld_weekNo = "
".$tmp_weekNo." ";}
{@ $wrkfld_weekNo = "";}
{@ $wrkfld_dt = "
".$tmp_dsp_mmdd." ";}
{@ $wrkfld_dt = "
".$tmp_dsp_mmdd." ";}
{@ $wrkfld_dt = "
".$tmp_dsp_mmdd." ";}
{@ $wrkfld_lunar = "
".$tmpfld_lunar." ";}
{@ $wrkfld_lunar = "
".$tmpfld_lunar." ";}
{@ $wrkfld_lunar = '';}
{@ $wrkfld_islam = "
".$tmpfld_islamicday." ";}
{@ $wrkfld_islam = "
".$tmpfld_islamicday." ";}
{@ $wrkfld_islam = '';}
{@ $wrkfld_24term = "
".$tmparr2[4]." ";}
{@ $wrkfld_iljin = "
".substr($tmparr2[2], 0, 6)." ";}
{@ $wrkfld_holiday_top = "
".$tmparr4[0]." ";}
{@ $wrkfld_holiday_top = '';}
{@ $wrkfld_memday_top = "
".$tmparr5[0]." ";}
{@ $wrkfld_memday_top = '';}
{@ $is_offday = FALSE; // clear}
{@ $is_offday = in_array(strval($WDay_seq), $dft_offday); // $j(순서)를 $WDay_seq(요일)로 변경(V500) }
{@ if($dft_holiday[$Calmain_MM][$Calmain_DD] != "") $is_offday = TRUE; //default holiday}
{@ $is_pastday = FALSE; // 과거일정}
{@ $is_pastday = TRUE;}
{@ $wrkfld_btn = '';}
{@ $date_tooltip = ' title='.$lang->pln_off_day.' ';}
{@ $wrkfld_btn = '';}
{@ $date_tooltip = ' title='.$lang->pln_closed_resv2.' ';}
{@ $wrkfld_btn = '
'.$lang->pln_resv.' ';}
{@ $date_tooltip = ' title='.$lang->pln_resv2.' ';}
{@ $wrkfld_btn = '';}
{@ $date_tooltip = ' title='.$lang->pln_write.' ';}
{@ $wrkfld_link = '';}
{@ $wrkfld_link = "
" .$wrkfld_weekNo.$wrkfld_dt.$wrkfld_lunar.$wrkfld_islam.$wrkfld_24term.$wrkfld_iljin.$wrkfld_memday_top.$wrkfld_holiday_top." ";}
{@
$write_ymd = $Calmain_YY.substr('0'.$Calmain_MM,-2).substr('0'.$Calmain_DD,-2);// '-' 제거 일정시작 확장변수 값
$wrkfld_url = getUrl('act','dispBoardWrite','document_srl','','extra_vars1',$write_ymd);// 일자 클릭시 쓰기로
}
{@ $wrkfld_class = ' diff_month';}
{@ $wrkfld_class = '';}
{@ $wrkfld_link = "
" .$wrkfld_weekNo.$wrkfld_dt.$wrkfld_btn.$wrkfld_lunar.$wrkfld_islam.$wrkfld_24term.$wrkfld_iljin.$wrkfld_memday_top.$wrkfld_holiday_top." ";}
{@ $outtext = "
".$wrkfld_link."
";}
{@ $outtext = "
".$wrkfld_link."
";}
{@ $tbl_html .= $outtext; //날자영역 출력}
{@ $tbl_html .= "
";}
{@ $tbl_html .= "
";}
{@ $tmparr7=explode("|Ø|",$val);}
{@ $tmp_color_chr = '';}
{@ $tmp_color_chr = $tmparr7[6];}
{@ $lplan_cat = (!empty($tmparr7[5]))?"
[".$tmparr7[5]."] ":"";}
{@ $lplan_state = null;}
{@ $arr_icon = explode(",",$tmparr7[4]);}
{@ $icon_folder = "";}
{@ $icon_folder = "client/";}
{@ $icon_folder = "manager/";}
{@ $lplan_state .= "
";}
{@
$title_time = null;// 제목에표시할 시간값
$time_start =null;// 일정 시작시간
$time_end = null;// 일정 종료시간
$time_disply_fld = null;// 툴팁에표시할 시간값
$tmp_time = null;
}
{@ $tmp_time = explode(",",$tmparr7[8]);}
{@
$title_time = $tmp_time[0];
$time_start = $tmp_time[0];
$time_end = trim($tmp_time[count($tmp_time)-1]);
$tmp_etime_arr = explode(':',$time_end);
$ind_interval = $module_info->time_interval;//시간간격
$time_end = date('H:i', mktime($tmp_etime_arr[0],$tmp_etime_arr[1]+$ind_interval,-1,1,1,2011));
$time_disply_fld = "[".$tmparr7[8]."]
";//선택내용 전부
}
{@
$title_time = $tmp_time[0];
$time_start = $tmp_time[0];
$time_end = trim($tmp_time[count($tmp_time)-1]);
}
{@ $time_disply_fld = "[".$time_start."-"."] ";}
{@ $time_disply_fld = "[".$time_start."-".$time_end."] ";}
{@
$tmp_etime_arr = explode(':',$time_end);
$ind_interval = $module_info->time_interval;//시간간격
$time_end = date('H:i', mktime($tmp_etime_arr[0],$tmp_etime_arr[1],-1,1,1,2011));
}
{@ $tooltip_desc = $time_disply_fld.$tmparr7[2];}
{@ $tooltip_desc = $time_disply_fld.$tmparr7[2];}
{@ $tooltip_desc = $time_disply_fld.$tmparr7[2];}
{@ $title_disp = $tmparr7[0];}
{@ $id_overflow = "overflow:hidden; height:14px;";}
{@ $id_overflow = "";}
{@ $tmparr7[3] = $tmparr7[6] = "#77CC00";}
{@
$tmp_style = "style='clear:both; background-color:".$tmparr7[3]."; ".$id_overflow."'";
$tmp_style1_0 = "style='background-color:".$tmparr7[3]."; '";
$tmp_style1_1 = "style='padding:2px 0 0 2px; background-color:".$tmparr7[3]."; border:medium double #FFFFFF;'";
$tmp_style2 = "style='vertical-align:top; background-color:".$tmparr7[3].";'";
}
{@
$tmp_style = "style='clear:both; color:".$tmparr7[3]."; ".$id_overflow."'";
$tmp_style1_0 = "style='color:".$tmparr7[3]."; '";
$tmp_style1_1 = "style='padding:2px 0 0 2px; color:".$tmparr7[3]."; border:medium double ".$tmparr7[3].";'";
$tmp_style2 = "style='vertical-align:top; color:".$tmparr7[3].";'";
}
{@
$color_chr = 'whitesmoke';
//$color_chr = 'black';
$tmp_style = "style='clear:both; color:".$color_chr."; background-color:".$tmparr7[6]."; ".$id_overflow."'";
$tmp_style1_0 = "style='color:".$color_chr."; background-color:".$tmparr7[6]."; '";
$tmp_style1_1 = "style='padding:2px 0 0 2px; color:".$color_chr."; background-color:".$tmparr7[6]."; border:medium double #FFFFFF;'";
$tmp_style2 = "style='vertical-align:top; color:".$color_chr."; background-color:".$tmparr7[6].";'";
}
{@
$tmp_style = "style='clear:both; color:".$tmparr7[6]."; ".$id_overflow."'";
$tmp_style1_0 = "style='color:".$tmparr7[6]."; '";
$tmp_style1_1 = "style='padding:2px 0 0 2px; color:".$tmparr7[6]."; border:medium double ".$tmparr7[6].";'";
$tmp_style2 = "style='vertical-align:top; color:".$tmparr7[6].";'";
}
{@
$tmp_style = "style='clear:both; background-color:".$tmparr7[3]."; ".$id_overflow."'";
$tmp_style1_0 = "style='background-color:".$tmparr7[3]."; '";
$tmp_style1_1 = "style='padding:2px 0 0 2px; background-color:".$tmparr7[3]."; border:medium double #FFFFFF;'";
$tmp_style2 = "style='vertical-align:top; background-color:".$tmparr7[3].";'";
}
{@ $blink_class = 'blink_me';}
{@ $blink_class = '';}
{@ $temp_html = "
".""." "."".$title_disp.$tmparr7[9]." "." "." ";}
{@ $temp_html = "
".""." "."".$title_disp.$tmparr7[9]." "." "." ";}
{@ $temp_html = "
"."".$lplan_state.$title_time." ".$title_disp.$tmparr7[9]." "." ";}
{@ $temp_html = "
"."".$lplan_state.$title_time." ".$title_disp.$tmparr7[9]." "." ";}
{@ $temp_html = "
".""."".$lplan_state.$title_time.$title_disp." ";}
{@ $temp_html .= "".$title_disp.$tmparr7[9]." ";}
{@ $temp_html .= "".$title_disp." ";}
{@ $temp_html .= " "." ";}
{@ $tbl_html .= "
".$temp_html."
";}
{@
$segtype = "a";
$schedule_html[$count_seg]['week'] = $i; //week seq
$schedule_html[$count_seg]['weekday'] = $j; //컬럼 순서
$schedule_html[$count_seg]['yymmdd'] = $Calmain[$i][$j];
$schedule_html[$count_seg]['month'] = $Calmain_MM;
$schedule_html[$count_seg]['date'] = $Calmain_DD;
$schedule_html[$count_seg]['revseq'] = 7-$tmparr7[11];
$schedule_html[$count_seg]['segtype'] = $segtype;
$schedule_html[$count_seg]['length'] = $tmparr7[11];
$schedule_html[$count_seg]['image'] = $tmparr7[10];
$schedule_html[$count_seg]['pln_srl'] = $tmparr7[12];
$schedule_html[$count_seg]['pln_start'] = $tmparr7[13];
$schedule_html[$count_seg]['pln_end'] = $tmparr7[14];
$schedule_html[$count_seg]['pln_stime'] = $time_start;
$schedule_html[$count_seg]['pln_etime'] = $time_end;
$schedule_html[$count_seg]['html'] = $temp_html;
$count_seg += 1;
}
{@ $tbl_html .= "
".$temp_html."
";}
{@ $holiday_process = "js";}
{@ $temp_html = "
".$tmparr4[0]."
";}
{@ $tbl_html .= $temp_html;}
{@
$schedule_html[$count_seg]['week'] = $i; //week seq
$schedule_html[$count_seg]['weekday'] = $j; //컬럼 순서
$schedule_html[$count_seg]['yymmdd'] = $Calmain[$i][$j];
$schedule_html[$count_seg]['month'] = $Calmain_MM;
$schedule_html[$count_seg]['date'] = $Calmain_DD;
$schedule_html[$count_seg]['revseq'] = 6;
$schedule_html[$count_seg]['segtype'] ="b";
$schedule_html[$count_seg]['length'] = 1;
$schedule_html[$count_seg]['image'] = "";
$schedule_html[$count_seg]['pln_srl'] = "";
$schedule_html[$count_seg]['pln_start'] = "";
$schedule_html[$count_seg]['pln_end'] = "";
$schedule_html[$count_seg]['pln_stime'] = "";
$schedule_html[$count_seg]['pln_etime'] = "";
$schedule_html[$count_seg]['html'] = $temp_html;
$count_seg += 1;
}
{@ $tbl_html .= $temp_html;}
{@ $temp_html = "
".$tmparr5[0]."
";}
{@ $tbl_html .= $temp_html;}
{@
$schedule_html[$count_seg]['week'] = $i; //week seq
$schedule_html[$count_seg]['weekday'] = $j; //컬럼 순서
$schedule_html[$count_seg]['yymmdd'] = $Calmain[$i][$j];
$schedule_html[$count_seg]['month'] = $Calmain_MM;
$schedule_html[$count_seg]['date'] = $Calmain_DD;
$schedule_html[$count_seg]['revseq'] = 6;
$schedule_html[$count_seg]['segtype'] ="c";
$schedule_html[$count_seg]['length'] = 1;
$schedule_html[$count_seg]['image'] = "";
$schedule_html[$count_seg]['pln_srl'] = "";
$schedule_html[$count_seg]['pln_start'] = "";
$schedule_html[$count_seg]['pln_end'] = "";
$schedule_html[$count_seg]['pln_stime'] = "";
$schedule_html[$count_seg]['pln_etime'] = "";
$schedule_html[$count_seg]['html'] = $temp_html;
$count_seg += 1;
}
{@ $tbl_html .= $temp_html;}
{@ $temp_html = "
".$lang->pln_off_day."
";}
{@ $tbl_html .= $temp_html;}
{@ $tbl_html .= "
";}
{@ $tbl_html .= "
";}
{@ $tbl_html .= "