샵이 일단 구동 되도록 함

This commit is contained in:
gnuboard
2013-01-25 13:25:06 +09:00
parent 26088ece3b
commit 882ffaa8e6
3 changed files with 4 additions and 29 deletions

View File

@ -2,9 +2,6 @@
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/shop.config.php");
include_once("$g4[path]/lib/shop.lib.php");
include_once("$g4[path]/lib/fs.lib.php");
$g4['yc4_uniqid_table'] = "yc4_uniqid";
//==============================================================================
// 쇼핑몰 필수 실행코드 모음 시작

View File

@ -34,7 +34,7 @@ define(_MISU_QUERY_, "
// 쇼핑몰 변수 모음 시작
//------------------------------------------------------------------------------
// 쇼핑몰 디렉토리
$g4['shop'] = "fs";
$g4['shop'] = "shop";
$g4['shop_path'] = "$g4[path]/$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_history_table']= "yc4_coupon_history"; // 쿠폰사용내역 테이블
$g4['yc4_sendcost_table'] = "yc4_sendcost"; // 추가배송비 테이블
$g4['yc4_uniqid_table'] = "yc4_uniqid";
// 신용카드결제대행사 URL

View File

@ -70,33 +70,10 @@ include_once("$g4[path]/head.php");
?>
</td>
</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>
</td>
<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;
@ -108,10 +85,10 @@ include_once("$g4[path]/head.php");
?><br><br>
<!-- 온라인 투표 -->
<?=poll('shop_poll');?><br>
<?=poll();?><br>
<!-- 방문자 수 -->
<?=visit('shop_visit');?><br>
<?=visit();?><br>
<!-- 메인 배너 -->
<?=display_banner('메인');?><br>