샵이 일단 구동 되도록 함
This commit is contained in:
@ -2,9 +2,6 @@
|
|||||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||||
include_once("$g4[path]/shop.config.php");
|
include_once("$g4[path]/shop.config.php");
|
||||||
include_once("$g4[path]/lib/shop.lib.php");
|
include_once("$g4[path]/lib/shop.lib.php");
|
||||||
include_once("$g4[path]/lib/fs.lib.php");
|
|
||||||
|
|
||||||
$g4['yc4_uniqid_table'] = "yc4_uniqid";
|
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// 쇼핑몰 필수 실행코드 모음 시작
|
// 쇼핑몰 필수 실행코드 모음 시작
|
||||||
|
|||||||
@ -34,7 +34,7 @@ define(_MISU_QUERY_, "
|
|||||||
// 쇼핑몰 변수 모음 시작
|
// 쇼핑몰 변수 모음 시작
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// 쇼핑몰 디렉토리
|
// 쇼핑몰 디렉토리
|
||||||
$g4['shop'] = "fs";
|
$g4['shop'] = "shop";
|
||||||
$g4['shop_path'] = "$g4[path]/$g4[shop]";
|
$g4['shop_path'] = "$g4[path]/$g4[shop]";
|
||||||
$g4['shop_url'] = "$g4[url]/$g4[shop]";
|
$g4['shop_url'] = "$g4[url]/$g4[shop]";
|
||||||
|
|
||||||
@ -73,6 +73,7 @@ $g4['yc4_supplement_table'] = "yc4_supplement"; // 추가옵션
|
|||||||
$g4['yc4_coupon_table'] = "yc4_coupon"; // 쿠폰정보 테이블
|
$g4['yc4_coupon_table'] = "yc4_coupon"; // 쿠폰정보 테이블
|
||||||
$g4['yc4_coupon_history_table']= "yc4_coupon_history"; // 쿠폰사용내역 테이블
|
$g4['yc4_coupon_history_table']= "yc4_coupon_history"; // 쿠폰사용내역 테이블
|
||||||
$g4['yc4_sendcost_table'] = "yc4_sendcost"; // 추가배송비 테이블
|
$g4['yc4_sendcost_table'] = "yc4_sendcost"; // 추가배송비 테이블
|
||||||
|
$g4['yc4_uniqid_table'] = "yc4_uniqid";
|
||||||
|
|
||||||
|
|
||||||
// 신용카드결제대행사 URL
|
// 신용카드결제대행사 URL
|
||||||
|
|||||||
27
shop.php
27
shop.php
@ -70,33 +70,10 @@ include_once("$g4[path]/head.php");
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td colspan=2 height=20></td></tr>
|
|
||||||
<tr>
|
|
||||||
<td valign=top width=50% align=center>
|
|
||||||
<table width=95% cellpadding=0 cellspacing=0>
|
|
||||||
<tr><td><?=latest('basic', 'qa', 5, 30);?></td></tr>
|
|
||||||
</table></td>
|
|
||||||
<td valign=top width=50% align=center>
|
|
||||||
<table width=95% cellpadding=0 cellspacing=0>
|
|
||||||
<tr><td><?=latest('basic', 'free', 5, 30);?></td></tr>
|
|
||||||
</table></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td valign=top>
|
<td valign=top>
|
||||||
|
|
||||||
<!-- 공지사항 -->
|
|
||||||
<table width=177 bgcolor=#DEDEDE cellpadding=1 cellspacing=0>
|
|
||||||
<tr><td align=center>
|
|
||||||
<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF height=97>
|
|
||||||
<tr><td height=28><a href='<?=$g4[bbs_path]?>/board.php?bo_table=notice'><img src='<?=$g4[shop_img_path]?>/bar_notice.gif' border=0></a></td></tr>
|
|
||||||
<tr>
|
|
||||||
<td><?=latest('shop_notice', 'notice', 3, 25);?></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td></tr>
|
|
||||||
</table><BR>
|
|
||||||
|
|
||||||
<?
|
<?
|
||||||
// 최신상품
|
// 최신상품
|
||||||
$type = 3;
|
$type = 3;
|
||||||
@ -108,10 +85,10 @@ include_once("$g4[path]/head.php");
|
|||||||
?><br><br>
|
?><br><br>
|
||||||
|
|
||||||
<!-- 온라인 투표 -->
|
<!-- 온라인 투표 -->
|
||||||
<?=poll('shop_poll');?><br>
|
<?=poll();?><br>
|
||||||
|
|
||||||
<!-- 방문자 수 -->
|
<!-- 방문자 수 -->
|
||||||
<?=visit('shop_visit');?><br>
|
<?=visit();?><br>
|
||||||
|
|
||||||
<!-- 메인 배너 -->
|
<!-- 메인 배너 -->
|
||||||
<?=display_banner('메인');?><br>
|
<?=display_banner('메인');?><br>
|
||||||
|
|||||||
Reference in New Issue
Block a user