diff --git a/adm/admin.menu500.shop_2of2.php b/adm/admin.menu500.shop_2of2.php
index 9a037f095..6c5f672b3 100644
--- a/adm/admin.menu500.shop_2of2.php
+++ b/adm/admin.menu500.shop_2of2.php
@@ -8,8 +8,6 @@ $menu['menu500'] = array (
array('500120', '주문내역출력', G5_ADMIN_URL.'/shop_admin/orderprint.php', 'sst_print_order', 1),
array('500300', '이벤트관리', G5_ADMIN_URL.'/shop_admin/itemevent.php', 'scf_event'),
array('500310', '이벤트일괄처리', G5_ADMIN_URL.'/shop_admin/itemeventlist.php', 'scf_event_mng'),
- array('500400', '내용관리', G5_ADMIN_URL.'/shop_admin/contentlist.php', 'scf_contents', 1),
- array('500410', 'FAQ관리', G5_ADMIN_URL.'/shop_admin/faqmasterlist.php', 'scf_faq', 1),
array('500500', '배너관리', G5_ADMIN_URL.'/shop_admin/bannerlist.php', 'scf_banner', 1),
array('500510', '팝업레이어관리', G5_ADMIN_URL.'/shop_admin/newwinlist.php', 'scf_poplayer', 1),
array('500140', '보관함현황', G5_ADMIN_URL.'/shop_admin/wishlist.php', 'sst_wish'),
diff --git a/adm/shop_admin/contentform.php b/adm/shop_admin/contentform.php
deleted file mode 100644
index 03a6e3db0..000000000
--- a/adm/shop_admin/contentform.php
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/contentformupdate.php b/adm/shop_admin/contentformupdate.php
deleted file mode 100644
index 0b23d2ddf..000000000
--- a/adm/shop_admin/contentformupdate.php
+++ /dev/null
@@ -1,67 +0,0 @@
-
diff --git a/adm/shop_admin/contentlist.php b/adm/shop_admin/contentlist.php
deleted file mode 100644
index 08fa00968..000000000
--- a/adm/shop_admin/contentlist.php
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
- 목록
-
-
- | ID |
- 제목 |
- 관리 |
-
-
-
-
-
- |
- |
-
- 보기
- 수정
- 삭제
- |
-
- 자료가 한건도 없습니다. | ';
- }
- ?>
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/faqform.php b/adm/shop_admin/faqform.php
deleted file mode 100644
index eb613cba9..000000000
--- a/adm/shop_admin/faqform.php
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/faqformupdate.php b/adm/shop_admin/faqformupdate.php
deleted file mode 100644
index 8c70da4f2..000000000
--- a/adm/shop_admin/faqformupdate.php
+++ /dev/null
@@ -1,43 +0,0 @@
-
diff --git a/adm/shop_admin/faqlist.php b/adm/shop_admin/faqlist.php
deleted file mode 100644
index 133cbb0fe..000000000
--- a/adm/shop_admin/faqlist.php
+++ /dev/null
@@ -1,95 +0,0 @@
-
-
-
- 등록된 FAQ 상세내용 건
-
-
-
-
- - FAQ는 무제한으로 등록할 수 있습니다
- - FAQ 상세내용 추가를 눌러 자주하는 질문과 답변을 입력합니다.
-
-
-
-
-
-
-
- 목록
-
-
- | 번호 |
- 제목 |
- 순서 |
- 관리 |
-
-
-
-
-
-
- |
- |
- |
-
- 수정
- 삭제
- |
-
-
- 자료가 없습니다. | ';
- }
- ?>
-
-
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/faqmasterform.php b/adm/shop_admin/faqmasterform.php
deleted file mode 100644
index 2641b0f26..000000000
--- a/adm/shop_admin/faqmasterform.php
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/faqmasterformupdate.php b/adm/shop_admin/faqmasterformupdate.php
deleted file mode 100644
index ecaa1cc53..000000000
--- a/adm/shop_admin/faqmasterformupdate.php
+++ /dev/null
@@ -1,61 +0,0 @@
-
diff --git a/adm/shop_admin/faqmasterlist.php b/adm/shop_admin/faqmasterlist.php
deleted file mode 100644
index 660025de4..000000000
--- a/adm/shop_admin/faqmasterlist.php
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
- 1) {?>
처음으로
-
전체 FAQ 건
-
-
-
-
- - FAQ는 무제한으로 등록할 수 있습니다
- - FAQ추가를 눌러 FAQ Master를 생성합니다. (하나의 FAQ 타이틀 생성 : 자주하시는 질문, 이용안내..등 )
- - 생성한 FAQ Master 의 제목을 눌러 세부 내용을 관리할 수 있습니다.
-
-
-
-
-
-
-
- 목록
-
-
- | ID |
- 제목 |
- FAQ수 |
- 관리 |
-
-
-
-
-
- |
- |
- |
-
- 보기
- 수정
- 삭제
- |
-
- 자료가 한건도 없습니다. | ';
- }
- ?>
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/newwinform.php b/adm/shop_admin/newwinform.php
deleted file mode 100644
index 745f3d0da..000000000
--- a/adm/shop_admin/newwinform.php
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
-
-
-
-
diff --git a/adm/shop_admin/newwinformupdate.php b/adm/shop_admin/newwinformupdate.php
deleted file mode 100644
index 63a0a8179..000000000
--- a/adm/shop_admin/newwinformupdate.php
+++ /dev/null
@@ -1,51 +0,0 @@
-
diff --git a/adm/shop_admin/newwinlist.php b/adm/shop_admin/newwinlist.php
deleted file mode 100644
index 85fbcda8b..000000000
--- a/adm/shop_admin/newwinlist.php
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-전체 건
-
-
-
-
-
- 목록
-
-
- | 번호 |
- 제목 |
- 접속기기 |
- 시작일시 |
- 종료일시 |
- 시간 |
- Left |
- Top |
- Width |
- Height |
- 관리 |
-
-
-
-
-
- |
- |
- |
- |
- |
- 시간 |
- px |
- px |
- px |
- px |
-
- 수정
- 삭제
- |
-
- 자료가 한건도 없습니다. | ';
- }
- ?>
-
-
-
-
-
-
diff --git a/css/default.css b/css/default.css
index 9a9b550ca..c5d527b7f 100644
--- a/css/default.css
+++ b/css/default.css
@@ -7,13 +7,13 @@ body {margin:0;padding:0;font-size:0.75em;font-family:dotum}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:dotum}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
-
+
#hd ul, nav ul, #ft ul {margin:0;padding:0;list-style:none}
legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-family:dotum;font-size:1em}
button {cursor:pointer}
-
+
textarea, select {font-family:dotum;font-size:1em}
select {margin:0}
p {margin:0;padding:0;word-break:break-all}
diff --git a/head.php b/head.php
index 1bb7a7cc2..d07adfecf 100644
--- a/head.php
+++ b/head.php
@@ -92,7 +92,7 @@ if (G5_IS_MOBILE) {
회원가입
로그인
-
+
1:1문의
접속자
새글
diff --git a/install/gnuboard5shop.sql b/install/gnuboard5shop.sql
index eb2ca00ea..c3c4db78e 100644
--- a/install/gnuboard5shop.sql
+++ b/install/gnuboard5shop.sql
@@ -112,24 +112,6 @@ CREATE TABLE IF NOT EXISTS `g5_shop_category` (
-- --------------------------------------------------------
---
--- Table structure for table `g5_shop_content`
---
-
-DROP TABLE IF EXISTS `g5_shop_content`;
-CREATE TABLE IF NOT EXISTS `g5_shop_content` (
- `co_id` varchar(20) NOT NULL DEFAULT '',
- `co_html` tinyint(4) NOT NULL DEFAULT '0',
- `co_subject` varchar(255) NOT NULL DEFAULT '',
- `co_content` longtext NOT NULL,
- `co_hit` int(11) NOT NULL DEFAULT '0',
- `co_include_head` varchar(255) NOT NULL,
- `co_include_tail` varchar(255) NOT NULL,
- PRIMARY KEY (`co_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
--- --------------------------------------------------------
-
--
-- Table structure for table `g5_shop_coupon`
--
@@ -363,39 +345,6 @@ CREATE TABLE IF NOT EXISTS `g5_shop_event_item` (
-- --------------------------------------------------------
---
--- Table structure for table `g5_shop_faq`
---
-
-DROP TABLE IF EXISTS `g5_shop_faq`;
-CREATE TABLE IF NOT EXISTS `g5_shop_faq` (
- `fa_id` int(11) NOT NULL AUTO_INCREMENT,
- `fm_id` int(11) NOT NULL DEFAULT '0',
- `fa_subject` text NOT NULL,
- `fa_content` text NOT NULL,
- `fa_order` int(11) NOT NULL DEFAULT '0',
- PRIMARY KEY (`fa_id`),
- KEY `fm_id` (`fm_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `g5_shop_faq_master`
---
-
-DROP TABLE IF EXISTS `g5_shop_faq_master`;
-CREATE TABLE IF NOT EXISTS `g5_shop_faq_master` (
- `fm_id` int(11) NOT NULL AUTO_INCREMENT,
- `fm_subject` varchar(255) NOT NULL DEFAULT '',
- `fm_head_html` text NOT NULL,
- `fm_tail_html` text NOT NULL,
- `fm_order` int(11) NOT NULL DEFAULT '0',
- PRIMARY KEY (`fm_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
--- --------------------------------------------------------
-
--
-- Table structure for table `g5_shop_item`
--
@@ -575,29 +524,6 @@ CREATE TABLE IF NOT EXISTS `g5_shop_item_relation` (
-- --------------------------------------------------------
---
--- Table structure for table `g5_shop_new_win`
---
-
-DROP TABLE IF EXISTS `g5_shop_new_win`;
-CREATE TABLE IF NOT EXISTS `g5_shop_new_win` (
- `nw_id` int(11) NOT NULL AUTO_INCREMENT,
- `nw_device` varchar(10) NOT NULL DEFAULT 'both',
- `nw_begin_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `nw_end_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `nw_disable_hours` int(11) NOT NULL DEFAULT '0',
- `nw_left` int(11) NOT NULL DEFAULT '0',
- `nw_top` int(11) NOT NULL DEFAULT '0',
- `nw_height` int(11) NOT NULL DEFAULT '0',
- `nw_width` int(11) NOT NULL DEFAULT '0',
- `nw_subject` text NOT NULL,
- `nw_content` text NOT NULL,
- `nw_content_html` tinyint(4) NOT NULL DEFAULT '0',
- PRIMARY KEY (`nw_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
--- --------------------------------------------------------
-
--
-- Table structure for table `g5_shop_order`
--
diff --git a/install/install_db.php b/install/install_db.php
index 15ca8d773..e653e771c 100644
--- a/install/install_db.php
+++ b/install/install_db.php
@@ -204,14 +204,6 @@ if($g5_shop_install) {
$mimg_width = 320;
$mimg_height = 320;
- // 내용관리 생성
- @mysql_query(" insert into `{$g5_shop_prefix}content` set co_id = 'company', co_html = '1', co_subject = '회사소개', co_content= '회사소개에 대한 내용을 입력하십시오.
' ") or die(mysql_error() . "" . $sql);
- @mysql_query(" insert into `{$g5_shop_prefix}content` set co_id = 'privacy', co_html = '1', co_subject = '개인정보 처리방침', co_content= '
개인정보 처리방침에 대한 내용을 입력하십시오.
' ") or die(mysql_error() . "" . $sql);
- @mysql_query(" insert into `{$g5_shop_prefix}content` set co_id = 'provision', co_html = '1', co_subject = '서비스 이용약관', co_content= '
서비스 이용약관에 대한 내용을 입력하십시오.
' ") or die(mysql_error() . "" . $sql);
-
- // FAQ Master
- @mysql_query(" insert into `{$g5_shop_prefix}faq_master` set fm_id = '1', fm_subject = '자주하시는 질문' ") or die(mysql_error() . "
" . $sql);
-
// default 설정 (쇼핑몰 설정)
$sql = " insert into `{$g5_shop_prefix}default`
set de_admin_company_name = '회사명',
@@ -444,9 +436,7 @@ if($g5_shop_install) {
$data_path.'/banner',
$data_path.'/category',
$data_path.'/common',
- $data_path.'/content',
$data_path.'/event',
- $data_path.'/faq',
$data_path.'/item'
);
@@ -509,17 +499,13 @@ if($g5_shop_install) {
fwrite($f, "\$g5['g5_shop_banner_table'] = G5_SHOP_TABLE_PREFIX.'banner'; // 배너 테이블\n");
fwrite($f, "\$g5['g5_shop_cart_table'] = G5_SHOP_TABLE_PREFIX.'cart'; // 장바구니 테이블\n");
fwrite($f, "\$g5['g5_shop_category_table'] = G5_SHOP_TABLE_PREFIX.'category'; // 상품분류 테이블\n");
- fwrite($f, "\$g5['g5_shop_content_table'] = G5_SHOP_TABLE_PREFIX.'content'; // 내용(컨텐츠)정보 테이블\n");
fwrite($f, "\$g5['g5_shop_event_table'] = G5_SHOP_TABLE_PREFIX.'event'; // 이벤트 테이블\n");
fwrite($f, "\$g5['g5_shop_event_item_table'] = G5_SHOP_TABLE_PREFIX.'event_item'; // 상품, 이벤트 연결 테이블\n");
- fwrite($f, "\$g5['g5_shop_faq_table'] = G5_SHOP_TABLE_PREFIX.'faq'; // 자주하시는 질문 테이블\n");
- fwrite($f, "\$g5['g5_shop_faq_master_table'] = G5_SHOP_TABLE_PREFIX.'faq_master'; // 자주하시는 질문 마스터 테이블\n");
fwrite($f, "\$g5['g5_shop_item_table'] = G5_SHOP_TABLE_PREFIX.'item'; // 상품 테이블\n");
fwrite($f, "\$g5['g5_shop_item_option_table'] = G5_SHOP_TABLE_PREFIX.'item_option'; // 상품옵션 테이블\n");
fwrite($f, "\$g5['g5_shop_item_use_table'] = G5_SHOP_TABLE_PREFIX.'item_use'; // 상품 사용후기 테이블\n");
fwrite($f, "\$g5['g5_shop_item_qa_table'] = G5_SHOP_TABLE_PREFIX.'item_qa'; // 상품 질문답변 테이블\n");
fwrite($f, "\$g5['g5_shop_item_relation_table'] = G5_SHOP_TABLE_PREFIX.'item_relation'; // 관련 상품 테이블\n");
- fwrite($f, "\$g5['g5_shop_new_win_table'] = G5_SHOP_TABLE_PREFIX.'new_win'; // 새창 테이블\n");
fwrite($f, "\$g5['g5_shop_order_table'] = G5_SHOP_TABLE_PREFIX.'order'; // 주문서 테이블\n");
fwrite($f, "\$g5['g5_shop_order_delete_table'] = G5_SHOP_TABLE_PREFIX.'order_delete'; // 주문서 삭제 테이블\n");
fwrite($f, "\$g5['g5_shop_wish_table'] = G5_SHOP_TABLE_PREFIX.'wish'; // 보관함(위시리스트) 테이블\n");
diff --git a/lib/common.lib.php b/lib/common.lib.php
index a46595028..be639b367 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -2550,4 +2550,12 @@ function check_input_vars()
}
}
}
+
+// HTML 특수문자 변환 htmlspecialchars
+function htmlspecialchars2($str)
+{
+ $trans = array("\"" => """, "'" => "'", "<"=>"<", ">"=>">");
+ $str = strtr($str, $trans);
+ return $str;
+}
?>
\ No newline at end of file
diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index 32359184e..fbf99a017 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -625,15 +625,6 @@ function get_point($amount, $point)
}
-// HTML 특수문자 변환 htmlspecialchars
-function htmlspecialchars2($str)
-{
- $trans = array("\"" => """, "'" => "'", "<"=>"<", ">"=>">");
- $str = strtr($str, $trans);
- return $str;
-}
-
-
// 상품이미지 업로드
function it_img_upload($srcfile, $filename, $dir)
{
diff --git a/shop/content.php b/shop/content.php
deleted file mode 100644
index c61975342..000000000
--- a/shop/content.php
+++ /dev/null
@@ -1,89 +0,0 @@
-내용 수정';
-?>
-
-
-
';
-?>
-
-
-
-
-
-
-
-
-
-
-
';
-
-if ($is_admin)
- echo '
';
-?>
-
-
-
diff --git a/shop/faq.php b/shop/faq.php
deleted file mode 100644
index c64c1e415..000000000
--- a/shop/faq.php
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-FAQ 수정';
-?>
-
-
-
';
-
-// 상단 HTML
-echo ''.stripslashes($fm['fm_head_html']).'
';
-?>
-
-
-
-
';
- ?>
-
-
-
- 내용
-
-
- -
-
-
-
-
-
-
- 1) echo '
';
-
- if ($i == 1) echo '
등록된 FAQ가 없습니다.
FAQ를 새로 등록하시려면 FAQ관리 메뉴를 이용하십시오.
';
- ?>
-
-
-'.stripslashes($fm['fm_tail_html']).'';
-
-$timg = G5_DATA_PATH.'/faq/'.$fm_id.'_t';
-if (file_exists($timg))
- echo '';
-?>
-
-
-FAQ 수정';
-
-include_once('./_tail.php');
-?>
diff --git a/shop/newwin.inc.php b/shop/newwin.inc.php
deleted file mode 100644
index 976dbb7ab..000000000
--- a/shop/newwin.inc.php
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-팝업레이어 알림이 없습니다.';
-?>
-
-
-
\ No newline at end of file
diff --git a/shop/shop.head.php b/shop/shop.head.php
index f4115507c..9ed2dddf8 100644
--- a/shop/shop.head.php
+++ b/shop/shop.head.php
@@ -19,7 +19,7 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
팝업레이어 알림
-
+
@@ -61,7 +61,7 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
-
회원메뉴 및 FAQ
+
회원메뉴
@@ -74,7 +74,6 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
- 로그인
- 마이페이지
- - FAQ
- 1:1문의
- 개인결제
- 사용후기
diff --git a/shop/shop.tail.php b/shop/shop.tail.php
index 4deb6de27..205295fa0 100644
--- a/shop/shop.tail.php
+++ b/shop/shop.tail.php
@@ -17,9 +17,9 @@ $admin = get_admin("super");