{$widget_info->testfld} {@ Context::addJsFile("./common/js/jquery.js", true, '', -100000) } {@ Context::addJsFile("./common/js/js_app.js", true, '', -100000) } {@ Context::addJsFile("./common/js/x.js", true, '', -100000) } {@ Context::addJsFile("./common/js/common.js", true, '', -100000) } {@ Context::addJsFile("./common/js/xml_handler.js", true, '', -100000) } {@ Context::addJsFile("./common/js/xml_js_filter.js", true, '', -100000) } {$html_temp = planner123_widget_main::fn_getClientOffsetTime()} {@ $linkpath = getUrl('','mid',$mid,'dummy',1,'offset',$offset)} {@ $daylinkpath = getUrl('','mid',$widget_info->mid,'dummy',2,'offset',$offset)} {@ $xepath = $XE_path = getUrl('')} {@ $widget_path = $widget_info->widget_path;} {@ $skinpath = $tpl_path;} {@ $today_bgcolor="#CDE6AC"} {@ $today_bodercolor="#58792E"} {@ $day_bgcolor=white} {@ $day_bgcolor=$widget_info->bg_color} {@ $server_timestamp = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y"));} {@ $server_offset = date("Z");} {@ $xe_timestamp = planner123_widget_main::fn_xetimestamp();} {@ $xe_offset = date("Z")+zgap();} {@ $client_offset = Context::get('offset');} {@ $client_timestamp = mktime(date("H"), date("i"), date("s")-date("Z")+$client_offset, date("m"), date("d"), date("Y"));} {@ $display_timestamp = $xe_timestamp;} {@ $wrk_timestamp = $display_timestamp;} {@ $wrk_timestamp = $client_timestamp;} {@ $pYear = date("Y", $wrk_timestamp);} {@ $pMonth = date("n", $wrk_timestamp);} {@ $pMon = date("F", $wrk_timestamp);} {@ $pDay = date("j", $wrk_timestamp);} {@ $tmp_feb_lastday = date('t', mktime(0,0,0,$pMonth,1,$pYear));} {@ $pDay = $tmp_feb_lastday;} {@ $pOption=1;} {@ $pYear =date("Y", mktime(0, 0, 0, $pMonth, 1, $pYear));} {@ $pMonth =date("n", mktime(0, 0, 0, $pMonth, 1, $pYear));} {@ $pMon =date("F", mktime(0, 0, 0, $pMonth, 1, $pYear));} {@ $todayYY = date("Y", $wrk_timestamp);} {@ $todayMM = date("n", $wrk_timestamp);} {@ $todayDD = date("j", $wrk_timestamp);} {@ $tempmonth = substr("0".$pMonth, -2);} {@ $arr_plan = null} {@ $Calmain = planner123_widget_main::fn_CalMain($pYear,$pMonth);} {@ $Holiday = planner123_widget_holiday::fn_HolidayChk($pYear, $pMonth, $widget_path);} {@$option_view_arr = $widget_info->option_view_arr} {@$count = count($option_view_arr);} {@$ind_lunar_all = "Y";} {@$ind_lunar = "Y";} {@$Lunarday = planner123_widget_main::fn_sol2lun_ary($pYear,$pMonth);} {@$ind_holiday = "Y";} {@$ind_memday = "Y";} {@$Memday = planner123_widget_holiday::fn_MemdayChk($pYear, $pMonth, $widget_path);} {@$ind_24term = "Y";} {@$GanjiJeolki = planner123_widget_main::fn_jeolki_ganji_ary($pYear,$pMonth,$pOption);} {@$ind_iljin = "Y";} {@$GanjiJeolki = planner123_widget_main::fn_jeolki_ganji_ary($pYear,$pMonth,$pOption);} {@$ind_islamic_all = "";} {@$ind_islamic = "Y";} {@$Islamicday = planner123_widget_main::fn_getIslamic_ary($pYear,$pMonth);} {@ $category_color = null } {@ $category_title = null } {@ $category_color = $widget_info->category_list[$oDocument->get('category_srl')]->color} {@ $category_title = $widget_info->category_list[$oDocument->get('category_srl')]->title} {@ $plan_reply = $oDocument->getCommentCount()} {@ $plan_reply = null} {@$plan_start = $oDocument->getExtraValue(1)} {@$plan_end = $oDocument->getExtraValue(2)} {@$plan_bgcolor = $oDocument->getExtraValue(3)} {@$plan_flagicon = $oDocument->getExtraValueHTML(4)} {@$plan_repeat_cycle = $oDocument->getExtraValue(5)} {@$plan_repeat_unit = $oDocument->getExtraValue(6)} {@$plan_time = $oDocument->getExtraValueHTML(7)} {@$plan_title = $oDocument->getTitle($widget_info->subject_cut_size)} {@$plan_detail = $oDocument->getSummary($widget_info->content_cut_size)} {@$thumnail_arr = explode(",",$oDocument->image_diary)} {@$plan_img = $oDocument->getThumbnail($thumnail_arr[1],$thumnail_arr[2],$thumnail_arr[3])} {@$ind_image_diary = $thumnail_arr[0]} {@$plan_img = null} {@$ind_image_diary = null} {@$plan_doc_extra_vars = $oDocument->get('extra_vars')} {@$ind_complete_doc = $oDocument->display_complete_doc} {@$plan_docurl = $oDocument->document_srl} {@$plan_url = getUrl('document_srl',$plan_docurl,'offset',$offset)} {@$plan_board_skin = $oDocument->module_skin} {@$plan_use_category_bgcolor = $oDocument->use_category_bgcolor} {@$plan_new = $oDocument->printExtraImages($widget_info->duration_new)} {@ $plan_end = $plan_start} {@ $plnstartYY = substr($plan_start,0,4)} {@ $plnstartMM = substr($plan_start,4,2)} {@ $plnstartDD = substr($plan_start,6,2)} {@ $plnstartMM = ltrim( $plnstartMM, "0" );} {@ $plnstartDD = ltrim( $plnstartDD, "0" );} {@ $plnendYY = substr($plan_end,0,4)} {@ $plnendMM = substr($plan_end,4,2)} {@ $plnendDD = substr($plan_end,6,2)} {@ $plnendMM = ltrim( $plnendMM, "0" );} {@ $plnendDD = ltrim( $plnendDD, "0" );} {@ $plnendYY = $pYear;} {@ $plnendMM = $pMonth;} {@ $plnendDD = 31;} {@ $plnstartYY = $pYear;} {@ $plnstartMM = $pMonth;} {@ $plnstartDD = 1;} {@ $plnstartYY = $pYear;} {@ $plnstartMM = $pMonth;} {@ $plnstartDD = 1;} {@ $plnendYY = $pYear;} {@ $plnendMM = $pMonth;} {@ $plnendDD = 31;} {@ $plan_detail = str_replace("'", "`", $plan_detail);} {@ $plan_detail = str_replace("\"", """, $plan_detail);} {@ $_doc_extra_vars = explode(";", $plan_doc_extra_vars);} {@ $_doc_extra_vars1 = explode(":", $_doc_extra_vars[0]);} {@ $_doc_status = str_replace("\"", "", $_doc_extra_vars1[2]);} {@ $plan_title = "".$plan_title."";} {@$arr_repeat = planner123_widget_main::fn_repeat_schedule($pYear, $pMonth, $plan_start, $plan_end, $plan_repeat_cycle, $plan_repeat_unit);} {@ $j_temp = $j;} {@ $plan_length = $j-$j_temp+1;} {@ $arr_plan[$i][$j_temp] .="|#Ø#|"} {@$arr_plan[$i][$j_temp] .= $plan_title."|Ø|".$plan_url."|Ø|".$plan_detail."|Ø|".$plan_bgcolor."|Ø|".$plan_flagicon."|Ø|".$category_title."|Ø|".$category_color."|Ø|".$plan_reply."|Ø|".$plan_time."|Ø|".$plan_board_skin."|Ø|".$plan_use_category_bgcolor."|Ø|".$plan_new."|Ø|".$plan_img."|Ø|".$ind_image_diary."|Ø|".$plan_length."|Ø|".$plan_docsrl."|Ø|".$plan_start."|Ø|".$plan_end;}

{$widget_info->title} {$widget_info->module_info->browser_title}


{$pMon} {$pYear}
< {$i} T-Mon >
{@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $schedule_html = null;} {@ $holiday_html = null;} {@ $memday_html = null;} {@ $count_seg = 0;} {@ $weekcount = count($Calmain);} {@ $tbl_html .= "";} {@ $tbl_html .= "\n";} {@ $tbl_html .= "\n";} {@ $tbl_html .= "";} {@ $tbl_html .= "
SunMonTueWedThuFriSat
";} {@ $tbl_html .= "";} {@ $tbl_html .= "";} {@ $tbl_html .= "
";} {@ $tmpfld_1 = null;} {@ $outtext = null;} {@ $k = $Calmain[$i][$j];} {@ $Calmain[$i][$j]=null;} {@ $tbl_html .= "
 
";} {@ $tbl_html .= "
";} {@ $tempday=$Calmain[$i][$j];} {@ $tmparr_lunar=explode("-",$Lunarday[$pMonth][$Calmain[$i][$j]]);} {@ $youndal = "윤";}{@ $youndal = null;} {@ $tmpfld_lunar ="(".$youndal.$tmparr_lunar[1]."-".$tmparr_lunar[2].")";} {@ $tmparr_islam=explode("-",$Islamicday[$pMonth][$Calmain[$i][$j]]);} {@ $tmpfld_islamicday ="(".$tmparr_islam[1]."-".$tmparr_islam[2].")";} {@ $tmparr2=explode("-",$GanjiJeolki[$pMonth][$Calmain[$i][$j]]);} {@ $tmparr4=explode("-",$Holiday[$pMonth][$Calmain[$i][$j]]);} {@ $tmparr5=explode("-",$Memday[$pMonth][$Calmain[$i][$j]]);} {@ $tmparr6=explode("|#Ø#|",$arr_plan[$pMonth][$Calmain[$i][$j]]);} {@ $outtext = "
";} {@ $outtext = "
";} {@ $tmpfld = "".$Calmain[$i][$j]."";} {@ $tmpfld = "".$Calmain[$i][$j]."";} {@ $tmpfld = "".$Calmain[$i][$j]."";} {@ $templink = "";} {@ $templink = $daylinkpath."&act=dispBoardWrite";} {@ $templink .= "&extra_vars1=".$pYear.$tempmonth.substr('0'.$tempday,-2);} {@ $templink = "";} {@ $outtext .= " ".$templink.$tmpfld."";} {@ $outtext .= " "."".$tmpfld_lunar."";} {@ $outtext .= " "."".$tmpfld_lunar."";} {@ $outtext .= " "."".$tmpfld_islamicday."";} {@ $outtext .= " "."".$tmpfld_islamicday."";} {@ $outtext .= "".$tmparr2[4]."";} {@ $outtext .= ""."".substr($tmparr2[2], 0, 6)."";} {@ $outtext .= "
";} {@ $tbl_html .= $outtext;} {@ $outtext = null;} {@ $tbl_html .= "
";} {@ $tbl_html .= "
";} {@ $tmparr7=explode("|Ø|",$val);} {@ $lplan_state = null;} {@ $arr_icon = explode(",",$tmparr7[4]);} {@ $icon_folder = "";} {@ $icon_folder = "client/";} {@ $icon_folder = "manager/";} {@ $lplan_state .= "";} {@ $tmp_time = explode(",",$tmparr7[8]);} {@ $time_disply_fld = "[".$tmparr7[8]."] ";} {@ $time_disply_fld = "[".$tmp_time[0]."-".trim($tmp_time[count($tmp_time)-1])."] ";} {@ $time_disply_fld = "[".$tmp_time[0]."- ] ";} {@ $time_disply_fld = null;} {@ $id_overflow = "overflow:hidden; height:14px;";} {@ $id_overflow = "";} {@$tmp_arr=explode(",",$tmparr7[10]);} {@$ind_use_category = $tmp_arr[0];} {@$ind_bgcolor_option = $tmp_arr[1];} {@ $tmp_style = "style='clear:both; background-color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;".$id_overflow."'";} {@ $tmp_style1_0 = "style='background-color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@ $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]."; border-bottom:1px solid #FFFFFF;".$id_overflow."'";} {@ $tmp_style1_0 = "style='color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@ $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].";'";} {@ $tmp_style = "style='clear:both; color:whitesmoke; background-color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;".$id_overflow."'";} {@ $tmp_style1_0 = "style='color:whitesmoke; background-color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;'";} {@ $tmp_style1_1 = "style='padding:2px 0 0 2px; color:whitesmoke; background-color:".$tmparr7[6]."; border:medium double #FFFFFF;'";} {@ $tmp_style2 = "style='vertical-align:top; color:whitesmoke; background-color:".$tmparr7[6].";'";} {@ $tmp_style = "style='clear:both; color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;".$id_overflow."'";} {@ $tmp_style1_0 = "style='color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;'";} {@ $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]."; border-bottom:1px solid #FFFFFF;".$id_overflow."'";} {@ $tmp_style1_0 = "style='background-color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@ $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].";'";} {@$temp_html = "";} {@$temp_html = "";} {@$temp_html = "";} {@ $schedule_process = "js";} {@ $segtype = "a";} {@ $schedule_html[$count_seg]['week'] = $i;} {@ $schedule_html[$count_seg]['weekday'] = $j;} {@ $schedule_html[$count_seg]['date'] = $k;} {@ $schedule_html[$count_seg]['revseq'] = 7-$tmparr7[14];} {@ $schedule_html[$count_seg]['segtype'] = $segtype;} {@ $schedule_html[$count_seg]['length'] = $tmparr7[14];} {@ $schedule_html[$count_seg]['image'] = $tmparr7[12];} {@ $schedule_html[$count_seg]['pln_srl'] = $tmparr7[15];} {@ $schedule_html[$count_seg]['pln_start'] = $tmparr7[16];} {@ $schedule_html[$count_seg]['pln_end'] = $tmparr7[17];} {@ $schedule_html[$count_seg]['pln_time'] = $tmparr7[18];} {@ $schedule_html[$count_seg]['html'] = $temp_html;} {@ $count_seg += 1;} {@ $tbl_html .= $temp_html;} {@ $holiday_process = "js";} {@ $temp_html = "
".$tmparr4[0]."
";} {@ $schedule_html[$count_seg]['week'] = $i;} {@ $schedule_html[$count_seg]['weekday'] = $j;} {@ $schedule_html[$count_seg]['date'] = $k;} {@ $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_time'] = "";} {@ $schedule_html[$count_seg]['html'] = $temp_html;} {@ $count_seg += 1;} {@ $tbl_html .= $temp_html;} {@ $temp_html = "
".$tmparr5[0]."
";} {@ $schedule_html[$count_seg]['week'] = $i;} {@ $schedule_html[$count_seg]['weekday'] = $j;} {@ $schedule_html[$count_seg]['date'] = $k;} {@ $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_time'] = "";} {@ $schedule_html[$count_seg]['html'] = $temp_html;} {@ $count_seg += 1;} {@ $tbl_html .= $temp_html;} {@ $tbl_html .= "
";} {@ $tbl_html .= "
";} {@ $tbl_html .= "
";} {$tbl_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.
{@ $schedule_html = planner123_widget_main::fn_multisort( $schedule_html , array('segtype','date','revseq','pln_time'));} {@ require_once($widget_path.'function/class.services_JSON.php');} {@ $json = new Services_JSON;} {@ $schedule_html_json = $json->encode($schedule_html);} {@ $schedule_html_json = json_encode($schedule_html);}