ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/toadmin/good/ |
Upload File : |
<? include "../include/top_iframe.html"; include "_common.php"; if (!$g_uid and !$dtid) exit; // 상품정보 $arr = good_list(" and g_uid='{$g_uid}' "); $row_good = $arr[0]; // 기본일정표 $base_sch_data = toad_schedule($g_uid," and Sort='0' "); // 행사선택 일정표 수정 if ($d_uid_ga) { $d_uid_arr = explode(",",$d_uid_ga); if(is_array($d_uid_arr)){ foreach($d_uid_arr as $v) { if($v) $d_uid_ar[] = $v; }} // 행사 ID $d_uid = $d_uid_ar[0]; // 행사정보 $data = date_list($g_uid,"none"," and d_uid='{$d_uid}' "); $row = date_list_replace($data[0]); // SqlType $SqlType = "schedule_sel_updt"; } // 전체행사 일정표 수정 else{ // SqlType $SqlType = "schedule_all_updt"; } ?> <div class="iframe"> <!-- 본문 --> <!-- 폼 --> <form name="frmdate" id="frmdate" method="post"> <input type="hidden" name="SqlType" value="<?=$SqlType?>"> <INPUT TYPE="hidden" NAME="tmp_layer_id" value="<?=$tmp_layer_id?>"> <input type="hidden" name="g_uid" value="<?=$g_uid?>"> <input type="hidden" name="dtid" value="<?=$dtid?>"> <? // 선택된 행사ID for($i=0 ; $i<count($d_uid_ar); $i++) { $d_uid = $d_uid_ar[$i]; ?> <input type="hidden" name="d_uid_ar[]" value="<?=$d_uid?>"> <? } ?> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <tbody> <tr> <th width="100px">기본일정표선택</th> <td><select name="" id="comm_dateform_list" style="width:310px" onchange="common_base_dateform(this.value)"> <option value="">==선택==</option> <? for( $i=0 ; $i<count($base_sch_data) ; $i++){ $base_sch_arr = $base_sch_data[$i]; ?> <option value="<?=$base_sch_arr['SiDX']?>"><?=$base_sch_arr['ScheduleTitle']?></option> <?}?> </select></td></tr> <tr> <td colspan="2"><textarea name="d_content" id="d_content" class="" ><?=$row['d_content']?></textarea></td> </tr> </tbody> </table> <ul class="btn_button"> <li class="btn_sky"> <a nohref="" onclick="chk_form();" style="cursor:pointer;">저장</a> </li> </ul> </form> <!-- /폼 --> </div> <!-- 본문 --> <script type="text/javascript"> function chk_form() { var f = document.frmdate; var result = to_validation(f); if ( result == false ) return false; if (!confirm('저장하시겠습니까?')) return false; $("#d_content").val(CKEDITOR.instances.d_content.getData()); ajax_post("ajax_proc","good_date_proc.html","frmdate"); } //일정표 불러오기 function common_base_dateform(sidx) { ajax_post('','good_date_proc.html?SqlType=date_recv&SiDX='+sidx,'','fn_create_date_ckeditor'); // 기본일정표 } // 공통일정표 or 기본일정표 or 생성일정표 or 복사일정표를 data로 받음 function fn_create_date_ckeditor(data,status) { if ( status == "success" ) { // 에디터 instance 생성 var editor = eval('CKEDITOR.instances.d_content'); // 에디터로 data세팅 editor.setData(data); }else return; } CKEDITOR.replace('d_content', {width:'800px',height:'350px'}); </script> <? include "../include/footer_iframe.html"; ?>