|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/event/gangnam/ |
Upload File : |
<?include "$DOCUMENT_ROOT/conf/conf_dir.php";?>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<?
if($sessionIDX && $S_NAME){
if($mode == "del"){
$query = "update `AUCTION_EVENT3` set `orderstep`='6' where `mbruid`='$sessionIDX' and `orderstep`='2'";
$result = mysql_query($query,$db_con);
echo "<script>alert('ご予約がキャンセルされました。');parent.location.href='/event/gangnam/index.html';</script>";
}else{
$orderstep =2; //2 : 예약완료,6 : 취소
if($ticket1 == 1){
$memo="";
}
$query = "
INSERT INTO `AUCTION_EVENT3`
(`no`,
`orderstep`,
`buynum`,
`mbruid`,
`member_id`,
`o_name`,
`o_email`,
`o_tel`,
`o_memo`,
`d_regis`) VALUES
('',
'$orderstep',
'$ticket1',
'$sessionIDX',
'$sessionID',
'$S_NAME',
'$email',
'$tel',
'$memo',
now()
);";
$result = mysql_query($query,$db_con);
echo "<script>alert('予約が完了しました。');parent.location.href='/event/gangnam/confirm.html';</script>";
}
}else{
echo "<script>alert('情報が正しくありません。もう一度入力お願いします。');parent.location.href='/event/gangnam/rsv.html';</script>";
}
?>