From f84a261adda92d0e17ece8cce8e7d49b56591862 Mon Sep 17 00:00:00 2001 From: rollydream Date: Thu, 11 Apr 2013 10:31:40 +0900 Subject: [PATCH 1/5] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20:=20#42=20=EC=83=81=ED=92=88=EC=9C=A0?= =?UTF-8?q?=ED=98=95=EA=B4=80=EB=A6=AC=20=EC=84=B8=EB=B6=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemtypelist.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adm/shop_admin/itemtypelist.php b/adm/shop_admin/itemtypelist.php index d83375e81..66152c69b 100644 --- a/adm/shop_admin/itemtypelist.php +++ b/adm/shop_admin/itemtypelist.php @@ -45,7 +45,7 @@ if (!$sst) { } $sql_order = "order by $sst $sod"; -$sql_common = " from {$g4['shop_item_table']} "; +$sql_common = " from {$g4['yc4_item_table']} "; $sql_common .= $sql_search; // 테이블의 전체 레코드수만 얻음 @@ -89,7 +89,7 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx"; Date: Thu, 11 Apr 2013 11:00:40 +0900 Subject: [PATCH 3/5] =?UTF-8?q?=EC=84=A4=EC=B9=98=ED=94=84=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EB=9E=A8=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/install_config.php | 7 +++ install/install_db.php | 1 + install/shop.sql | 121 ++++++++++++++++++------------------- 3 files changed, 68 insertions(+), 61 deletions(-) diff --git a/install/install_config.php b/install/install_config.php index 11f75221c..2ad84bd41 100644 --- a/install/install_config.php +++ b/install/install_config.php @@ -56,6 +56,13 @@ if ($_POST['agree'] != '동의함') { + + + + 가능한 변경하지 마십시오. + + + diff --git a/install/install_db.php b/install/install_db.php index 8e0da24cc..6118bbfe4 100644 --- a/install/install_db.php +++ b/install/install_db.php @@ -18,6 +18,7 @@ $mysql_user = $_POST['mysql_user']; $mysql_pass = $_POST['mysql_pass']; $mysql_db = $_POST['mysql_db']; $table_prefix= $_POST['table_prefix']; +$shop_prefix = $_POST['shop_prefix']; $admin_id = $_POST['admin_id']; $admin_pass = $_POST['admin_pass']; $admin_name = $_POST['admin_name']; diff --git a/install/shop.sql b/install/shop.sql index 4355c7cbd..c490d4398 100644 --- a/install/shop.sql +++ b/install/shop.sql @@ -1,11 +1,11 @@ -- -------------------------------------------------------- -- --- Table structure for table `yc4_banner` +-- Table structure for table `shop_banner` -- -DROP TABLE IF EXISTS `yc4_banner`; -CREATE TABLE IF NOT EXISTS `yc4_banner` ( +DROP TABLE IF EXISTS `shop_banner`; +CREATE TABLE IF NOT EXISTS `shop_banner` ( `bn_id` int(11) NOT NULL AUTO_INCREMENT, `bn_alt` varchar(255) NOT NULL DEFAULT '', `bn_url` varchar(255) NOT NULL DEFAULT '', @@ -23,11 +23,11 @@ CREATE TABLE IF NOT EXISTS `yc4_banner` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_card_history` +-- Table structure for table `shop_card_history` -- -DROP TABLE IF EXISTS `yc4_card_history`; -CREATE TABLE IF NOT EXISTS `yc4_card_history` ( +DROP TABLE IF EXISTS `shop_card_history`; +CREATE TABLE IF NOT EXISTS `shop_card_history` ( `cd_id` int(11) NOT NULL AUTO_INCREMENT, `od_id` bigint(20) unsigned NOT NULL, `uq_id` bigint(20) unsigned NOT NULL, @@ -49,11 +49,11 @@ CREATE TABLE IF NOT EXISTS `yc4_card_history` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_cart` +-- Table structure for table `shop_cart` -- -DROP TABLE IF EXISTS `yc4_cart`; -CREATE TABLE IF NOT EXISTS `yc4_cart` ( +DROP TABLE IF EXISTS `shop_cart`; +CREATE TABLE IF NOT EXISTS `shop_cart` ( `ct_id` int(11) NOT NULL AUTO_INCREMENT, `uq_id` bigint(20) unsigned NOT NULL, `it_id` varchar(10) NOT NULL DEFAULT '0', @@ -75,18 +75,17 @@ CREATE TABLE IF NOT EXISTS `yc4_cart` ( `ct_send_cost` varchar(255) NOT NULL, `ct_direct` tinyint(4) NOT NULL, PRIMARY KEY (`ct_id`), - KEY `on_uid` (`on_uid`), KEY `uq_id` (`uq_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- --- Table structure for table `yc4_category` +-- Table structure for table `shop_category` -- -DROP TABLE IF EXISTS `yc4_category`; -CREATE TABLE IF NOT EXISTS `yc4_category` ( +DROP TABLE IF EXISTS `shop_category`; +CREATE TABLE IF NOT EXISTS `shop_category` ( `ca_id` varchar(10) NOT NULL DEFAULT '0', `ca_name` varchar(255) NOT NULL DEFAULT '', `ca_skin` varchar(255) NOT NULL DEFAULT '', @@ -115,11 +114,11 @@ CREATE TABLE IF NOT EXISTS `yc4_category` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_content` +-- Table structure for table `shop_content` -- -DROP TABLE IF EXISTS `yc4_content`; -CREATE TABLE IF NOT EXISTS `yc4_content` ( +DROP TABLE IF EXISTS `shop_content`; +CREATE TABLE IF NOT EXISTS `shop_content` ( `co_id` varchar(20) NOT NULL DEFAULT '', `co_html` tinyint(4) NOT NULL DEFAULT '0', `co_subject` varchar(255) NOT NULL DEFAULT '', @@ -133,11 +132,11 @@ CREATE TABLE IF NOT EXISTS `yc4_content` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_default` +-- Table structure for table `shop_default` -- -DROP TABLE IF EXISTS `yc4_default`; -CREATE TABLE IF NOT EXISTS `yc4_default` ( +DROP TABLE IF EXISTS `shop_default`; +CREATE TABLE IF NOT EXISTS `shop_default` ( `de_admin_company_owner` varchar(255) NOT NULL DEFAULT '', `de_admin_company_name` varchar(255) NOT NULL DEFAULT '', `de_admin_company_saupja_no` varchar(255) NOT NULL DEFAULT '', @@ -240,11 +239,11 @@ CREATE TABLE IF NOT EXISTS `yc4_default` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_delivery` +-- Table structure for table `shop_delivery` -- -DROP TABLE IF EXISTS `yc4_delivery`; -CREATE TABLE IF NOT EXISTS `yc4_delivery` ( +DROP TABLE IF EXISTS `shop_delivery`; +CREATE TABLE IF NOT EXISTS `shop_delivery` ( `dl_id` int(11) NOT NULL AUTO_INCREMENT, `dl_company` varchar(255) NOT NULL DEFAULT '', `dl_url` varchar(255) NOT NULL DEFAULT '', @@ -256,11 +255,11 @@ CREATE TABLE IF NOT EXISTS `yc4_delivery` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_event` +-- Table structure for table `shop_event` -- -DROP TABLE IF EXISTS `yc4_event`; -CREATE TABLE IF NOT EXISTS `yc4_event` ( +DROP TABLE IF EXISTS `shop_event`; +CREATE TABLE IF NOT EXISTS `shop_event` ( `ev_id` int(11) NOT NULL AUTO_INCREMENT, `it_group` int(11) NOT NULL DEFAULT '0', `ev_skin` varchar(255) NOT NULL DEFAULT '', @@ -278,11 +277,11 @@ CREATE TABLE IF NOT EXISTS `yc4_event` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_event_item` +-- Table structure for table `shop_event_item` -- -DROP TABLE IF EXISTS `yc4_event_item`; -CREATE TABLE IF NOT EXISTS `yc4_event_item` ( +DROP TABLE IF EXISTS `shop_event_item`; +CREATE TABLE IF NOT EXISTS `shop_event_item` ( `ev_id` int(11) NOT NULL DEFAULT '0', `it_id` varchar(10) NOT NULL DEFAULT '', PRIMARY KEY (`ev_id`,`it_id`), @@ -292,11 +291,11 @@ CREATE TABLE IF NOT EXISTS `yc4_event_item` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_faq` +-- Table structure for table `shop_faq` -- -DROP TABLE IF EXISTS `yc4_faq`; -CREATE TABLE IF NOT EXISTS `yc4_faq` ( +DROP TABLE IF EXISTS `shop_faq`; +CREATE TABLE IF NOT EXISTS `shop_faq` ( `fa_id` int(11) NOT NULL AUTO_INCREMENT, `fm_id` int(11) NOT NULL DEFAULT '0', `fa_subject` text NOT NULL, @@ -309,11 +308,11 @@ CREATE TABLE IF NOT EXISTS `yc4_faq` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_faq_master` +-- Table structure for table `shop_faq_master` -- -DROP TABLE IF EXISTS `yc4_faq_master`; -CREATE TABLE IF NOT EXISTS `yc4_faq_master` ( +DROP TABLE IF EXISTS `shop_faq_master`; +CREATE TABLE IF NOT EXISTS `shop_faq_master` ( `fm_id` int(11) NOT NULL AUTO_INCREMENT, `fm_subject` varchar(255) NOT NULL DEFAULT '', `fm_head_html` text NOT NULL, @@ -325,11 +324,11 @@ CREATE TABLE IF NOT EXISTS `yc4_faq_master` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_item` +-- Table structure for table `shop_item` -- -DROP TABLE IF EXISTS `yc4_item`; -CREATE TABLE IF NOT EXISTS `yc4_item` ( +DROP TABLE IF EXISTS `shop_item`; +CREATE TABLE IF NOT EXISTS `shop_item` ( `it_id` varchar(10) NOT NULL DEFAULT '', `ca_id` varchar(10) NOT NULL DEFAULT '0', `ca_id2` varchar(255) NOT NULL DEFAULT '', @@ -382,11 +381,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_item_info` +-- Table structure for table `shop_item_info` -- -DROP TABLE IF EXISTS `yc4_item_info`; -CREATE TABLE IF NOT EXISTS `yc4_item_info` ( +DROP TABLE IF EXISTS `shop_item_info`; +CREATE TABLE IF NOT EXISTS `shop_item_info` ( `ii_id` int(11) NOT NULL AUTO_INCREMENT, `it_id` varchar(10) NOT NULL, `ii_gubun` varchar(50) NOT NULL, @@ -400,11 +399,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_info` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_item_ps` +-- Table structure for table `shop_item_ps` -- -DROP TABLE IF EXISTS `yc4_item_ps`; -CREATE TABLE IF NOT EXISTS `yc4_item_ps` ( +DROP TABLE IF EXISTS `shop_item_ps`; +CREATE TABLE IF NOT EXISTS `shop_item_ps` ( `is_id` int(11) NOT NULL AUTO_INCREMENT, `it_id` varchar(10) NOT NULL DEFAULT '0', `mb_id` varchar(20) NOT NULL DEFAULT '', @@ -423,11 +422,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_ps` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_item_qa` +-- Table structure for table `shop_item_qa` -- -DROP TABLE IF EXISTS `yc4_item_qa`; -CREATE TABLE IF NOT EXISTS `yc4_item_qa` ( +DROP TABLE IF EXISTS `shop_item_qa`; +CREATE TABLE IF NOT EXISTS `shop_item_qa` ( `iq_id` int(11) NOT NULL AUTO_INCREMENT, `it_id` varchar(10) NOT NULL DEFAULT '', `mb_id` varchar(20) NOT NULL DEFAULT '', @@ -444,11 +443,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_qa` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_item_relation` +-- Table structure for table `shop_item_relation` -- -DROP TABLE IF EXISTS `yc4_item_relation`; -CREATE TABLE IF NOT EXISTS `yc4_item_relation` ( +DROP TABLE IF EXISTS `shop_item_relation`; +CREATE TABLE IF NOT EXISTS `shop_item_relation` ( `it_id` varchar(10) NOT NULL DEFAULT '', `it_id2` varchar(10) NOT NULL DEFAULT '', PRIMARY KEY (`it_id`,`it_id2`) @@ -457,11 +456,11 @@ CREATE TABLE IF NOT EXISTS `yc4_item_relation` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_new_win` +-- Table structure for table `shop_new_win` -- -DROP TABLE IF EXISTS `yc4_new_win`; -CREATE TABLE IF NOT EXISTS `yc4_new_win` ( +DROP TABLE IF EXISTS `shop_new_win`; +CREATE TABLE IF NOT EXISTS `shop_new_win` ( `nw_id` int(11) NOT NULL AUTO_INCREMENT, `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', @@ -479,11 +478,11 @@ CREATE TABLE IF NOT EXISTS `yc4_new_win` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_onlinecalc` +-- Table structure for table `shop_onlinecalc` -- -DROP TABLE IF EXISTS `yc4_onlinecalc`; -CREATE TABLE IF NOT EXISTS `yc4_onlinecalc` ( +DROP TABLE IF EXISTS `shop_onlinecalc`; +CREATE TABLE IF NOT EXISTS `shop_onlinecalc` ( `oc_id` int(11) NOT NULL AUTO_INCREMENT, `oc_subject` varchar(255) NOT NULL DEFAULT '', `oc_category` text NOT NULL, @@ -495,11 +494,11 @@ CREATE TABLE IF NOT EXISTS `yc4_onlinecalc` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_order` +-- Table structure for table `shop_order` -- -DROP TABLE IF EXISTS `yc4_order`; -CREATE TABLE IF NOT EXISTS `yc4_order` ( +DROP TABLE IF EXISTS `shop_order`; +CREATE TABLE IF NOT EXISTS `shop_order` ( `od_id` bigint(20) unsigned NOT NULL, `uq_id` bigint(20) unsigned NOT NULL, `mb_id` varchar(20) NOT NULL DEFAULT '', @@ -564,11 +563,11 @@ CREATE TABLE IF NOT EXISTS `yc4_order` ( -- -------------------------------------------------------- -- --- Table structure for table `yc4_wish` +-- Table structure for table `shop_wish` -- -DROP TABLE IF EXISTS `yc4_wish`; -CREATE TABLE IF NOT EXISTS `yc4_wish` ( +DROP TABLE IF EXISTS `shop_wish`; +CREATE TABLE IF NOT EXISTS `shop_wish` ( `wi_id` int(11) NOT NULL AUTO_INCREMENT, `mb_id` varchar(20) NOT NULL DEFAULT '', `it_id` varchar(10) NOT NULL DEFAULT '0', From fbbe124407333ebf81922a95d16ce31192e76fea Mon Sep 17 00:00:00 2001 From: rollydream Date: Thu, 11 Apr 2013 11:35:05 +0900 Subject: [PATCH 4/5] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20:=20#55=20=EC=83=81=ED=92=88=EB=AC=B8?= =?UTF-8?q?=EC=9D=98=20=ED=91=9C=EC=A4=80=ED=99=94=20=EB=B0=8F=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=201=EC=B0=A8=20=EC=9E=91=EC=97=85=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itemqalist.php | 164 ++++++++++++++++---------------- adm/shop_admin/itemtypelist.php | 2 +- 2 files changed, 81 insertions(+), 85 deletions(-) diff --git a/adm/shop_admin/itemqalist.php b/adm/shop_admin/itemqalist.php index d0956f15a..fe7c38433 100644 --- a/adm/shop_admin/itemqalist.php +++ b/adm/shop_admin/itemqalist.php @@ -52,101 +52,97 @@ $result = sql_query($sql); //$qstr = "page=$page&sst=$sst&sod=$sod&stx=$stx"; $qstr = "$qstr&sca=$sca&save_stx=$stx"; ?> + -
- - - - - - - -
'>처음 - - + + +

