{@ $XE_version = __ZBXE_VERSION__;} {@ $var_version = "PlannerXE123: Skin Ver 3.7.0"} {@ 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) } {@ $linkpath = getUrl('','mid',$mid,'dummy',1,'offset',$offset)} {@ $skinpath = $tpl_path;} {@ $XE_path = getUrl('')} {@ $today_bgcolor="#CDE6AC"} {@ $today_bodercolor="#58792E"} {@ $mouseover_bgcolor="#ddfffa"} {@ $obj=null} {@ $arr_plan=null} {@ $day_bgcolor="white"} {@ $day_bgcolor=$module_info->calendar_bgcolor} {@ $day_bgcolor2="#fffacd"} {@ require_once($skinpath.'function/class.planner123_main.php');} {@ $ind_holiday_country = $module_info->holiday_country;} {@ $holiday_filename = planner123_main::fn_getHolidayFileName($skinpath,$ind_holiday_country);} {@ require_once($skinpath.'function/'.$holiday_filename);} {@ $server_timestamp = mktime(date("H"), date("i"), date("s"), date("m"), date("d"), date("Y"));} {@ $server_offset = date("Z");} {@ $xe_timestamp = planner123_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;} {@ $tmp_timestamp_01 = mktime(0, 0, 0, $pMonth, $pDay, $pYear);} {@ $pYear =date("Y", $tmp_timestamp_01);} {@ $pMonth =date("n", $tmp_timestamp_01);} {@ $pDay =date("j", $tmp_timestamp_01);} {@ $pMon =date("F", $tmp_timestamp_01);} {@ $pMon_short =date("M", $tmp_timestamp_01);} {@ $pWeekday =date("D", $tmp_timestamp_01);} {@ $week_count = planner123_main::fn_WeekOfYear($pMonth, $pDay, $pYear);} {@ $todayYY = date("Y", $wrk_timestamp);} {@ $todayMM = date("n", $wrk_timestamp);} {@ $todayDD = date("j", $wrk_timestamp);} {@ $Calmain = planner123_main::fn_CalMain($pYear,$pMonth);} {@ $Holiday = planner123_holiday::fn_HolidayChk($pYear, $pMonth, $skinpath);} {@ $ind_holiday = "Y";} {@ $Memday = planner123_holiday::fn_MemdayChk($pYear, $pMonth, $skinpath);} {@ $ind_memday = "Y";} {@ $Lunarday = planner123_main::fn_sol2lun_ary($pYear,$pMonth);} {@ $ind_lunar = "Y";} {@ $Lunarday = planner123_main::fn_sol2lun_ary($pYear,$pMonth);} {@ $ind_lunar_all = "Y";} {@ $Islamicday = planner123_main::fn_getIslamic_ary($pYear,$pMonth);} {@ $ind_islamic = "Y";} {@ $Islamicday = planner123_main::fn_getIslamic_ary($pYear,$pMonth);} {@ $ind_islamic_all = "Y";} {@ $GanjiJeolki = planner123_main::fn_jeolki_ganji_ary($pYear,$pMonth,$pOption);} {@ $ind_24term = "Y";} {@ $ind_iljin = "Y";} {@ $ind_use_category = $module_info->use_category;} {@ $ind_bgcolor_option = $module_info->use_category_bgcolor;} {@ $ind_image_diary = $module_info->image_diary;} {@ $ind_complete_doc = $module_info->display_complete_doc;} {@ $ind_duplicated_schedule = $module_info->duplicated_schedule;} {@ $tempmonth = substr("0".$pMonth, -2);} {@ $list_count = $module_info->list_count;} {@ $page_count = $module_info->page_count;} {@ $obj->var_search_title = $search_keyword;} {@ $obj->var_search_content = $search_keyword;} {@ $obj->var_search_content = $search_keyword;} {@ $obj->var_search_user_name = $search_keyword;} {@ $obj->var_search_nick_name = $search_keyword;} {@ $obj->var_search_user_id = $search_keyword;} {@ $obj->var_search_tags = $search_keyword;} {@ $obj->var_search_extra_idx = substr($search_target, strlen('extra_vars'));} {@ $obj->var_search_extra_value = str_replace(' ','%',$search_keyword);} {@ $tmp_category = Context::get('category_list');} {@ $tmp_category = array();} {@ $wrk_var_category_srl = "0";} {@ $wrk_var_category_srl .= ",".$val->category_srl;} {@ $obj->var_category_srl = $val->category_srl;} {@ $obj->var_category_srl = $wrk_var_category_srl;} {@ $module_srl = $module_info->module_srl;} {@ $module_name = $module_info->module;} {@ $member_temp_name = $logged_info->nick_name;} {@ $member_srl = $logged_info->member_srl;} {@ $group_list = $logged_info->group_list;} {@ $usergroup_arr = array();} {@ $obj->var_member_srl = $member_srl;} {@ $group_titles .= ",".$val;} {@ $group_titles=substr($group_titles,1);} {@ $usergroup_arr = explode(",",$group_titles);} {@$obj->module_srl = $module_info->module_srl;} {@$obj->var_member_srl = $member_srl;} {@$obj->extra_vars_serial = serialize("X");} {@$obj->title = "weekplan_".$member_srl."_".$pYear;} {@$query_path = $module_info->module."/skins/".$module_info->skin;} {@$output = executeQueryArray($query_path.'.getDocumentsForPlanner_weekplan', $obj);} {@$tmp_myplan_fld .= "|@||@||@||@||@||@||@||@||@||=@=|";} {@$obj->content = $tmp_myplan_fld;} {@$obj->extra_vars = "X";} {@$obj->extra_vars = serialize("X");} {@$obj->is_secret = "Y";} {@$oDocumentModel = &getModel('document');} {@$oDocumentController = &getController('document');} {@$output = $oDocumentController->insertDocument($obj);} {@$msg_code = 'success_registed';} {@$output = executeQueryArray($query_path.'.getDocumentsForPlanner_weekplan', $obj);} {@$myplan_module_srl = $attribute_myplan->module_srl;} {@$myplan_srl = $attribute_myplan->document_srl;} {@$myplan_title = $attribute_myplan->title;} {@$myplan_content = $attribute_myplan->content;} {@$myplan_arr = explode('|=@=|',$attribute_myplan->content);} {@$myplan_arr_week = explode('|@|',$myplan_arr[$week_count]);} {@ $obj->site_srl = '';} {@ $obj->module_srl = $module_info->module_srl;} {@ $obj->sort_index_1 = 'extra_value_end';} {@ $obj->order_type_1 = 'desc';} {@ $obj->sort_index_default_1 = 'extra_value_start';} {@ $obj->sort_index_2 = 'extra_value_time';} {@ $obj->order_type_2 = 'asc';} {@ $obj->sort_index_default_2 = 'extra_value_time';} {@ $obj->sort_index = $module_info->order_target;} {@ $obj->order_type = $module_info->order_type;} {@ $obj->sort_index_default = 'list_order';} {@ $obj->list_count = $list_count*10;} {@ $obj->page_count = $page_count;} {@ $obj->var_idx1 = '1';} {@ $obj->var_idx2 = '2';} {@ $obj->var_idx7 = '7';} {@ $obj->var_idx8 = '8';} {@ $obj->var_period_start = $pYear.$tempmonth."01";} {@ $obj->var_period_end = $pYear.$tempmonth."31";} {@ $obj->var_fld_null = null;} {@ $query_path = $module_info->module."/skins/".$module_info->skin;} {@ $view_group = $module_info->default_document_group;} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_all', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_own', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_own', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_group', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_group_15', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_nonSec', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_nonSec_15', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_all', $obj);} {@ $output = executeQueryArray($query_path.'.getDocumentsForPlanner_all', $obj);} {@ $tmp_document_srl = $attribute->document_srl;} {@ $tmp_Document = null;} {@ $tmp_Document = new documentItem();} {@ $tmp_Document->setAttribute($attribute, false);} {@ $tmp_Document->category_srl = $attribute->category_srl;} {@ $tmp_opengroup_arr = explode("|@|",$attribute->extra_value_group);} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_flag = null;} {@ $tmp_group_01 = $tmp_opengroup_arr[0];} {@ $tmp_flag = "*";} {@ $tmp_flag = "*";} {@ $tmp_flag = "*";} {@ $tmp_flag = "*";} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_flag = "";} {@ $tmp_flag = "*";} {@ $tmp_flag = "*";} {@ $tmp_document_list[$key] = $tmp_Document;} {@ $tmp_document_list = array();} {@ Context::set('document_list', $tmp_document_list);} {@ $oDocumentModel = &getModel('document');} {@ $oDocumentModel->setToAllDocumentExtraVars();} {@ $category_color = $category_list[$document->get('category_srl')]->color} {@ $category_title = $category_list[$document->get('category_srl')]->title} {@ $category_color = null} {@ $category_title = null} {@ $plan_reply = $document->getCommentCount()} {@ $plan_reply = null} {@ $plan_title = $document->getTitle($module_info->subject_cut_size)} {@ $plan_detail = $document->getSummary($module_info->content_cut_size)} {@ $plan_doc_extra_vars = $document->get('extra_vars')} {@ $plan_docsrl = $document->document_srl} {@ $plan_url = getUrl('document_srl',$document->document_srl)} {@ $plan_new = $document->printExtraImages(60*60*$module_info->duration_new)} {@ $plan_img = null} {@ $plan_img = $document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)} {@ $plan_start = $document->getExtraValue(1)} {@ $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" );} {@ $plan_end = $document->getExtraValue(2)} {@ $plan_end = $plan_start} {@ $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" );} {@ $plan_bgcolor = $document->getExtraValueHTML(3)} {@ $plan_flagicon = $document->getExtraValueHTML(4)} {@ $plan_repeat_cycle = $document->getExtraValueHTML(5)} {@ $plan_repeat_unit = $document->getExtraValueHTML(6)} {@ $plan_time = $document->getExtraValueHTML(7)} {@ $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_main::fn_repeat_schedule($pYear, $pMonth, $plan_start, $plan_end, $plan_repeat_cycle, $plan_repeat_unit);} {@ $arr_plan[$i][$j] .="|#Ø#|"} {@ $arr_plan[$i][$j] .= $plan_title."|Ø|".$plan_url."|Ø|".$plan_detail."|Ø|".$plan_bgcolor."|Ø|".$plan_flagicon."|Ø|".$category_title."|Ø|".$category_color."|Ø|".$plan_reply."|Ø|".$plan_time."|Ø|".$plan_new."|Ø|".$plan_img."|Ø|".$plan_length."|Ø|".$plan_docsrl."|Ø|".$plan_start."|Ø|".$plan_end;}
{@$plan_weekday = date("w", mktime(0,0,0,$pMonth, $pDay, $pYear))} {@$tmp_desc_sharpen = "건강: 감정: 정신: 지식: "} {@$tmp_desc_role = "개인: 가정: 직장: 종교: 기타: "} {@$tmp_desc_task = "--꼭 해야할일-- --하면 좋은일-- --관심 사항--- "} {@$tmp_desc_remark = "금주 관심사항: "}
{$pWeekday}, {$pMon_short} {$pDay}, {$pYear}
-Today task(오늘업무)-
<!--@if($myplan_arr_week[$plan_weekday]==null)-->{$tmp_desc_task}<!--@else-->{$myplan_arr_week[$plan_weekday]}<!--@endif-->
-Sharpen(다듬기)-
<!--@if($myplan_arr_week[7]==null)-->{$tmp_desc_sharpen}<!--@else-->{$myplan_arr_week[7]}<!--@endif-->
-Role/Goal(역활/목표)-
<!--@if($myplan_arr_week[8]==null)-->{$tmp_desc_role}<!--@else-->{$myplan_arr_week[8]}<!--@endif-->
-Remark(관심사항)-
<!--@if($myplan_arr_week[9]==null)-->{$tmp_desc_remark}<!--@else-->{$myplan_arr_week[9]}<!--@endif-->
{@$epigrams_arr = planner123_main::fn_getTextFile($skinpath, '20');} {$epigrams_arr[0]}
로그인을 하시면 주간계획을 볼 수 있습니다.
{$pMon} {$pYear}
{@ $tmp_cartegory[$val->title] = array('title' => $val->title, 'category_srl' => $val->category_srl, 'color' => $val->color)}
{@ $label_cat_all="분류전체"}{@ $label_cat_all="ALL"} {@ ksort($tmp_cartegory)}

