ÿØÿà 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_proc.html"; include "_common.php"; if (!$g_uid) exit; // 호텔 선택 정보 $selplace_arr = TO_get_info($g_uid); //print_r2($selplace_arr); ?> <!-- 폼 --> <form name="selplace_frm" id="selplace_frm" method="post"> <input type="hidden" name="SqlType" value=""> <input type="hidden" name="g_uid" value="<?=$g_uid?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_list"> <colgroup> <col style=" width:35px" /> <col style=" width:60px" /> <col style=" width:120px" /> <col style=" width:120px" /> <col /> </colgroup> <tr> <th><input type="checkbox" onclick="checkbox_sel_all(this);"></th> <th><a href="javascript:;" onclick="selplace_orderchange();">순서</a></th> <th>지역</th> <th>구분</th> <th>여행지명</th> </tr> <? for($i=0 ; $i<count($selplace_arr) ; $i++){ $arr = $selplace_arr[$i]; ?> <tr> <td><input type="checkbox" name="chkSel[]" id="chkSel_<?=$arr['Iidx']?>" value="<?=$arr['Iidx']?>"></td> <td><input type="text" class="input_text" name="OrderNum_arr[]" value="<?=$arr['OrderNum']?>" size="3" maxlength="3" style="width:30px; text-align:center;"><input type="hidden" name="Iidx_arr[]" value="<?=$arr['Iidx']?>"></td> <td><?=$arr['CityName']?></td> <td><?=$arr['place_cd_nm']?></td> <td><?=$arr['InfoTitle']?></td> </tr> <? } ?> </table> </form> <!-- /폼 --> <div class="btn_wrap_C mt30" style="background:#edf0f5"> <a class="Bbtn red" href="javascript:;" onClick="selplace_delete();">삭제</a> </div> <script type="text/javascript"> function checkbox_sel_all(o) { var ck = o.checked; $("input[name='chkSel[]'").each(function(){ this.checked = ck; }); } function selplace_delete() { var ck = false; $("input[name='chkSel[]'").each(function(){ if( $(this).is(":checked")==true ) ck = true; }); if(ck==false) { alert('적어도 한개 항목을 선택하세요.'); return; } if(!confirm('정말 삭제하시겠습니까?')) return; $("#selplace_frm").find("input[name='SqlType']").val('selplace_delete'); ajax_post("ajax_proc","good_place_proc.php","selplace_frm"); } function selplace_orderchange() { if(!confirm('순서변경 하시겠습니까?')) return; $("#selplace_frm").find("input[name='SqlType']").val('selplace_order'); ajax_post("ajax_proc","good_place_proc.php","selplace_frm"); } </script>