처음

+
+ 상품문의 검색 + + - - document.flist.sfl.value = '$sfl';"; ?> + + document.flist.sfl.value = '$sfl';"; ?> - - - -
건수 :  
+ + + + +

건수 :

- ------- - - - - - - - - - - +

상품문의 관리

+
상품명이름질문답변수정 삭제
+ + + + + + + + + + + + + + + + + + - - - - - - - "; -} - -if ($i == 0) { - echo "\n"; -} -?> - -
상품명이름질문답변관리
".get_it_image($row['it_id'].'_s', 50, 50)."".cut_str($row['it_name'],30)."$name{$row['iq_subject']}$answer$s_mod $s_del
자료가 한건도 없습니다.
- - - - - - - -
 
+ $list = $i%2; + ?> + + + + + + 수정 삭제 + + 자료가 한건도 없습니다.';; + } + ?> + + + + 자료가 한건도 없습니다.'; + echo '자료가 한건도 없습니다.'; ?> From 075155c2d16efd882784f817049f892790c4ab7e Mon Sep 17 00:00:00 2001 From: rollydream Date: Thu, 11 Apr 2013 13:04:28 +0900 Subject: [PATCH 5/5] =?UTF-8?q?=EC=87=BC=ED=95=91=EB=AA=B0=EA=B4=80?= =?UTF-8?q?=EB=A6=AC=EC=9E=90=20:=20#56=20=EC=82=AC=EC=9A=A9=ED=9B=84?= =?UTF-8?q?=EA=B8=B0=20=ED=91=9C=EC=A4=80=ED=99=94=20=EB=B0=8F=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=201=EC=B0=A8=20=EC=9E=91=EC=97=85=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/itempslist.php | 129 +++++++++++++++++----------------- adm/shop_admin/itemqalist.php | 2 +- 2 files changed, 64 insertions(+), 67 deletions(-) diff --git a/adm/shop_admin/itempslist.php b/adm/shop_admin/itempslist.php index f4351e4d2..8f7fff92d 100644 --- a/adm/shop_admin/itempslist.php +++ b/adm/shop_admin/itempslist.php @@ -52,63 +52,64 @@ $result = sql_query($sql); //$qstr = "page=$page&sst=$sst&sod=$sod&stx=$stx"; $qstr = "$qstr&sca=$sca&save_stx=$stx"; ?> + -
- - - - - - - -
'>처음 - +

'>처음

+
+ 상품후기 검색 + - + + + document.flist.sfl.value = '$sfl';"; ?> - - - -
건수 :  
+ + + + +

건수 :

- - -------- - - - - - - - - +
+
상품명이름제목점수확인수정 삭제
++ + + + + + + + + + + + + + + - + + - - - - - - - - "; + ?> + + + + + + + + + \n"; + echo ''; } ?> - +
상품명이름제목점수확인관리
".get_it_image($row['it_id'].'_s', 50, 50)."".cut_str($row['it_name'],30)."$name".$row['is_subject']."".$row['is_score']."$confirm$s_mod $s_del
수정 삭제
자료가 한건도 없습니다.
자료가 한건도 없습니다.
+ - - - - - -
 
+ document.flist.sfl.value = '$sfl';"; ?> - +

건수 :