|
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/yuchun/ |
Upload File : |
<?
require $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";
require "inc_top_set.php";
if($sessionIDX == "0" || $sessionIDX == ""){
LoginCheck();
exit;
}
//회원정보 호출
if($sessionIDX)
{
$res = Get_dbres("select * from user where id = '$sessionIDX'");
$row3 = mysql_fetch_array($res);
$res2 = Get_dbres("select * from user_profiles where user_id = '$sessionIDX'");
$row2 = mysql_fetch_array($res2);
$zipcode = $row2[zip];
}
if($mode == "order" || $param3)
{
//buyfix=1 display=0 이라면 지우기.
$fixqry="select uid from shop_order where buyfix=1 and display=0 and mbruid='$sessionIDX'";
$result= Get_dbres($fixqry);
$total = mysql_affected_rows();
if($total){
for($i=0; $i<$total; $i++){
$row = mysql_fetch_array($result);
if($row[uid]){
$cashqry = "delete from shop_order where buyfix=1 and mbruid='$sessionIDX' and uid='$row[uid]'";
$result = Put_db($cashqry);
$cashqry2 = "delete from shop_ordergoods where parent='$row[uid]' and mbruid='$sessionIDX'";
$result2 = Put_db($cashqry2);
//echo "ss";
}
}
}
if($param3) $idx=$param3; //mypage에서 넘어오는값.
$qry = "
SELECT
A.uid as puid,
A.display,
A.point,
B.optPrice as price,
B.optName as name,
B.uid as optuid
FROM
shop_product as A , shop_product_opt as B
WHERE
A.uid='$idx' and
A.uid=B.product_prt
ORDER BY B.uid
";
$result= mysql_query($qry,$db_con);
$total = mysql_affected_rows();
if($total == 0)
{
$BOARD_LS = "<tr bgcolor='#FFFFFF'>
<td height='30' colspan='4' align='center'>データがありません。</td>
</tr>";
}
else
{
for($i=0; $i<$total; $i++)
{
$row = mysql_fetch_array($result);
if($param3){
$goodsCnt0=1;
$tmpForm ="<input type='hidden' name='buynum[]' value='${goodsCnt.$i}'/>";
}else{
$tmpForm ="<input type='text' name='buynum[]' style='width:20px;' value='${goodsCnt.$i}' readonly/>個<br />";
}
if(${goodsCnt.$i} !=0)
{
$imgName = get_db("select file_name from files where module_no = '$row[puid]' and module_name='shop' and module_type='T'");
if($imgName){
$imgName1 = "<img src='/files/muti/shop/$imgName' width='100%'>";
}else{
$imgName1 = "";
}
$sumPrice = ${goodsCnt.$i} * $row[price];
$totalPrice = $totalPrice + $sumPrice;
$totalCnt = $totalCnt + ${goodsCnt.$i};
$BOARD_LS .= "
<input type='hidden' name='tmp_display' value='$row[display]'>
<input type='hidden' name='goodsname[]' value='$row[name]'>
<input type='hidden' name='goodPrice[]' value='$row[price]'>
<input type='hidden' name='optNum[]' value='$row[optuid]'>
<input type='hidden' name='optName[]' value='$row[name]'>";
$BOARD_LS .= "<tr class='items'>
<td style='padding:20px;'>$imgName1</td>
<td class='al_left' style='text-align:center;'>$row[name]</td>
<td class='v_al_top' style='text-align:center;'>
".number_format($row[price])."円 <br/>
$tmpForm
</td>
<td class='v_al_top' style='text-align:center;'>".number_format($sumPrice)." 円</td>
</tr>";
if($i==0) $title_name= $row[name];
}
}
}
}else{
Alert_go("ERROR!!.","/");
}
//배송정보
if($idx==3){
//랜선팬미팅 정보동의로 수정.
$DELI_NAME = "個人上方収集・利用 ";
$DELI_PRICE= "<input type='radio' name='deliradio' value='0' onclick='chkdeli(this.value);' />情報収集に同意します。<br>
<textarea class='input_txt' readonly>
個人情報提供への同意
(株)ルック・コリアは個人情報処理方針に伴う、サービス及びサポートなどを提供するため、個人情報の第三者提供(パンヤTV)及び当社サービスの便益提供を目的(ID、PW、ニックネーム)及び処理委託を含む個人情報の利用及び収集に同意します。 [必須]
</textarea>
";
$DELI_FORM = "<div class='input_wrap'>
<div class='input_title' >配送選択</div>
<div class='input_content'>$DELI_PRICE</div>
</div>";
}else{
$DELI_NAME = "配送選択";
//$QUERY_PAGE = "SELECT * FROM shop_deli";//굿즈여러개 현장수령일때
$QUERY_PAGE = "SELECT * FROM shop_deli where product = '$idx'";
$results= mysql_query($QUERY_PAGE,$db_con);
$totals = mysql_affected_rows();
for($i=0; $i<$totals; $i++)
{
$rows = mysql_fetch_array($results);
$DELI_PRICE = "<input type='radio' name='deliradio' value='".$rows[deliPrice]."' onclick='chkdeli(this.value);' /> ".$rows[deliName]." ".$rows[deliPrice]."円";
}
if(!$DELI_PRICE){
$deli_price0 = 0;
}else{
$deli_price0 = "";
$DELI_FORM = "<div class='input_wrap'>
<div class='input_title' >配送選択</div>
<div class='input_content'>$DELI_PRICE</div>
</div>";
}
}
if($row[point]==1){
$cash_price = Get_db("select CS_SHARE from user_event_cash where MEM_IDX='$sessionIDX' order by CS_ID desc");
if($cash_price){
$cash_input = "<input type='text' style='width:30%' name='cash_used_price' id='cash_used_price' readonly/>
<input type='checkbox' name='cash_chkbox' id='cash_chkbox' value='".$cash_price."' onclick='chkcash(this.value);' /> 保有 CASH".$cash_price." 円";
$CASH_FORM = "<div class='input_wrap'>
<div class='input_title' >CASH</div>
<div class='input_content'>$cash_input</div>
</div>";
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-title" content="<?=$metaTitle?>" />
<link rel="apple-touch-icon" href="/images/homeicon.png" />
<link rel="shortcut icon" href="/images/homeicon.png" />
<meta property="og:type" content="website">
<meta property="og:image" content="/images/og_img.jpg">
<meta property="og:url" content="http://<?=$HomeUrl?>">
<meta property="og:title" content="<?=$metaTitle?>"/>
<meta property="og:description" content="<?=$metaDescription?>"/>
<meta name="description" content="<?=$metaDescription?>"/>
<meta name="keywords" content="<?=$metaKeywords?>" />
<title><?=$metaTitle?></title>
<link rel="stylesheet" type="text/css" href="../sys_css_js/css_common.css"/>
</head>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript" ></script>
<link rel="stylesheet" type="text/css" href="../sys_css_js/order_step.css"/>
<script type="text/javascript">
<!--
jQuery(document).ready(function()
{
$("#PAY_METHOD1,#PAY_METHOD2,#PAY_METHOD3").click(function()
{
$("#MAIN").show();
$("#SELECT_DEFAULT").hide();
if($('#PAY_METHOD1:checked').val()) { $('#SELECT_BANK').show(); $('#SELECT_CARD').hide(); $("#SELECT_CONVENIENCE").hide(); $("#back_btn").hide();} // SELECT_BANK
if($('#PAY_METHOD2:checked').val()) {
$('#SELECT_BANK').hide(); $('#SELECT_CARD').show(); $("#SELECT_CONVENIENCE").hide(); $("#back_btn").hide();
var f = document.regForm;
f.buyer.value = $('#o_name').val();
f.email.value = $('#o_email').val();
f.tel.value = $('#o_tel').val();
} // SELECT_CARD
if($('#PAY_METHOD3:checked').val()) { $('#SELECT_BANK').hide(); $('#SELECT_CARD').hide(); $("#SELECT_CONVENIENCE").show(); $("#back_btn").hide(); } // SELECT_CONVENIENCE
});
});
function payment(){
alert("準備中です。");
return;
var obj = document.form;
if(!obj.o_name.value){
alert("お名前をご入力下さい.");obj.o_name.focus();return;
}else if(!obj.o_email.value){
alert("E-mailを正確にご入力下さい.");obj.o_email.focus();return;
}else if(!obj.o_zip.value){
alert("郵便番号をご入力下さい。");obj.o_zip.focus();return;
}else if(!obj.o_addr.value){
alert("住所ををご入力下さい");obj.o_addr.focus();return;
}else if(!obj.o_tel.value){
alert("電話番号をご入力下さい..");obj.o_tel.focus();return;
}else if(!obj.r_name.value){
alert("お名前をご入力下さい.");obj.r_name.focus();return;
}else if(!obj.r_email.value){
alert("E-mailを正確にご入力下さい.");obj.r_email.focus();return;
}else if(!obj.r_zip.value){
alert("郵便番号をご入力下さい。");obj.r_zip.focus();return;
}else if(!obj.r_addr.value){
alert("住所ををご入力下さい");obj.r_addr.focus();return;
}else if(!obj.r_tel.value){
alert("電話番号をご入力下さい..");obj.r_tel.focus();return;
}else if(!obj.deli_price.value){
alert("配送選択をお選び下さい.");
obj.deliradio.focus();
return;
}
var frm = document.regForm;
if(frm.param1.value==""){
document.form.mode.value = "order_proc";
var params = jQuery("#form").serialize(); // serialize() : 입력된 모든Element(을)를 문자열의 데이터에 serialize 한다.
jQuery.ajax({
url: 'store_order_proc.php',
type: 'POST',
data:params,
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
dataType: 'html',
success: function (result) {
if (result == "kkk"){
//alert(result);
// 데이터 이미있음
alert("既に予約しました.");
location.href="/mypage_goods.php";
}else if(result){
//alert(result);
// 데이타 성공일때 이벤트 작성
var RESplit = result.split(',');
frm.param1.value = RESplit[0];
frm.param2.value = RESplit[1];
window.open("", "payment2", "resizable=yes,scrollbars=yes,width=820,height=600");
frm.target = "payment2";
frm.submit();
}
}
});
}else{
window.open("", "payment2", "resizable=yes,scrollbars=yes,width=820,height=600");
frm.target = "payment2";
frm.submit();
}
}
//-->
</script>
<script language="JavaScript">
<!--
function send_input(flag){
var f = document.form;
if(flag==1){
f.r_name.value = f.o_name.value;
f.r_email.value = f.o_email.value;
f.r_tel.value = f.o_tel.value;
f.r_addr.value = f.o_addr.value;
f.r_zip.value = f.o_zip.value;
}else{
f.r_name.value ="";
f.r_email.value="";
f.r_tel.value="";
f.r_addr.vaule = "";
f.r_zip.vaule = "";
}
}
function chkdeli(val){
var f = document.form;
if(!f.deli_price.value){
f.deli_price.value = val;
f.total_price.value = eval(f.total_price.value)+eval(val);
document.getElementById("span_price1").innerHTML = f.total_price.value+"円";
document.regForm.amt.value=f.total_price.value;
}
}
function chkcash(val){
//alert(val);
var chk = document.getElementById('cash_chkbox').checked;
var f = document.form;
if(chk == true){
document.getElementById("cash_used_price").value= val;
f.total_price.value = eval(f.total_price.value) - eval(val);
}else{
document.getElementById("cash_used_price").value= "";
var tmp_deli = f.deli_price.value;
if(!tmp_deli) tmp_deli=0;
f.total_price.value = eval(f.tmp_price.value)+eval(tmp_deli);
}
document.getElementById("span_price1").innerHTML = f.total_price.value+"円";
document.regForm.amt.value=f.total_price.value;
}
function checkr(){
var obj = document.form;
if(!obj.o_name.value){
alert("お名前をご入力下さい.");obj.o_name.focus();return;
}else if(!obj.o_email.value){
alert("E-mailを正確にご入力下さい.");obj.o_email.focus();return;
}else if(!obj.o_zip.value){
alert("郵便番号をご入力下さい。");obj.o_zip.focus();return;
}else if(!obj.o_addr.value){
alert("住所ををご入力下さい.");obj.o_addr.focus();return;
}else if(!obj.o_tel.value){
alert("電話番号をご入力下さい..");obj.o_tel.focus();return;
}else if(!obj.r_name.value){
alert("お名前をご入力下さい.");obj.r_name.focus();return;
}else if(!obj.r_email.value){
alert("E-mailを正確にご入力下さい.");obj.r_email.focus();return;
}else if(!obj.r_zip.value){
alert("郵便番号をご入力下さい。");obj.r_zip.focus();return;
}else if(!obj.r_addr.value){
alert("住所ををご入力下さい.");obj.r_addr.focus();return;
}else if(!obj.r_tel.value){
alert("電話番号をご入力下さい..");obj.r_tel.focus();return;
}else if(!obj.deli_price.value){
alert("配送選択をお選び下さい.");
obj.deliradio.focus();
return;
}
if((obj.r_email.value.indexOf("@")==-1) || (obj.r_email.value.indexOf(".")==-1)){
alert("E-mailを正確にご入力下さい.");
obj.r_email.focus();
return;
}
obj.mode.value = "order_proc";
obj.action = "./store_order_proc.php";
obj.submit();
}
//-->
</script>
<SECTION>
<ARTICLE>
<div class="login_tit"><a href="index.php"><img src="../images/sub/sub_login_top_title.png" /></a></div>
<div class="odr_wrap">
<h1 class="odr_wrap_tit">お客様情報・お支払い</h1>
<div id="board_ls" >
<form id="form" name="form" enctype="multipart/form-data" method="post">
<input type="hidden" name="mode">
<input type="hidden" name="member_code_idx" value="<?=$param3?>" >
<table width="100%" class="basic_table" style="font-size:16px;">
<colgroup>
<col width="20%" />
<col width="30%" />
<col width='25%' />
<col width='25%' />
</colgroup>
<thead>
<tr>
<th class="title_le">商品</th>
<th class="title_le">商品名(オプション)</th>
<th class="title_le">価格/数量</th>
<th class="title_le">金額</th>
</tr>
</thead>
<tbody>
<?=$BOARD_LS ?>
<tr class="bottom_ri" style="background-color:#f0f0f0;">
<td class="re_01" style="padding:2%;">合計</td>
<td class="re_02" colspan="3" style="text-align:right; padding-right:10px;">
<?if(!($idx==1 || $idx==2)){?>
<span>総数量 :</span> <?=$totalCnt ?> 個
<?}?>
<span>総金額 :</span> <?=$totalPrice ?> 円</td>
</tr>
</tbody>
</table>
</div><!--div id="board_ls"-->
<div class="order_form">
<h2>注文顧客情報 </h2>
<div class="account_content">
<div class="input_wrap">
<div class="input_title" >名前</div>
<div class="input_content"><input type="text" id="o_name" name="o_name" class="input_box" value="<?=$row3[kana_name1] ?>" /> </div>
</div>
<div class="input_wrap">
<div class="input_title" >電子メール</div>
<div class="input_content"><input type="text" id="o_email" name="o_email" class="input_box" value="<?=$row3[email] ?>" /> </div>
</div>
<div class="input_wrap">
<div class="input_title" >郵便番号</div>
<div class="input_content"><input type="text" id="o_zip" name="o_zip" class="input_box" value="<?=$zipcode ?>" /> </div>
</div>
<div class="input_wrap">
<div class="input_title" >住所</div>
<div class="input_content"><input type="text" id="o_addr" name="o_addr" class="input_box" value="<?=$row2[juso] ?>" /> </div>
</div>
<div class="input_wrap">
<div class="input_title" >電話番号</div>
<div class="input_content"><input type="text" id="o_tel" name="o_tel" class="input_box" value="<?=$row2[tel] ?>" /> </div>
</div>
</div>
<div class="order_form">
<h2>お届け先情報</h2>
<div style="block; text-align:left; margin:20px;">
<span><input type="radio" name="chkinfo" value="1" onclick="send_input(this.value)"/> 注文顧客情報と同一</span>
<span><input type="radio" name="chkinfo" value="2" onclick="send_input(this.value)" checked/> 新しく追加</span>
</div>
<div class="account_content">
<?=$CASH_FORM ?>
<?=$DELI_FORM ?>
<div class="input_wrap">
<div class="input_title" >注文者名</div>
<div class="input_content"><input type="text" name="r_name" class='input_box' />
<div class="description">商品の受取人の名前をご入力下さい</div>
</div>
</div>
<div class="input_wrap">
<div class="input_title" >電子メール</div>
<div class="input_content"><input type="text" name="r_email" class='input_box'/></div>
</div>
<div class="input_wrap">
<div class="input_title" >郵便番号</div>
<div class="input_content"><input type="text" name="r_zip" class='input_box'/></div>
</div>
<div class="input_wrap">
<div class="input_title" >住所</div>
<div class="input_content"><input type="text" name="r_addr" class='input_box'/></div>
</div>
<div class="input_wrap">
<div class="input_title" >電話番号</div>
<div class="input_content"><input type="text" name="r_tel" class='input_box'/></div>
</div>
<div class="input_wrap">
<div class="input_title" >配送中注意事項</div>
<div class="input_content"><textarea name="memo" class='input_txt'></textarea></div>
</div>
</div>
</div>
<input type="hidden" name="deli_price" value="<?=$deli_price0?>">
<input type="hidden" name="goodsuid" value="<?=$idx?>">
<input type="hidden" name="tmp_price" value="<?=$totalPrice?>">
<input type="hidden" name="total_price" value="<?=$totalPrice?>">
<!--
<div class="center_btn">
<button type="button" class="btn_index" tabindex="5" onclick="javascript: location.href='store.php'">取り消し</button>
<button class="btn_index" tabindex="5" onclick="javascript: checkr(); return false; ">購入する</button>
</div>
-->
</div>
<div class='at_tit'>決済金額</div>
<div id='yoyaku_txt_1055'>
<table width="100%" class="order_tour_table">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<tr>
<th class="title_left">決済金額</th>
<td class="text_right" style='font-size:20px;'>
<span id='span_price1'><?=number_format($totalPrice)?> 円</span>
</td>
</tr>
</table>
</div>
<div class='at_tit'>お支払い方法</div>
<div id='yoyaku_txt_1055'>
<table width="100%" class="order_tour_table">
<colgroup>
<col width="20%" />
<col width="80%" />
</colgroup>
<tr id=PAY_METHOD>
<th class="title_left">支払方法</th>
<td class="text_right">
<input type="radio" id="PAY_METHOD1" name="PAY_METHOD" value="B10"><label for="PAY_METHOD1">銀行振込 </label> <br>
<input type="radio" id="PAY_METHOD2" name="PAY_METHOD" value="C10"><label for="PAY_METHOD2">クレジットカード(準備中)</label> <br>
<!--<input type="radio" id="PAY_METHOD3" name="PAY_METHOD" value="A10"><label for="PAY_METHOD3">コンビニ(準備中) </label>
<br />(コンビニ 準備中です。)-->
</form>
</td>
</tr>
<tr>
<td colspan="2" >
<div id=SELECT_DEFAULT>
※お支払い方法を選択してください。
</div>
<div id="MAIN" style="display: none">
<!-- 은행입금 시작(EX)K COPY) -->
<div id="SELECT_BANK">
<span style="display:block; width:100%; font-size:16px; text-align:left; font-weight:bold; padding:20px 0 5px 0;">銀行振込入金情報</span>
<table width="100%" class="basic_table">
<colgroup>
<col width="30%" />
<col width="70%" />
</colgroup>
<tbody>
<tr>
<th class="title_le_w"> 銀行名</th>
<td class="title_ri_w"><?=$bank_info_1?></td>
</tr>
<tr>
<th class="title_le_w"> 支店名</th>
<td class="title_ri_w"><?=$bank_info_2?></td>
</tr>
<tr>
<th class="title_le_w"> 口座番号</th>
<td class="title_ri_w"><?=$bank_info_3?></td>
</tr>
<tr>
<th class="title_le_w"> 預金者名</th>
<td class="title_ri_w"><?=$bank_info_4?></td>
</tr>
</tbody>
</table>
ご入金番号 : ex) <?=$initialCode?>19XXXXX45X<br>
ご入金の際は、ご依頼人の欄に必ず上記のご入金番号をお名前の前にご記載ください。<br>
別途ご入金案内・入金確認完了メールは送信しておりません。<br>
※振込手数料はお客様の負担となりますのでご了承ください。
<div class="center_btn">
<button type="button" class="btn_index" tabindex="5" onclick="javascript: location.href='mypage.php'">取り消し</button>
<button class="btn_index" tabindex="5" onclick="javascript: checkr(); return false; ">決済する</button>
</div>
</div>
<!-- 은행입금 시작(EX)K COPY) -->
<!-- 신용카드결재(EX)K COPY) -->
<div id="SELECT_CARD">
<span style="display:block; width:100%; font-size:16px; text-align:center; font-weight:bold; padding:20px 0 5px 0;">クレジットカード </span><br>
<span style="display:block; width:100%; font-size:14px; text-align:center;">
1) こちらの決済システムは海外決済サービスEximbayの提供です。<br>
www.eximbay.com から請求されます。<br>
2) 注意: 請求先名は EXIMBAY.COM と記載されます。<br>
</span>
<span style="display:block; width:100%; font-size:14px; text-align:center;">
1) This payment method is provided by Eximbay and is billed as www.eximbay.com.<br>
2) Note: Please note that the billing descriptor will be listed as EXIMBAY.COM.
</span><br>
<form class="form-horizontal" name="regForm" method="post" action="order_request.php">
<!-- 결제에 필요 한 필수 파라미터 -->
<input type="hidden" name="ver" value="230" /><!-- 연동 버전 -->
<input type="hidden" name="txntype" value="PAYMENT" /><!-- 거래 타입 -->
<input type="hidden" name="charset" value="UTF-8" /><!-- 고정 : UTF-8 -->
<!-- statusurl(필수 값) : 결제 완료 시 Back-end 방식으로 Eximbay 서버에서 statusurl에 지정된 가맹점 페이지를 Back-end로 호출하여 파라미터를 전송 -->
<!-- 스크립트, 쿠키, 세션 사용 불가 -->
<input type="hidden" name="statusurl" value="http://<?=$HomeUrl?>/eximbay_php/status.php" />
<input type="hidden" name="returnurl" value="http://<?=$HomeUrl?>/eximbay_php/return.php" />
<!--결제 완료 시 Front-end 방식으로 사용자 브라우저 상에 호출되어 보여질 가맹점 페이지 -->
<!-- 배송지 파라미터(선택) -->
<input type="hidden" name="shipTo_country" value="" />
<input type="hidden" name="shipTo_city" value="" />
<input type="hidden" name="shipTo_state" value="" />
<input type="hidden" name="shipTo_street1" value="" />
<input type="hidden" name="shipTo_postalCode" value="" />
<input type="hidden" name="shipTo_phoneNumber" value="" />
<input type="hidden" name="shipTo_firstName" value="" />
<input type="hidden" name="shipTo_lastName" value="" />
<!-- 청구지 파라미터 (선택) -->
<input type="hidden" name="billTo_city" value="" />
<input type="hidden" name="billTo_country" value="" />
<input type="hidden" name="billTo_firstName" value="" />
<input type="hidden" name="billTo_lastName" value="" />
<input type="hidden" name="billTo_phoneNumber" value="" />
<input type="hidden" name="billTo_postalCode" value="" />
<input type="hidden" name="billTo_state" value="" />
<input type="hidden" name="billTo_street1" value="" />
<!-- 결제 응답 값 처리 파라미터 -->
<input type="text" name="rescode" />
<input type="text" name="resmsg" />
<!-- 결제에 필요한 필수 파라미터 -->
<table width="100%" class="basic_table" style="display:none;">
<colgroup>
<col width="30%" />
<col width="70%" />
</colgroup>
<tbody>
<tr>
<th class="title_le_w"> •mid<!--(Eximbay에서 할당한 가맹점 아이디)--></th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="mid" value="<?=$card_mid?>" readonly></td>
</tr>
<tr>
<th class="title_le_w"> •ref<!--(가맹점 고유 거래 아이디 셋팅)--></th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="ref" value="lookkoreatour"></td>
</tr>
<tr>
<th class="title_le_w"> •ostype<!--(가맹점 고유 거래 아이디 셋팅)--></th>
<td class="title_ri_w">
<select class="box_70per" name="ostype">
<option value="P" selected>PC</option>
<option value="M">MOBILE</option>
</select></td>
</tr>
<tr>
<th class="title_le_w"> •displaytype</th>
<td class="title_ri_w">
<select class="box_70per" name="displaytype">
<option value="P" selected>POPUP</option>
</select>
</td>
</tr>
<tr>
<th class="title_le_w"> •cur</th>
<td class="title_ri_w">
<div class="col-sm-8"><!-- 테스트 시 통화 USD 권장 -->
<input class="box_70per" type="text" id="formGroupInputSmall" name="cur" value="JPY">
</div></td>
</tr>
<tr>
<th class="title_le_w"> •amt</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="amt" value="<?=$totalPrice?>"></td>
</tr>
<tr>
<th class="title_le_w"> •shop</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="shop" value="<?=$HomeUrl?> STORE"></td>
</tr>
<tr>
<th class="title_le_w"> •buyer</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="buyer" value="Buyer"></td>
</tr>
<tr>
<th class="title_le_w"> •email</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="email" value="email@email.com"></td>
</tr>
<tr>
<th class="title_le_w"> •tel</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="tel" value="1234-5678"></td>
</tr>
<tr>
<th class="title_le_w"> •lang</th>
<td class="title_ri_w">
<select class="box_70per" name="lang">
<option value="EN" >EN</option>
<option value="KR">KR</option>
<option value="JP" selected>JP</option>
<option value="CN">CN</option>
</select>
</td>
</tr>
<tr>
<th class="title_le_w"> •paymethod</th>
<td class="title_ri_w">
<select class="box_70per" name="paymethod">
<option value="" selected>전체</option>
<option value="P000" >CreditCard</option>
<option value="P101">VISA</option>
<option value="P102">MasterCard</option>
<option value="P103">AMEX</option>
<option value="P104">JCB</option>
<option value="P001">PayPal</option>
<option value="P002">CUP</option>
<option value="P003">Alipay</option>
<option value="P004">Tenpay</option>
<option value="P141">WeChat (PC - ostype:P)</option>
<option value="P142">WeChat-InApp (MOBILE - ostype:M)</option>
<option value="P005">99Bill</option>
<option value="P006">eContext</option>
<option value="P007">Molpay</option>
<option value="P008">PaysBuy</option>
</select>
</td>
</tr>
<tr><!-- 가맹점 정의 파마리터 (선택) -->
<th class="title_le_w"> •param1</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="param1" value=""></td>
</tr>
<tr>
<th class="title_le_w"> •param2</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="param2" value=""></td>
</tr>
<tr>
<th class="title_le_w"> •param3</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="param3" value="<?=$idx?>"></td>
</tr>
<tr>
<th class="title_le_w"> •autoclose</th>
<td class="title_ri_w">
<select class="box_70per" name="autoclose">
<option value="N" >N</option>
<option value="Y" selected>Y</option>
</select></td>
</tr>
<tr><!-- 주문 상품 파라미터 (선택) : 실제 결제 정보에 사용 되지 않음-->
<th class="title_le_w"> •item_0_product</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="item_0_product" value="<?=$title_name?>"></td>
</tr>
<tr>
<th class="title_le_w"> •item_0_quantity</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="item_0_quantity" value="1"></td>
</tr>
<tr><!-- 실제 결제 정보에 이용되는 결제금액은 amt. item_#_unitPrice 과 surcharge_#_unitPrice 금액의 합이 amt와 같아야 함 -->
<th class="title_le_w"> •item_0_unitPrice</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="item_0_unitPrice" value="1.25"></td>
</tr>
<tr>
<th class="title_le_w"> •surcharge_0_name</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="surcharge_0_name" value="Shipping fee"></td>
</tr>
<tr>
<th class="title_le_w"> •surcharge_0_quantity</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="surcharge_0_quantity" value="1"></td>
</tr>
<tr>
<th class="title_le_w"> •surcharge_0_unitPrice</th>
<td class="title_ri_w"><input class="box_70per" type="text" id="formGroupInputSmall" name="surcharge_0_unitPrice" value="0.25"></td>
</tr>
</tbody>
</table>
<div class="center_btn">
<button type="button" class="btn_index" tabindex="5" onclick="javascript: location.href='mypage.php'">取り消し</button>
<button type="button" class="btn_index" tabindex="5" onclick="payment();">決済する</button>
<!--<div class="center_btn"><button type="button" class="btn_index btn btn-default btn-block" onclick="payment();">購入する</button></div>-->
</div>
</form>
</div>
<!-- 신용카드결재(EX)K COPY) -->
<!-- 편의점결재(EX)K COPY)-->
<div id="SELECT_CONVENIENCE">
予約手配が完了しましたらお支払い番号をメールでご案内しますので、下記のいずれかでお支払いください。
<br/><font style="color:#F00;">※コンビニ決済の場合、500円の手数料が別途かかります。 </font>
<br/>※コンビニ店舗での決済上限金額は30万円まで、銀行ATMでの決済上限金額は10万円までです。
<br/>※日本国内のコンビニ店舗、銀行ATMに限ります。
<br/>※コンビニ決済は金額変更ができないため、予約完了後に変更された場合は銀行振込にてお支払いいただきます。その際の振込手数料はご負担ください。
<br/>
<br/>セブンイレブン / ローソン / ファミリーマート / セイコーマート / サークルKサンクス / ミニストップ / デイリーヤマザキ / <br />pay-easy / ゆうちょ銀行 / ジャパネット銀行 / 楽天銀行
</div><!--div id="SELECT_CONVENIENCE" -->
<!-- 편의점결재(EX)K COPY)-->
</div><!-- div id="MAIN" style="display: none"-->
<div class="center_btn" id="back_btn">
<button type="button" class="btn_index" tabindex="5" onclick="javascript: location.href='mypage.php'">取り消し</button>
</div>
</td>
</tr>
</table>
</div><!--div id='yoyaku_txt_1055' -->
</div><!-- div class="odr_wrap" -->
</ARTICLE>
</SECTION>
</body>
</html>