{@ $theme_name = $module_info->user_colorset;} {@ $oTemplate = &TemplateHandler::getInstance();} {@ print $oTemplate->compile($tpl_path.'colorset/', $theme_name.'.html');} {@ $tmp_cartegory[$val->title] = array('title' => $val->title, 'category_srl' => $val->category_srl, 'color' => $val->color, 'grant' => $val->grant, 'selected' => $val->selected, 'document_count' => $val->document_count, 'depth' => $val->depth)} {@ ksort($tmp_cartegory)}
{@ $label_cat_all=$lang->pln_cat_all}
{@ $weekcount = count($Calmain);} {@ $Calmain[$i][$j]=null;} {@ $wrk_tmp_arr= explode("-",$Calmain[$i][$j]);// YYYY-M-d $Calmain_YY = $wrk_tmp_arr[0]; $Calmain_MM = $wrk_tmp_arr[1]; $Calmain_DD = $wrk_tmp_arr[2]; $Calmain_yymmdd = $Calmain_YY.$Calmain_MM.$Calmain_DD; $today_yymmdd = $todayYY.$todayMM.$todayDD; } {@ $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 = "".$tmparr4[0]."";} {@ $wrkfld_holiday = '';} {@ $is_offday = FALSE;} {@ $is_offday = in_array(strval($WDay_seq), $dft_offday); // 시작요일 관련 변경(V480) } {@ if($dft_holiday[$Calmain_MM][$Calmain_DD] != "") $is_offday = TRUE; //default holiday} {@ $wrkfld_btn = '';} {@ $date_tooltip = ' title='.$lang->pln_off_day.' ';} {@ $wrkfld_btn = ' ';} {@ $date_tooltip = ' title='.$lang->pln_resv2.' ';} {@ $wrkfld_btn = '';} {@ $date_tooltip = ' title='.$lang->pln_write.' ';} {@ $weekDayTitle_arr = explode(",", $lang->pln_calendar_header); //요일 이름(V500) } {@ $wrkfld_wd_name = "".$weekDayTitle_arr[$WDay_seq]."";} {@ $wrkfld_wd_name = "".$weekDayTitle_arr[$WDay_seq]."";} {@ $wrkfld_wd_name = "".$weekDayTitle_arr[$WDay_seq]."";} {@ $wrkfld_link = '';} {@ $wrkfld_link = "".$wrkfld_weekNo.$wrkfld_dt." ".$wrkfld_wd_name." ".$wrkfld_btn."";} {@ $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_wd_name." ".$wrkfld_btn."";} {@ $outtext = "";} {@ $outtext = null;} {@ $tmparr7=explode("|Ø|",$val);} {@ $tmp_color_chr = '';} {@ $tmp_color_chr = $tmparr7[6];} {@ $lplan_state = null;} {@ $arr_icon = explode(",",$tmparr7[4]);} {@ $icon_folder = "";} {@ $icon_folder = "client/";} {@ $icon_folder = "manager/";} {@ $lplan_state .= "";} {@ $lplan_reply ="[".$tmparr7[7]."]";} {@ $lplan_reply =null;} {@ $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];} {@ $tmparr7[3] = $tmparr7[6] = "#77CC00";} {@ $tmp_style = "style='clear:both; background-color:".$tmparr7[3]."; '"; $tmp_style1_0 = "style='float:left; background-color:".$tmparr7[3]."; '"; $tmp_style1_1 = "style='padding:5px 0 0 5px; background-color:".$tmparr7[3]."; border:medium double #FFFFFF;'"; $tmp_style2 = "style='background-color:".$tmparr7[3].";'"; } {@ $tmp_style = "style='clear:both; color:".$tmparr7[3]."; '"; $tmp_style1_0 = "style='float:left; color:".$tmparr7[3]."; '"; $tmp_style1_1 = "style='padding:5px 0 0 5px; color:".$tmparr7[3]."; border:medium double ".$tmparr7[3].";'"; $tmp_style2 = "style='color:".$tmparr7[3].";'"; } {@ $color_chr = 'whitesmoke'; $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]."; '"; $tmp_style1_0 = "style='float:left; color:".$tmparr7[6]."; '"; $tmp_style1_1 = "style='padding:5px 0 0 5px; color:".$tmparr7[6]."; border:medium double ".$tmparr7[6].";'"; $tmp_style2 = "style='color:".$tmparr7[6].";'"; } {@ $tmp_style = "style='clear:both; background-color:".$tmparr7[3]."; '"; $tmp_style1_0 = "style='float:left; background-color:".$tmparr7[3]."; '"; $tmp_style1_1 = "style='padding:5px 0 0 5px; background-color:".$tmparr7[3]."; border:medium double #FFFFFF;'"; $tmp_style2 = "style='background-color:".$tmparr7[3].";'"; } {@ $lplan_cat = (!empty($tmparr7[5]))?"[".$tmparr7[5]."] ":"";} {@ $lplan_cat = (!empty($tmparr7[5]))?"[".$tmparr7[5]."] ":"";} {@ $lplan_cat = "";} {@ $blink_class = 'blink_me';} {@ $blink_class = '';} {@ $schedule_link_text = " ".$time_disply_fld.$title_disp." ".$lplan_cat.$lplan_state.$lplan_reply.$tmparr7[9]."
";} {@ $schedule_link_text = " ".$time_disply_fld.$title_disp." ".$lplan_cat.$lplan_state.$lplan_reply.$tmparr7[9]."
";} {@ $schedule_link_text = " ".$time_disply_fld.$title_disp." ".$lplan_cat.$lplan_state.$lplan_reply.$tmparr7[9]."
";} {@ $out_text = "";} {@ $out_html .= $out_text."
".$tmparr7[2]."

";} {@ $out_html .= $out_text."
".$plan_detail_all[$tmparr7[12]]."

";} {@ $out_html .= $out_text;} {@ $temp_html = $schedule_link_text;} {@ $schedule_process = "js";} {@ $segtype = "a"; $schedule_html[$count_seg]['week'] = $i; $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; } {@ $out_html .= "
".$lang->pln_off_day."
";} {@ $ind_ua = planner123_main::fn_get_USER_AGENT()} {@ $out_html = null;} {@ $holiday_process = "js";} {@ $temp_html = "
".$tmparr4[0]."
";} {@ $schedule_html[$count_seg]['week'] = $i; $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; } {@ $out_html = "
  • ".$tmparr5[0]."
  • ";} {@ $out_html = null;} {@ $out_html = null;}
    Date
    Schedule
    Note
    {$outtext} {$out_html} {$out_html} {$out_html}
    Server time is {date("l, F j, Y, g:i a", $display_timestamp)} and your time is {date("l, F j, Y, g:i a", $client_timestamp)} : {($display_timestamp-$client_timestamp)*(-1)/3600}Hrs difference.
    {@$write_ymd = date('Y',$wrk_timestamp).date('m',$wrk_timestamp).date('d',$wrk_timestamp)}
    {$lang->cmd_write}
    {@ $schedule_html = planner123_main::fn_array_orderby($schedule_html, 'segtype', SORT_ASC, 'date', SORT_ASC, 'revseq', SORT_ASC, 'pln_stime', SORT_ASC, 'pln_srl', SORT_DESC);} {@ require_once($skinpath.'function/class.services_JSON.php');} {@ $json = new Services_JSON; $schedule_html_json = $json->encode($schedule_html); } {@ $schedule_html_json = json_encode($schedule_html);}