Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -360,27 +360,6 @@ $pg_anchor ='<ul class="anchor">
|
||||
<input type="text" name="it_basic" value="<?php echo get_text($it['it_basic']); ?>" id="it_basic" class="frm_input" size="90">
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($it['it_id']) { ?>
|
||||
<?php
|
||||
$sql = " select distinct ii_gubun from {$g4['shop_item_info_table']} where it_id = '$it_id' group by ii_gubun ";
|
||||
$ii = sql_fetch($sql, false);
|
||||
if ($ii) {
|
||||
$item_info_gubun = item_info_gubun($ii['ii_gubun']);
|
||||
$item_info_gubun .= $item_info_gubun ? " 등록됨" : "";
|
||||
} else {
|
||||
// 상품상세정보 테이블이 없다고 가정하여 생성
|
||||
create_table_item_info();
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row">요약상품정보</th>
|
||||
<td colspan="2">
|
||||
<?php echo help("<strong>전자상거래 등에서의 상품 등의 정보제공에 관한 고시</strong>에 따라 총 35개 상품군에 대해 상품 특성 등을 양식에 따라 입력할 수 있습니다."); ?>
|
||||
<button type="button" class="btn_frmline" onclick="window.open('./iteminfo.php?it_id=<?php echo $it['it_id']; ?>', '_blank', 'width=670 height=800 scrollbars=yes');">상품요약정보 설정</button>
|
||||
<span id="item_info_gubun"><?php echo $item_info_gubun; ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } //if?>
|
||||
<tr>
|
||||
<th scope="row">상품설명</th>
|
||||
<td colspan="2"> <?php echo editor_html('it_explan', $it['it_explan']); ?></td>
|
||||
|
||||
@ -115,11 +115,7 @@ for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
<td>
|
||||
<input type="hidden" name="ct_id[<?php echo $i; ?>]" value="<?php echo $row['ct_id']; ?>">
|
||||
<input type="hidden" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>">
|
||||
<input type="hidden" name="ap_id[<?php echo $i; ?>]" value="<?php echo $row['ap_id']; ?>">
|
||||
<input type="hidden" name="bi_id[<?php echo $i; ?>]" value="<?php echo $row['bi_id']; ?>">
|
||||
<input type="hidden" name="it_name[<?php echo $i; ?>]" value="<?php echo get_text($row['it_name']); ?>">
|
||||
<input type="hidden" name="act" value="">
|
||||
<input type="hidden" name="records" value="<?php echo $i; ?>">
|
||||
<?php echo $it_name; ?>
|
||||
</td>
|
||||
|
||||
@ -223,6 +219,8 @@ if ($tot_amount > 0) {
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/" class="btn01">쇼핑 계속하기</a>
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="url" value="./orderform.php">
|
||||
<input type="hidden" name="records" value="<?php echo $i; ?>">
|
||||
<input type="hidden" name="act" value="">
|
||||
<p>장바구니의 상품을 주문하시려면 <strong>주문하기</strong>를 클릭하세요. <strong>비우기</strong>는 장바구니의 상품을 모두 비웁니다.</p>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/list.php?ca_id=<?php echo $continue_ca_id; ?>" class="btn01">쇼핑 계속하기</a>
|
||||
<a href="javascript:form_check('buy');" class="btn02">주문하기</a>
|
||||
|
||||
@ -154,18 +154,6 @@ else // 장바구니에 담기
|
||||
if ($_POST['ct_qty'] < 1)
|
||||
alert('수량은 1 이상 입력해 주십시오.');
|
||||
|
||||
// 비회원가격과 회원가격이 다르다면
|
||||
if (!$is_member && $default['de_different_msg'])
|
||||
{
|
||||
$sql = " select it_amount, it_amount2 from {$g4['shop_item_table']} where it_id = '{$_POST['it_id']}' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['it_amount2'] && $row['it_amount'] != $row['it_amount2']) {
|
||||
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">";
|
||||
echo "<script>alert('비회원가격과 회원가격이 다릅니다. 로그인 후 구입하여 주십시오.');</script>";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------
|
||||
// 변조 검사
|
||||
//--------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user