{@$ind_use_category = $module_info->use_category;} {@$reservation_arr[$val->category_srl] = null} {@$reservation_arr = array('0'=>null)} {@ $wrking_start_stamp = mktime(substr($working_start,0,2), substr($working_start,3,2), 0, 0, 0, 0); $wrking_end_stamp = mktime(substr($working_end,0,2), substr($working_end,3,2), 0, 0, 0, 0); } {@ $tmp_fld03 = date('H', $i).":".date('i',$i); $reservation_arr[$key][$tmp_fld03] = "*"; } {@ $tmp_beginday=$extra_keys[1]->value; $wrkYear = substr($tmp_beginday,0,4); $wrkMonth = substr($tmp_beginday,4,2); $wrkDay = substr($tmp_beginday,6,2); } {@$tmparr=explode("-", $extra_vars1);} {@ $wrkYear = $tmparr[0]; $wrkMonth = $tmparr[1]; $wrkDay = $tmparr[2]; } {@ $wrkYear = date("Y"); $wrkMonth = date("n"); $wrkDay = date("d"); } {@ $dispStartYY = $wrkYear; $dispStartMM = substr("0".$wrkMonth, -2);//월 을 "7" 에서 "07"로 $dispStartDD = $wrkDay; $dispEndYY = $wrkYear; $dispEndMM = substr("0".$wrkMonth, -2);//월 을 "7" 에서 "07"로 $dispEndDD = $wrkDay; } {@ $tmp_slt_s_mmdd = $dispStartMM.$dispStartDD; $tmp_slt_e_mmdd = $dispEndMM.$dispEndDD; $tmp_slt_s_mmdd2 = '0000'; $tmp_slt_e_mmdd2 = '0000'; } {@ $tmp_slt_s_mmdd = $dispStartMM.$dispStartDD; $tmp_slt_e_mmdd = '1231'; $tmp_slt_s_mmdd2 = '0101'; $tmp_slt_e_mmdd2 = $dispEndMM.$dispEndDD; } {@ $obj = new stdClass;// 클리어 $obj->var_0 = '0'; $obj->site_srl = ''; //0을 넣으면 이상해짐 $obj->module_srl = $module_info->module_srl; $obj->sort_index_1 = 'extra_value_end';// (일정시작 일) start를 end로(2010-08-01) $obj->order_type_1 = 'desc'; $obj->sort_index_default_1 = 'extra_value_end'; $obj->sort_index_1_1 = 'extra_value_start';// (일정시작 일) (2010-08-01 $obj->order_type_1_1 = 'desc'; $obj->sort_index_default_1_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'; //게시판설정 선택값이 null 일때 $obj->list_count = $list_count*10; // 게시판 설정값 10배의 일정표시 (예:기본 20일때 200개까지 $obj->page_count = $page_count; // 게시판 설정값 $obj->var_period_start = $dispStartYY.$dispStartMM.$dispStartDD; // 선택 범위시작 - 당일 >= $obj->var_period_end = $dispEndYY.$dispEndMM.$dispEndDD; //선택 범위 끝 - 당일 <= $obj->var_start_mmdd = $tmp_slt_s_mmdd; // 년단위 반복일정만 있는경우 선택 범위시작 $obj->var_end_mmdd = $tmp_slt_e_mmdd; // 년단위 반복일정만 있는경우 선택 범위 끝 $obj->var_start_mmdd2 = $tmp_slt_s_mmdd2; // 년단위 반복일정만 있는경우 선택 범위시작 2 $obj->var_end_mmdd2 = $tmp_slt_e_mmdd2; // 년단위 반복일정만 있는경우 선택 범위 끝 2 $obj->var_fld_null = "0"; // null 대신값 (null이면 이상해짐) $obj->var_fin = serialize("F");// 완료일정-Finished $obj->var_rej = serialize("R");// 취소일정-Reject $query_path = $module_info->module."/skins/".$module_info->skin; // 쿼리경로 $output = executeQueryArray($query_path.'.getDocumentsForPlanner_reservation', $obj); // 유효 일정 } {@$tmp_time_arr = explode('|@|',$attribute->extra_value_time);} {@$tmp_fld01 = $tmp_rev_time;} {@$reservation_arr[$attribute->category_srl][$tmp_fld01] = "R";} {@$reservation_arr[0][$tmp_fld01] = "R";}