@@ -93,6 +100,8 @@ if (G5_IS_MOBILE) {
로그인
+
FAQ
+
1:1문의
접속자
새글
diff --git a/install/gnuboard5.sql b/install/gnuboard5.sql
index 5b1177987..e246d27ce 100644
--- a/install/gnuboard5.sql
+++ b/install/gnuboard5.sql
@@ -784,3 +784,77 @@ CREATE TABLE IF NOT EXISTS `g5_qa_content` (
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
+
+--
+-- Table structure for table `g5_content`
+--
+
+DROP TABLE IF EXISTS `g5_content`;
+CREATE TABLE IF NOT EXISTS `g5_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_faq`
+--
+
+DROP TABLE IF EXISTS `g5_faq`;
+CREATE TABLE IF NOT EXISTS `g5_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_faq_master`
+--
+
+DROP TABLE IF EXISTS `g5_faq_master`;
+CREATE TABLE IF NOT EXISTS `g5_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_new_win`
+--
+
+DROP TABLE IF EXISTS `g5_new_win`;
+CREATE TABLE IF NOT EXISTS `g5_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;
+
+-- --------------------------------------------------------
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..a05214d8b 100644
--- a/lib/common.lib.php
+++ b/lib/common.lib.php
@@ -2170,47 +2170,92 @@ if (!function_exists('file_put_contents')) {
// HTML 마지막 처리
function html_end()
{
- global $config, $g5, $member;
+ global $html_process;
- // 현재접속자 처리
- $tmp_sql = " select count(*) as cnt from {$g5['login_table']} where lo_ip = '{$_SERVER['REMOTE_ADDR']}' ";
- $tmp_row = sql_fetch($tmp_sql);
-
- if ($tmp_row['cnt']) {
- $tmp_sql = " update {$g5['login_table']} set mb_id = '{$member['mb_id']}', lo_datetime = '".G5_TIME_YMDHIS."', lo_location = '{$g5['lo_location']}', lo_url = '{$g5['lo_url']}' where lo_ip = '{$_SERVER['REMOTE_ADDR']}' ";
- sql_query($tmp_sql, FALSE);
- } else {
- $tmp_sql = " insert into {$g5['login_table']} ( lo_ip, mb_id, lo_datetime, lo_location, lo_url ) values ( '{$_SERVER['REMOTE_ADDR']}', '{$member['mb_id']}', '".G5_TIME_YMDHIS."', '{$g5['lo_location']}', '{$g5['lo_url']}' ) ";
- sql_query($tmp_sql, FALSE);
-
- // 시간이 지난 접속은 삭제한다
- sql_query(" delete from {$g5['login_table']} where lo_datetime < '".date("Y-m-d H:i:s", G5_SERVER_TIME - (60 * $config['cf_login_minutes']))."' ");
-
- // 부담(overhead)이 있다면 테이블 최적화
- //$row = sql_fetch(" SHOW TABLE STATUS FROM `$mysql_db` LIKE '$g5['login_table']' ");
- //if ($row['Data_free'] > 0) sql_query(" OPTIMIZE TABLE $g5['login_table'] ");
- }
-
- // 버퍼의 내용에서 body 태그 중간의 외부 css 파일을 CAPTURE 하여 head 태그로 이동시켜준다.
- $buffer = ob_get_contents();
- ob_end_clean();
- preg_match('#
(.*)#is', $buffer, $bodys);
- preg_match_all('/[\n\r]?(]+>).*()?/i', $bodys[0], $links);
- $stylesheet = '';
- $links[0] = array_unique($links[0]);
- foreach ($links[0] as $key=>$link) {
- //$link = PHP_EOL.$links[0][$i];
- $stylesheet .= $link;
- $buffer = preg_replace('#'.$link.'#', '', $buffer);
- }
- /*
-
-
- 밑으로 스킨의 스타일시트가 위치하도록 하게 한다.
- */
- return preg_replace('#([^<]*
]+>)#', "$1$stylesheet", $buffer);
+ return $html_process->run();
}
+function add_stylesheet($stylesheet, $order=0)
+{
+ global $html_process;
+
+ if(trim($stylesheet))
+ $html_process->merge_stylesheet($stylesheet, $order);
+}
+
+class html_process {
+ protected $css = array();
+
+ function merge_stylesheet($stylesheet, $order)
+ {
+ $links = $this->css;
+ $is_merge = true;
+
+ foreach($links as $link) {
+ if($link[1] == $stylesheet) {
+ $is_merge = false;
+ break;
+ }
+ }
+
+ if($is_merge)
+ $this->css[] = array($order, $stylesheet);
+ }
+
+ function run()
+ {
+ global $config, $g5, $member;
+
+ // 현재접속자 처리
+ $tmp_sql = " select count(*) as cnt from {$g5['login_table']} where lo_ip = '{$_SERVER['REMOTE_ADDR']}' ";
+ $tmp_row = sql_fetch($tmp_sql);
+
+ if ($tmp_row['cnt']) {
+ $tmp_sql = " update {$g5['login_table']} set mb_id = '{$member['mb_id']}', lo_datetime = '".G5_TIME_YMDHIS."', lo_location = '{$g5['lo_location']}', lo_url = '{$g5['lo_url']}' where lo_ip = '{$_SERVER['REMOTE_ADDR']}' ";
+ sql_query($tmp_sql, FALSE);
+ } else {
+ $tmp_sql = " insert into {$g5['login_table']} ( lo_ip, mb_id, lo_datetime, lo_location, lo_url ) values ( '{$_SERVER['REMOTE_ADDR']}', '{$member['mb_id']}', '".G5_TIME_YMDHIS."', '{$g5['lo_location']}', '{$g5['lo_url']}' ) ";
+ sql_query($tmp_sql, FALSE);
+
+ // 시간이 지난 접속은 삭제한다
+ sql_query(" delete from {$g5['login_table']} where lo_datetime < '".date("Y-m-d H:i:s", G5_SERVER_TIME - (60 * $config['cf_login_minutes']))."' ");
+
+ // 부담(overhead)이 있다면 테이블 최적화
+ //$row = sql_fetch(" SHOW TABLE STATUS FROM `$mysql_db` LIKE '$g5['login_table']' ");
+ //if ($row['Data_free'] > 0) sql_query(" OPTIMIZE TABLE $g5['login_table'] ");
+ }
+
+ $buffer = ob_get_contents();
+ ob_end_clean();
+
+ $stylesheet = '';
+ $links = $this->css;
+
+ if(!empty($links)) {
+ foreach ($links as $key => $row) {
+ $order[$key] = $row[0];
+ $index[$key] = $key;
+ $style[$key] = $row[1];
+ }
+
+ array_multisort($order, SORT_ASC, $index, SORT_ASC, $links);
+
+ foreach($links as $link) {
+ if(!trim($link[1]))
+ continue;
+
+ $stylesheet .= PHP_EOL.$link[1];
+ }
+ }
+
+ /*
+
+
+ 밑으로 스킨의 스타일시트가 위치하도록 하게 한다.
+ */
+ return preg_replace('#([^<]*
]+>)#', "$1$stylesheet", $buffer);
+ }
+}
// 휴대폰번호의 숫자만 취한 후 중간에 하이픈(-)을 넣는다.
function hyphen_hp_number($hp)
@@ -2550,4 +2595,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/latest.lib.php b/lib/latest.lib.php
index 71dad15bc..214147b02 100644
--- a/lib/latest.lib.php
+++ b/lib/latest.lib.php
@@ -34,7 +34,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40, $cache_time=
}
if(!$cache_fwrite)
- include_once($cache_file);
+ include($cache_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/mobile/skin/board/basic/list.skin.php b/mobile/skin/board/basic/list.skin.php
index 7d2d690aa..5b72909c1 100644
--- a/mobile/skin/board/basic/list.skin.php
+++ b/mobile/skin/board/basic/list.skin.php
@@ -7,9 +7,10 @@ $colspan = 5;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
-?>
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
목록
diff --git a/mobile/skin/board/basic/view.skin.php b/mobile/skin/board/basic/view.skin.php
index 891d13005..fd6192049 100644
--- a/mobile/skin/board/basic/view.skin.php
+++ b/mobile/skin/board/basic/view.skin.php
@@ -1,9 +1,11 @@
', 0);
?>
-
diff --git a/mobile/skin/board/basic/write.skin.php b/mobile/skin/board/basic/write.skin.php
index da1589e9b..b15f921b7 100644
--- a/mobile/skin/board/basic/write.skin.php
+++ b/mobile/skin/board/basic/write.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
diff --git a/mobile/skin/board/gallery/list.skin.php b/mobile/skin/board/gallery/list.skin.php
index 41300481f..c429e7614 100644
--- a/mobile/skin/board/gallery/list.skin.php
+++ b/mobile/skin/board/gallery/list.skin.php
@@ -1,9 +1,11 @@
', 0);
?>
-
목록
diff --git a/mobile/skin/board/gallery/view.skin.php b/mobile/skin/board/gallery/view.skin.php
index 4a87e398b..6e9d50133 100644
--- a/mobile/skin/board/gallery/view.skin.php
+++ b/mobile/skin/board/gallery/view.skin.php
@@ -1,9 +1,11 @@
', 0);
?>
-
diff --git a/mobile/skin/board/gallery/write.skin.php b/mobile/skin/board/gallery/write.skin.php
index 9fe03bc8c..129674527 100644
--- a/mobile/skin/board/gallery/write.skin.php
+++ b/mobile/skin/board/gallery/write.skin.php
@@ -1,9 +1,9 @@
', 0);
?>
-
-
diff --git a/mobile/skin/connect/basic/connect.skin.php b/mobile/skin/connect/basic/connect.skin.php
index c74b4f8ef..55849443c 100644
--- a/mobile/skin/connect/basic/connect.skin.php
+++ b/mobile/skin/connect/basic/connect.skin.php
@@ -1,8 +1,9 @@
', 0);
?>
-
-
diff --git a/mobile/skin/connect/basic/current_connect.skin.php b/mobile/skin/connect/basic/current_connect.skin.php
index 344b6f9cc..5d47774b7 100644
--- a/mobile/skin/connect/basic/current_connect.skin.php
+++ b/mobile/skin/connect/basic/current_connect.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
diff --git a/mobile/skin/latest/basic/latest.skin.php b/mobile/skin/latest/basic/latest.skin.php
index 373997428..89ac1b4b8 100644
--- a/mobile/skin/latest/basic/latest.skin.php
+++ b/mobile/skin/latest/basic/latest.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
diff --git a/mobile/skin/member/basic/formmail.skin.php b/mobile/skin/member/basic/formmail.skin.php
index e25d4c997..3add8546b 100644
--- a/mobile/skin/member/basic/formmail.skin.php
+++ b/mobile/skin/member/basic/formmail.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
diff --git a/skin/member/basic/zip.skin.php b/skin/member/basic/zip.skin.php
index 8586bc4e0..a99a6ae79 100644
--- a/skin/member/basic/zip.skin.php
+++ b/skin/member/basic/zip.skin.php
@@ -1,9 +1,11 @@
', 0);
?>
-
diff --git a/skin/new/basic/new.skin.php b/skin/new/basic/new.skin.php
index 935377785..da1e31a75 100644
--- a/skin/new/basic/new.skin.php
+++ b/skin/new/basic/new.skin.php
@@ -1,8 +1,9 @@
+if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
@@ -63,7 +64,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
', 0);
?>
-
-
회원로그인
diff --git a/skin/outlogin/basic/outlogin.skin.2.php b/skin/outlogin/basic/outlogin.skin.2.php
index 3631ab5fc..fc508b166 100644
--- a/skin/outlogin/basic/outlogin.skin.2.php
+++ b/skin/outlogin/basic/outlogin.skin.2.php
@@ -1,5 +1,8 @@
', 0);
?>
diff --git a/skin/poll/basic/poll.skin.php b/skin/poll/basic/poll.skin.php
index 87848f54e..05d3260e1 100644
--- a/skin/poll/basic/poll.skin.php
+++ b/skin/poll/basic/poll.skin.php
@@ -1,10 +1,11 @@
', 0);
?>
-
-
@@ -47,8 +48,8 @@ function fpoll_submit(f)
return false;
}
- var new_win = window.open("about:blank", "win_poll", "width=616,height=500,scrollbars=yes,resizable=yes");
- f.target = "win_poll";
+ var new_win = window.open("about:blank", "win_poll", "width=616,height=500,scrollbars=yes,resizable=yes");
+ f.target = "win_poll";
return true;
}
diff --git a/skin/poll/basic/poll_result.skin.php b/skin/poll/basic/poll_result.skin.php
index 9de3d6a6c..4741f5941 100644
--- a/skin/poll/basic/poll_result.skin.php
+++ b/skin/poll/basic/poll_result.skin.php
@@ -1,10 +1,11 @@
', 0);
?>
-
-
diff --git a/skin/popular/basic/popular.skin.php b/skin/popular/basic/popular.skin.php
index f254bb432..14fe12281 100644
--- a/skin/popular/basic/popular.skin.php
+++ b/skin/popular/basic/popular.skin.php
@@ -1,10 +1,11 @@
', 0);
?>
-
-
인기검색어
diff --git a/skin/qa/basic/list.skin.php b/skin/qa/basic/list.skin.php
index 857fcbfe4..cd1a6dbb4 100644
--- a/skin/qa/basic/list.skin.php
+++ b/skin/qa/basic/list.skin.php
@@ -5,9 +5,10 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$colspan = 6;
if ($is_checkbox) $colspan++;
-?>
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
diff --git a/skin/qa/basic/view.skin.php b/skin/qa/basic/view.skin.php
index ba1c08d73..1caa5a63a 100644
--- a/skin/qa/basic/view.skin.php
+++ b/skin/qa/basic/view.skin.php
@@ -1,9 +1,11 @@
', 0);
?>
-
diff --git a/skin/qa/basic/write.skin.php b/skin/qa/basic/write.skin.php
index e34181369..d81465a50 100644
--- a/skin/qa/basic/write.skin.php
+++ b/skin/qa/basic/write.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
diff --git a/skin/search/basic/search.skin.php b/skin/search/basic/search.skin.php
index d11cbf042..c88dbde84 100644
--- a/skin/search/basic/search.skin.php
+++ b/skin/search/basic/search.skin.php
@@ -1,10 +1,11 @@
', 0);
?>
-
-
@@ -48,7 +49,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
f.stx.focus();
return false;
}
-
+
f.action = "";
return true;
}
@@ -92,7 +93,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
- 검색된 자료가 하나도 없습니다.
+ 검색된 자료가 하나도 없습니다.
@@ -108,7 +109,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
댓글 | ";
$comment_href = "#c_".$list[$idx][$i][wr_id];
diff --git a/skin/shop/basic/boxbanner.skin.php b/skin/shop/basic/boxbanner.skin.php
index 675389369..42d23942f 100644
--- a/skin/shop/basic/boxbanner.skin.php
+++ b/skin/shop/basic/boxbanner.skin.php
@@ -26,7 +26,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
else if ($row['bn_url'] && $row['bn_url'] != 'http://') {
echo '';
}
- echo ' '.PHP_EOL;
+ echo ' ';
+ if($row['bn_url'])
+ echo ''.PHP_EOL;
echo ''.PHP_EOL;
}
}
diff --git a/skin/shop/basic/boxcommunity.skin.php b/skin/shop/basic/boxcommunity.skin.php
index 4de76c337..698a8a65f 100644
--- a/skin/shop/basic/boxcommunity.skin.php
+++ b/skin/shop/basic/boxcommunity.skin.php
@@ -17,7 +17,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
}
if ($i==0)
- echo '이벤트 없음 '.PHP_EOL;
+ echo '게시판 없음 '.PHP_EOL;
?>
diff --git a/skin/shop/basic/item.form.skin.php b/skin/shop/basic/item.form.skin.php
index 62e57282c..2915d0cd5 100644
--- a/skin/shop/basic/item.form.skin.php
+++ b/skin/shop/basic/item.form.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
diff --git a/skin/shop/basic/item.info.skin.php b/skin/shop/basic/item.info.skin.php
index dba8985bb..4de83e319 100644
--- a/skin/shop/basic/item.info.skin.php
+++ b/skin/shop/basic/item.info.skin.php
@@ -1,8 +1,10 @@
', 0);
?>
-
diff --git a/skin/shop/basic/itemqa.skin.php b/skin/shop/basic/itemqa.skin.php
index 0dc21547d..a1a14ca6f 100644
--- a/skin/shop/basic/itemqa.skin.php
+++ b/skin/shop/basic/itemqa.skin.php
@@ -1,8 +1,10 @@
', 0);
?>
-
diff --git a/skin/shop/basic/itemqaform.skin.php b/skin/shop/basic/itemqaform.skin.php
index 8581dc15d..8663f53e9 100644
--- a/skin/shop/basic/itemqaform.skin.php
+++ b/skin/shop/basic/itemqaform.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
diff --git a/skin/shop/basic/itemqalist.skin.php b/skin/shop/basic/itemqalist.skin.php
index 7ed806c75..bcd63f9d2 100644
--- a/skin/shop/basic/itemqalist.skin.php
+++ b/skin/shop/basic/itemqalist.skin.php
@@ -1,8 +1,10 @@
', 0);
?>
-
diff --git a/skin/shop/basic/itemuse.skin.php b/skin/shop/basic/itemuse.skin.php
index 917759b5b..8204cbb34 100644
--- a/skin/shop/basic/itemuse.skin.php
+++ b/skin/shop/basic/itemuse.skin.php
@@ -1,8 +1,10 @@
', 0);
?>
-
diff --git a/skin/shop/basic/itemuseform.skin.php b/skin/shop/basic/itemuseform.skin.php
index 7112628a5..06de7f4d8 100644
--- a/skin/shop/basic/itemuseform.skin.php
+++ b/skin/shop/basic/itemuseform.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
diff --git a/skin/shop/basic/itemuselist.skin.php b/skin/shop/basic/itemuselist.skin.php
index 1769d0250..9fb947d42 100644
--- a/skin/shop/basic/itemuselist.skin.php
+++ b/skin/shop/basic/itemuselist.skin.php
@@ -1,8 +1,10 @@
', 0);
?>
-
diff --git a/skin/shop/basic/list.10.skin.php b/skin/shop/basic/list.10.skin.php
index dc499b749..6547b728f 100644
--- a/skin/shop/basic/list.10.skin.php
+++ b/skin/shop/basic/list.10.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
', 0);
+
// 관련상품 스킨은 사품을 한줄에 하나만 표시하며 해당 상품에 관련상품이 등록되어 있는 경우 기본으로 7개까지 노출합니다.
?>
-
-
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
diff --git a/skin/shop/basic/list.sub.skin.php b/skin/shop/basic/list.sub.skin.php
index 80f0d060a..eeb741ace 100644
--- a/skin/shop/basic/list.sub.skin.php
+++ b/skin/shop/basic/list.sub.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
리스트뷰
diff --git a/skin/shop/basic/listcategory.skin.php b/skin/shop/basic/listcategory.skin.php
index 0030e321d..2e6bdae4a 100644
--- a/skin/shop/basic/listcategory.skin.php
+++ b/skin/shop/basic/listcategory.skin.php
@@ -19,9 +19,10 @@ while ($row=sql_fetch_array($result)) {
}
if ($exists) {
-?>
-
+ // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+ add_stylesheet(' ', 0);
+?>
diff --git a/skin/shop/basic/listcategory2.skin.php b/skin/shop/basic/listcategory2.skin.php
index 1689dcf6b..44b84f784 100644
--- a/skin/shop/basic/listcategory2.skin.php
+++ b/skin/shop/basic/listcategory2.skin.php
@@ -49,9 +49,10 @@ if (!$exists) {
if ($exists) {
-?>
-
+ // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+ add_stylesheet(' ', 0);
+?>
diff --git a/skin/shop/basic/listcategory3.skin.php b/skin/shop/basic/listcategory3.skin.php
index 57c83b199..cf1f545b5 100644
--- a/skin/shop/basic/listcategory3.skin.php
+++ b/skin/shop/basic/listcategory3.skin.php
@@ -18,9 +18,10 @@ while ($row=sql_fetch_array($result)) {
}
if ($exists) {
-?>
-
+ // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+ add_stylesheet(' ', 0);
+?>
diff --git a/skin/shop/basic/main.10.skin.php b/skin/shop/basic/main.10.skin.php
index ce247062b..e7cc72da2 100644
--- a/skin/shop/basic/main.10.skin.php
+++ b/skin/shop/basic/main.10.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
', 0);
+
/*
상품리스트가 일정 시간마다 위로 롤링되는 스킨
롤링되기 위해서는 상품이 2줄 이상이어야 함
*/
?>
-
-
효과재생
diff --git a/skin/shop/basic/main.30.skin.php b/skin/shop/basic/main.30.skin.php
index ac0d39856..35005ddab 100644
--- a/skin/shop/basic/main.30.skin.php
+++ b/skin/shop/basic/main.30.skin.php
@@ -1,14 +1,15 @@
', 0);
+
/*
상품리스트가 일정 시간마다 좌로 롤링되는 스킨
롤링되기 위해서는 상품이 2줄 이상이어야 함
*/
?>
-
-
효과재생
diff --git a/skin/shop/basic/main.40.skin.php b/skin/shop/basic/main.40.skin.php
index 0787c6819..6912a50b9 100644
--- a/skin/shop/basic/main.40.skin.php
+++ b/skin/shop/basic/main.40.skin.php
@@ -1,14 +1,15 @@
', 0);
+
/*
상품리스트가 일정 시간마다 바뀜
롤링되기 위해서는 상품이 2줄 이상이어야 함
*/
?>
-
-
효과재생
diff --git a/skin/shop/basic/main.50.skin.php b/skin/shop/basic/main.50.skin.php
index 764c8c437..e5a9cc1ac 100644
--- a/skin/shop/basic/main.50.skin.php
+++ b/skin/shop/basic/main.50.skin.php
@@ -1,13 +1,14 @@
', 0);
+
/*
리스트의 상품이 순차적으로 위에서 내려옴
*/
?>
-
-
효과재생
diff --git a/skin/shop/basic/navigation.skin.php b/skin/shop/basic/navigation.skin.php
index 8cdf11f93..7a85a0ed5 100644
--- a/skin/shop/basic/navigation.skin.php
+++ b/skin/shop/basic/navigation.skin.php
@@ -27,9 +27,10 @@ else
$navigation = $g5['title'];
//if ($it_id) $navigation .= " > $it[it_name]";
-?>
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet(' ', 0);
+?>
Home
diff --git a/skin/shop/basic/personalpay.skin.php b/skin/shop/basic/personalpay.skin.php
index aced0b4fc..8aab7f9ce 100644
--- a/skin/shop/basic/personalpay.skin.php
+++ b/skin/shop/basic/personalpay.skin.php
@@ -1,8 +1,9 @@
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
-
+// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
+add_stylesheet('
', 0);
+?>
', 0);
?>
-
-
접속자집계
diff --git a/tail.php b/tail.php
index 0c06084f9..e579db0bc 100644
--- a/tail.php
+++ b/tail.php
@@ -24,13 +24,18 @@ if (G5_IS_MOBILE) {