반응형 대비 주문폼 수정

This commit is contained in:
chicpro
2015-09-17 14:39:28 +09:00
parent a51cc22d0b
commit 8a51ca13be
3 changed files with 1535 additions and 1547 deletions

View File

@ -1,31 +1,5 @@
<?php
include_once('./_common.php');
set_session("ss_direct", $sw_direct);
// 장바구니가 비어있는가?
if ($sw_direct) {
$tmp_cart_id = get_session("ss_cart_direct");
}
else {
$tmp_cart_id = get_session("ss_cart_id");
}
if (get_cart_count($tmp_cart_id) == 0)
alert('장바구니가 비어 있습니다.', G5_SHOP_URL.'/cart.php');
$g5['title'] = '주문서 작성';
include_once(G5_MSHOP_PATH.'/_head.php');
if ($default['de_hope_date_use']) {
include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
}
// 새로운 주문번호 생성
$od_id = get_uniqid();
set_session('ss_order_id', $od_id);
$s_cart_id = $tmp_cart_id;
$order_action_url = G5_HTTPS_MSHOP_URL.'/orderformupdate.php';
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
require_once(G5_MSHOP_PATH.'/settle_'.$default['de_pg_service'].'.inc.php');
require_once(G5_SHOP_PATH.'/settle_kakaopay.inc.php');
@ -1530,8 +1504,4 @@ $(function(){
$("#od_hope_date").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-99:c+99", minDate: "+<?php echo (int)$default['de_hope_date_after']; ?>d;", maxDate: "+<?php echo (int)$default['de_hope_date_after'] + 6; ?>d;" });
});
<?php } ?>
</script>
<?php
include_once(G5_MSHOP_PATH.'/_tail.php');
?>
</script>

File diff suppressed because it is too large Load Diff

1492
shop/orderform.sub.php Normal file

File diff suppressed because it is too large Load Diff