Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -220,7 +220,7 @@ if ($tot_amount > 0) {
|
||||
<?php if ($s_page == 'cart.php') { ?>
|
||||
<div id="sod_bsk_act">
|
||||
<?php if ($i == 0) { ?>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>" class="btn01">쇼핑 계속하기</a>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/list.php?ca_id=<?php echo $continue_ca_id; ?>" class="btn01">쇼핑 계속하기</a>
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="url" value="./orderform.php">
|
||||
<p>장바구니의 상품을 주문하시려면 <strong>주문하기</strong>를 클릭하세요. <strong>비우기</strong>는 장바구니의 상품을 모두 비웁니다.</p>
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/orderform.php');
|
||||
return;
|
||||
}
|
||||
|
||||
set_session("ss_direct", $sw_direct);
|
||||
// 장바구니가 비어있는가?
|
||||
if ($sw_direct) {
|
||||
@ -11,7 +16,7 @@ else {
|
||||
}
|
||||
|
||||
if (get_cart_count($tmp_uq_id) == 0)
|
||||
alert('장바구니가 비어 있습니다.', './cart.php');
|
||||
alert('장바구니가 비어 있습니다.', G4_SHOP_URL.'/cart.php');
|
||||
|
||||
// 포인트 결제 대기 필드 추가
|
||||
//sql_query(" ALTER TABLE `$g4[shop_order_table]` ADD `od_temp_point` INT NOT NULL AFTER `od_temp_card` ", false);
|
||||
|
||||
@ -1,5 +1,10 @@
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/orderinquiry.php');
|
||||
return;
|
||||
}
|
||||
|
||||
define("_ORDERINQUIRY_", true);
|
||||
|
||||
@ -47,7 +52,7 @@ if (!$is_member)
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['od_id']) {
|
||||
set_session("ss_uq_id_inquiry", $row['uq_id']);
|
||||
goto_url(G4_ShOP_URL.'/orderinquiryview.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id']);
|
||||
goto_url(G4_SHOP_URL.'/orderinquiryview.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id']);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,11 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (G4_IS_MOBILE) {
|
||||
include_once(G4_MSHOP_PATH.'/orderinquiryview.php');
|
||||
return;
|
||||
}
|
||||
|
||||
// 불법접속을 할 수 없도록 세션에 아무값이나 저장하여 hidden 으로 넘겨서 다음 페이지에서 비교함
|
||||
$token = md5(uniqid(rand(), true));
|
||||
set_session("ss_token", $token);
|
||||
|
||||
Reference in New Issue
Block a user