PlannerXE123 Q&A 게시판
乾 (하늘 건) · 建 (세울 건) / 件 (사건 건) · 健 (튼튼할 건)
市井之人 시정지인
시중의 속인.

수정버튼을 누르지 않고 글 보기에서 시작날자,시작시간,종료시간 바로 수정할 수 있을까요??

 

view.document.html 에서 아래와 같이 수정했는데 잘 안되네요. 도움 부탁드려요~

 


<!--//본문내 일정시작 선택-->
<block cond="$logged_info->member_srl==$oDocument->get('member_srl')||$grant->manager">
 <div>
 <block cond="$ext_v2">
 {@
 $oDB = &DB::getInstance();
 $sql = $oDB->_query('SELECT COUNT(*) as count FROM xe_document_extra_vars WHERE document_srl='.$document_srl.' and module_srl ='.$module_info->module_srl.' and eid="ext_plan_start"');
 $rec_count = $oDB->_fetch($sql);
 }
 <!--@if($rec_count->count==0)-->
 {@ 
 $query = $oDB->_query('INSERT INTO xe_document_extra_vars (module_srl, document_srl,var_idx,lang_code,value,eid) VALUES ('.$module_info->module_srl.','.$document_srl.',2,"ko","'.$ext_v2.'","ext_plan_start")');
 }
 <!--@else-->
 {@ $query = $oDB->_query('update xe_document_extra_vars set value = "'.$ext_v2.'" where document_srl = '.$document_srl.' and module_srl = '.$module_info->module_srl.' and eid = "ext_plan_start"');
 }
 <!--@end-->

 <!--@if($rec_count->count==0)-->
 {@ 
 $query = $oDB->_query('INSERT INTO xe_document_extra_vars (module_srl, document_srl,var_idx,lang_code,value,eid) VALUES ('.$module_info->module_srl.','.$document_srl.',2,"ko","'.$ext_v2.'","ext_plan_start")');
 }
 <!--@else-->
 {@ $query = $oDB->_query('update xe_document_extra_vars set value = "'.$ext_v2.'" where document_srl = '.$document_srl.' and module_srl = '.$module_info->module_srl.' and eid = "ext_plan_start"');
 }
 <!--@end-->

 <script>location.href="{str_replace('amp;', '', getUrl('ext_v2', ''))}"</script>
 </block>
 <script language="JavaScript" src="js/date_picker.js"></script>
 

  <!--//본문내 시작,종료시간 선택-->
  <!--//<block cond="$logged_info->member_srl==$oDocument->get('member_srl')||$grant->manager">-->
   <block cond="$ext_v3">
   {@
 $oDB = &DB::getInstance();
 $query = $oDB->_query('update xe_document_extra_vars set value = "'.$ext_v3.'" where document_srl = '.$document_srl.' and module_srl = '.$module_info->module_srl.' and eid = "ext_plan_time"');
 }
   <script>location.href="{str_replace('amp;', '', getUrl('ext_v3', ''))}"</script>
   </block>
   </block>

번호 제목 글쓴이 날짜 조회 수 최종 글
공지 PlannerXE123 Ver 5.12.0 배포 안내 (2024/02/12) 늘푸른나무2 2024.02.13 93  
154 PlannerXE123 Ver 5.10.1 배포 안내 (2021/07/17) [2] 늘푸른나무2 2021.07.17 440 2023.05.05 by 늘푸른나무2
153 스킨이 다운안되는것 같아요 [1] 문의 2020.08.30 318 2020.09.02 by 늘푸른나무2
152 플래너 문의 [31] file 플래너 2020.12.24 210 2021.01.15 by 늘푸른나무2
151 달력부분에 확장변수로 입력된 값 출력하는 방법 없을까요? [3] onetim 2020.05.19 193 2020.05.20 by 늘푸른나무2
150 일정 작성관련 질문있습니다 [5] file rsef 2020.07.14 186 2020.07.16 by 늘푸른나무2
149 PlannerXE123 Ver 5.8.1 배포 안내 (2021-01-15) 늘푸른나무2 2021.01.13 181  
148 늘푸른나무님 항상 감사드립니다. 스샷처림 확장변수 가있을때수정시 세로로 나오는대 가로방향 정렬하고싶은대 알려주세요!! [1] file shsh 2020.11.29 180 2020.11.29 by 늘푸른나무2
147 글을 쓴 뒤 달력에 표시되지 않는 현상 [5] 냠냠 2020.03.30 171 2021.03.01 by 테스트
146 웹사이트 프로그램을 XE 에서 Rhymix 2.0.4 로 업데이트 - 내용 무 늘푸른나무2 2021.01.11 159  
145 PlannerXE123 Ver 5.11.1 배포 안내 (2023/07/20) 늘푸른나무2 2023.07.19 150  
144 반복일정 관련 문의 [3] 아싸 2020.06.17 150 2020.07.08 by 늘푸른나무2
143 2가지 개선 부탁드립니다. (상태정보 자동 변경, 글쓰기 완료시 하단 스타일 유지) [17] 밥탱 2023.06.12 148 2024.01.08 by 늘푸른나무2
142 PlannerXE123 Ver 5.8.3 배포 안내드립니다. (2021-02-06) 늘푸른나무2 2021.02.07 147  
141 XE플래너 활용기 [1] file 플래너 2021.03.21 146 2021.03.21 by 늘푸른나무2
140 스킨 수정 문의드립니다. [3] file 2020.09.27 136 2020.09.28 by 늘푸른나무2
139 PHP8 대응 PlannerXE123 Ver 5.9.1 배포 안내드립니다. (2021-04-04) [4] 늘푸른나무2 2021.03.03 132 2021.07.01 by 늘푸른나무2
138 스킨을 수정하고 싶습니다 [1] masterhwan 2020.04.16 129 2020.04.16 by 늘푸른나무2
137 게시판에 추천 기능을 넣을 수 없나요? [1] ㅇㅇ 2020.04.19 127 2020.04.19 by 늘푸른나무2
136 글 보기시 본문내 체크박스 보이게 할 수 있을까요? [5] 밥탱 2022.10.18 125 2022.10.20 by 늘푸른나무2
135 라이믹스 8.0.3 php 8.0.3 오류 발생 알려드립니다. [3] file 가을풍경 2021.03.22 125 2021.03.22 by 늘푸른나무2
XE Login