Date | Schedule | Note
--- | --- | ---
{@ $weekcount = count($Calmain);} {@ $tr_bgcolor = "class='today_bgcolor'";} {@ $td_left = "";} {@ $td_middle = "class = 'plan brd_all'";} {@ $td_right = "";} {@ $tr_bgcolor = "class='day_bgcolor'";} {@ $td_left = "";} {@ $td_middle = "class = 'plan'";} {@ $td_right = "";} {@ $tr_bgcolor = "class='day_bgcolor2'";} {@ $td_left = "";} {@ $td_middle = "class = 'plan'";} {@ $td_right = "";}
{@ $tmpfld_1 = null;} {@ $outtext = null;} {@ $k = $Calmain[$i][$j];} {@ $Calmain[$i][$j]=null;} {@ $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 = "";} {@ $tmpfld = "".$Calmain[$i][$j]."";} {@ $tmpfld = "".$Calmain[$i][$j]."";} {@ $tmpfld = "".$Calmain[$i][$j]."";} {@ $templink = "".$tmpfld."";} {@ $write_ymd = $pYear.$tempmonth.substr("0".$tempday,-2);} {@ $templink = getUrl('act','dispBoardWrite','document_srl','','extra_vars1',$write_ymd);} {@ $templink = "".$tmpfld."";} {@ $outtext = " ".$templink." ";} {@ $tmpfldw = "Sun";} {@ $tmpfldw = "Mon";} {@ $tmpfldw = "Tue";} {@ $tmpfldw = "Wed";} {@ $tmpfldw = "Thu";} {@ $tmpfldw = "Fri";} {@ $tmpfldw = "Sat";} {@ $outtext .= " ".$tmpfldw." ";} {@ $outtext = " ".$outtext." ";} {$outtext} {@ $outtext = null;} | {@$outtext .= " ".$tmparr4[0]." ";} {@ $outtext .= " "."".$tmpfld_lunar."";} {@ $outtext .= " "."".$tmpfld_lunar."";} {@ $outtext .= " "."".$tmpfld_islamicday."";} {@ $outtext .= " "."".$tmpfld_islamicday."";} {@$outtext .= " ".$tmparr2[4]." ";} {@$outtext = " ".$outtext." ";} {$outtext} {@$outtext = null;} | {@$tmparr7=explode("|Ø|",$val);} {@$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 .= "";} {@$lplan_reply = (!empty($tmparr7[7]))?"[".$tmparr7[7]."]":"";} {@$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;} {@$tmp_style = "style='clear:both; background-color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_0 = "style='float:left; background-color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@$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]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_0 = "style='float:left; color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_1 = "style='padding:5px 0 0 5px; color:".$tmparr7[3]."; border:medium double ".$tmparr7[3].";'";} {@$tmp_style2 = "style='color:".$tmparr7[3].";'";} {@$tmp_style = "style='clear:both; color:whitesmoke; background-color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_0 = "style='float:left; color:whitesmoke; background-color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_1 = "style='padding:5px 0 0 5px; color:whitesmoke; background-color:".$tmparr7[6]."; border:medium double #FFFFFF;'";} {@$tmp_style2 = "style='color:whitesmoke; background-color:".$tmparr7[6].";'";} {@$tmp_style = "style='clear:both; color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_0 = "style='float:left; color:".$tmparr7[6]."; border-bottom:1px solid #FFFFFF;'";} {@$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]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_0 = "style='float:left; background-color:".$tmparr7[3]."; border-bottom:1px solid #FFFFFF;'";} {@$tmp_style1_1 = "style='padding:5px 0 0 5px; background-color:".$tmparr7[3]."; border:medium double #FFFFFF;'";} {@$tmp_style2 = "style='background-color:".$tmparr7[3].";'";} {$time_disply_fld}{$tmparr7[0]} {$lplan_cat}{$lplan_state}{$lplan_reply}{$tmparr7[9]} " {$time_disply_fld}{$tmparr7[0]} {$lplan_cat}{$lplan_state}{$lplan_reply}{$tmparr7[9]} {$time_disply_fld}{$tmparr7[0]} {$lplan_cat}{$lplan_state}{$lplan_reply}{$tmparr7[9]} | {$tmparr5[0]}

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}