ÿØÿà JFIF ` ` ÿþ
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/bbs/ |
Upload File : |
<? include_once("./_common.php"); if($_GET[wr_link1] && $_GET[wr_link1] != "") $wr_link1 = $_GET[wr_link1]; if($_POST[wr_link1] && $_POST[wr_link1] != "") $wr_link1 = $_POST[wr_link1]; if($_GET[wr_2] && $_GET[wr_2] != "") $wr_2 = $_GET[wr_2]; if($_POST[wr_2] && $_POST[wr_2] != "") $wr_2 = $_POST[wr_2]; $wr_data = explode('-',$wr_link1); $wr_data = $wr_data[0].$wr_data[1].$wr_data[2]; $query = "select wr_yn from g4_write_zyi_reserv where wr_link1 = '$wr_data' and wr_2='$wr_2' "; $result = sql_query($query); $row = mysql_fetch_array($result); if($row[wr_yn] == 'N'){ echo "<Script type='text/javascript'>alert('예약 불가능한 날짜 입니다.');parent.document.getElementById(\"search_value2\").value='';</Script> "; }else{ echo "<Script type='text/javascript'>parent.document.getElementById(\"search_value2\").focus();</Script> "; } ?>