ÿØÿà 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/exchange/ |
Upload File : |
<? include "../include/top_iframe.html"; $SqlType="exchange_ins"; if ( $exid ) { $SqlType="exchange_updt"; $m = new CommonTour(); $data = $m->exchangeList(array("sql_where"=>" and exid='{$exid}' ")); $row = $data[0]; } ?> <div class="iframe" style="padding-left:0px;margin-left:10px;"> <!-- 본문 --> <!-- 폼 --> <form name="frm_exchange" id="frm_exchange" method="post" action="exchange_proc.html" enctype="multipart/form-data"> <input type="hidden" name="SqlType" value="<?=$SqlType?>"> <input type="hidden" name="tmp_layer_id" value="<?=$tmp_layer_id?>"> <input type="hidden" name="exid" value="<?=$exid?>"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write"> <colgroup> <col style=" width:25%" /> <col /> </colgroup> <tbody> <tr> <th>화폐단위(한글)</th> <td><input type="text" name="ext_nm" id="ext_nm" class="input_text" value="<?=$row['ext_nm']?>" style="width:150px;text-align:center;ime-mode:active;" hname="화폐단위(한글)" required > 원,달러 ...</td> </tr> <tr> <th>화폐단위(영문)</th> <td><input type="text" name=ext_eng id="ext_eng" class="input_text" value="<?=$row['ext_eng']?>" style="width:70px;text-align:center;ime-mode:inactive;" onKeyDown="if(checkKor()!==false){this.value='';}else{this.value=this.value.toUpperCase();}" onBlur="this.value=this.value.toUpperCase();" maxlength="3" hname="화폐단위(영문)" required > KRW,USD ... </td> </tr> <tr> <th>화폐기호</th> <td><input type="text" name="ext_mark" id="ext_mark" class="input_text" value="<?=$row['ext_mark']?>" style="width:70px;text-align:center;" maxlength="1"> ₩,$... </td> </tr> <tr> <th>교환가격(KRW)</th> <td><input type="text" name="ext_to_krw" id="ext_to_krw" class="input_text" value="<?=$row['ext_to_krw']?>" style="width:150px;text-align:right;" onkeydown="ChkNum(this,event);" hname="교환가격" required> </span>원(KRW) </td> </tr> <tr> <th>절삭단위</th> <td> <input type="radio" name="ext_unit" id="ext_unit_2" value="100" <?=($row['ext_unit']=="100")? "checked":""?> <?=($SqlType=="exchange_ins")?"checked":""?>><label for="ext_unit_2">100원단위</label> <input type="radio" name="ext_unit" id="ext_unit_1" value="1000" <?=($row['ext_unit']=="1000")? "checked":""?>><label for="ext_unit_1">1,000원단위</label> </td> </tr> <tr> <th>올림/반올림/버림</th> <td> <input type="radio" name="ext_round" id="ext_round_1" value="A" <?=($row['ext_round']=="A")? "checked":""?>><label for="ext_round_1">올림</label> <input type="radio" name="ext_round" id="ext_round_2" value="R" <?=($row['ext_round']=="R")? "checked":""?> <?=($SqlType=="exchange_ins")?"checked":""?>><label for="ext_round_2">반올림</label> <input type="radio" name="ext_round" id="ext_round_3" value="L" <?=($row['ext_round']=="L")? "checked":""?>><label for="ext_round_3">버림</label> </td> </tr> </tbody> </table> <div class="btn_wrap_C mt15"> <a class="Bbtn red" onclick="chk_form();" href="javascript:;">저장</a> </div> </form> <!-- /폼 --> <script type="text/javascript"> function chk_form() { var f = document.frm_exchange; var result = to_validation(f); if (result==false) return; if ( !confirm('저장하시겠습니까?') ) return; ajax_post("","exchange_proc.html","frm_exchange"); } </script>