ÿØÿà 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/admin/setting/ |
Upload File : |
<? include "../include/top_proc.html"; //공통파일 인클루드 include "_common.php"; if (!$Aidx or !$Bidx) exit; // 국가코드 $data = to_area_c($Aidx,$Bidx); ?> <!-- 폼 --> <form name="frm_write_c" id="frm_write_c" method="post"> <input type="hidden" name="SqlType" value="areac_ins"> <input type="hidden" name="Aidx" value="<?=$Aidx?>"> <input type="hidden" name="Bidx" value="<?=$Bidx?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_s_register"> <thead> </thead> <tbody> <tr> <th scope="row"><label for="CdName">도시명</label></th> <td><input name="CityName" type="text" size="20" class="input_text" onKeyDown="if(event.keyCode==13){Code.focus();}" hname="도시명" required /></td> </tr> <tr> <th scope="row"><label for="Bidx">코드(3자리)</label></th> <td><input name="Cidx" type="text" size="6" class="input_text" value="" maxlength="3" style="text-align:center;ime-mode:disabled;text-transform:uppercase;" onChange="javascript:this.value=this.value.toUpperCase();" onKeyDown="if(event.keyCode==13){area_ins('frm_write_c');}" hname="코드(3자리)" required /> <input type="button" class="Table_btn gray" value="등록" tabIndex="12" onClick="area_ins('frm_write_c');" /></td> </tr> </tbody> </table> </form> <!-- /폼 --> <!-- 폼 --> <form name="frm_list_c" id="frm_list_c" method="post"> <input type="hidden" name="SqlType" value="ordernum_c"> <input type="hidden" name="Aidx" value="<?=$Aidx?>"> <input type="hidden" name="Bidx" value="<?=$Bidx?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_list"> <colgroup> <col style=" width:40px" /> <col style=" width:60px" /> <col style=" width:40px" /> <col /> <col style=" width:50px" /> </colgroup> <thead> <tr> <th scope="col"><a href="#" onClick="ordernum_area('frm_list_c');">순서</a></th> <th scope="col"> <?if($cf['tab']['P']=="Y" or $cf['tab']['D']=="Y" or $cf['tab']['T']=="Y"){?>여행 <?php }?> <?if($cf['tab']['L']=="Y"){?>호텔<?php }?> <?if($cf['tab']['R']=="Y"){?><!-- 렌트카 --> <?php }?> </th> <th scope="col">코드</th> <th scope="col">도시명</th> <th scope="col">-</th> </tr> </thead> <tbody> <? for($i=0; $i<count($data) ; $i++) { $arr = $data[$i]; ?> <tr> <td> <input name="OrderNum_arr[]" type="text" value="<?=$arr['OrderNum']?>" class="t_no" maxlength="2" style="text-align:center;ime-mode:inactive;ime-mode:disabled" onKeyDown="ChkNum(this,event);" autocomplete='off'/> <input type="hidden" name="Cidx_arr[]" value="<?=$arr['Cidx']?>"> </td><!-- 순서 --> <td> <?if($cf['tab']['P']=="Y" or $cf['tab']['D']=="Y" or $cf['tab']['T']=="Y"){?><input type="checkbox" value="N" <?=($arr['DelFlag']=="N")?"checked":""?> onclick="chg_flag_c('DelFlag','<?=$arr['Cidx']?>',this);"> <?php }?> <?if($cf['tab']['L']=="Y"){?><input type="checkbox" value="N" <?=($arr['DelFlagH']=="N")?"checked":""?> onclick="chg_flag_c('DelFlagH','<?=$arr['Cidx']?>',this);"><?php }?> <?if($cf['tab']['R']=="Y"){?><!--<input type="checkbox" value="N" <?=($arr['DelFlagR']=="N")?"checked":""?> onclick="chg_flag_c('DelFlagR','<?=$arr['Cidx']?>',this);">--><?php }?> </td><!-- 일반/항공/호텔 --> <td><?=$arr['Cidx']?></td><!-- 코드 --> <td class="t_title"> <?=$arr['CityName']?> </td><!-- 국가명 --> <td> <img src="../image/btn/icon_write.gif" align="top" alt="수정" onClick="to_dialog.ajax('areac_edit.html?Aidx=<?=$Aidx?>&Bidx=<?=$Bidx?>&Cidx=<?=$arr['Cidx']?>','도시명 수정','400','250',true,true)" style="cursor:pointer;" /> <img src="../image/btn/icon_del.gif" align="top" alt="삭제" onClick="if(!confirm('정말삭제하시겠습니까?'))return;ajax_loader('area_setting_proc.html?SqlType=areac_delete&Aidx=<?=$Aidx?>&Bidx=<?=$Bidx?>&Cidx=<?=$arr['Cidx']?>');" style="cursor:pointer;" /> </td><!-- 수정 --> </tr> <?}?> </tbody> </table> </form> <!-- /폼 --> <script Language="javascript"> if (bidx) { $('#nation_nm_'+bidx).removeClass(); } bidx = '<?=$Bidx?>'; $('#nation_nm_'+bidx).addClass('title_on'); function chg_flag_c(flag_nm , Cidx , obj) { var flag = "Y"; if ( obj.checked == true ) flag = "N" ; ajax_loader('area_setting_proc.html?SqlType=areac_flag&Aidx=<?=$Aidx?>&Bidx=<?=$Bidx?>&Cidx='+Cidx+'&flag_nm='+flag_nm+'&flag='+flag); } </script>