diff --git a/adm/admin.menu100.php b/adm/admin.menu100.php index 822c068fd..4d657b4c1 100644 --- a/adm/admin.menu100.php +++ b/adm/admin.menu100.php @@ -4,6 +4,7 @@ $menu['menu100'] = array ( array('', '기본환경설정', G5_ADMIN_URL.'/config_form.php', 'cf_basic'), array('', '관리권한설정', G5_ADMIN_URL.'/auth_list.php', 'cf_auth'), array('100300', '메일 테스트', G5_ADMIN_URL.'/sendmail_test.php', 'cf_mailtest'), + array('100310', '팝업레이어관리', G5_ADMIN_URL.'/newwinlist.php', 'scf_poplayer', 1), //array('100400', '버전정보', G5_ADMIN_URL.'/version.php', 'cf_version'), array('100800', '세션파일 일괄삭제',G5_ADMIN_URL.'/session_file_delete.php', 'cf_session', 1), array('100900', '캐시파일 일괄삭제',G5_ADMIN_URL.'/cache_file_delete.php', 'cf_cache', 1), diff --git a/adm/admin.menu300.php b/adm/admin.menu300.php index 01ca6a94f..1268109e0 100644 --- a/adm/admin.menu300.php +++ b/adm/admin.menu300.php @@ -6,5 +6,7 @@ $menu['menu300'] = array ( array('300300', '인기검색어관리', ''.G5_ADMIN_URL.'/popular_list.php', 'bbs_poplist', 1), array('300400', '인기검색어순위', ''.G5_ADMIN_URL.'/popular_rank.php', 'bbs_poprank', 1), array('300500', '1:1문의설정', ''.G5_ADMIN_URL.'/qa_config.php', 'qa'), + array('300600', '내용관리', G5_ADMIN_URL.'/contentlist.php', 'scf_contents', 1), + array('300700', 'FAQ관리', G5_ADMIN_URL.'/faqmasterlist.php', 'scf_faq', 1), ); ?> \ No newline at end of file diff --git a/adm/contentform.php b/adm/contentform.php new file mode 100644 index 000000000..8419ebdeb --- /dev/null +++ b/adm/contentform.php @@ -0,0 +1,159 @@ + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
목록
+ + class="required frm_input" size="20" maxlength="20"> + 내용확인 +
내용
+ + +
+ + +
+ + 750) + $width = 750; + else + $width = $size[0]; + + echo ' '; + $himg_str = ''; + } + if ($himg_str) { + echo ''; + } + ?> +
+ + 750) + $width = 750; + else + $width = $size[0]; + + echo ' '; + $timg_str = ''; + } + if ($timg_str) { + echo ''; + } + ?> +
+
+ +
+ + 목록 +
+ +
+ + + + diff --git a/adm/contentformupdate.php b/adm/contentformupdate.php new file mode 100644 index 000000000..a3313bcb1 --- /dev/null +++ b/adm/contentformupdate.php @@ -0,0 +1,77 @@ + diff --git a/adm/contentlist.php b/adm/contentlist.php new file mode 100644 index 000000000..f3ce20a15 --- /dev/null +++ b/adm/contentlist.php @@ -0,0 +1,98 @@ +/data/dbconfig.php 파일에 $g5[\'content_table\'] = G5_TABLE_PREFIX.\'content\'; 를 추가해 주세요.'); +} +//내용(컨텐츠)정보 테이블이 있는지 검사한다. +if(!sql_query(" DESCRIBE {$g5['content_table']} ", false)) { + if(sql_query(" DESCRIBE {$g5['g5_shop_content_table']} ", false)) { + sql_query(" ALTER TABLE {$g5['g5_shop_content_table']} RENAME TO `{$g5['content_table']}` ;", false); + } else { + $query_cp = sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['content_table']}` ( + `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 ", true); + + // 내용관리 생성 + sql_query(" insert into `{$g5['content_table']}` set co_id = 'company', co_html = '1', co_subject = '회사소개', co_content= '

회사소개에 대한 내용을 입력하십시오.

' ", false ); + sql_query(" insert into `{$g5['content_table']}` set co_id = 'privacy', co_html = '1', co_subject = '개인정보 처리방침', co_content= '

개인정보 처리방침에 대한 내용을 입력하십시오.

' ", false ); + sql_query(" insert into `{$g5['content_table']}` set co_id = 'provision', co_html = '1', co_subject = '서비스 이용약관', co_content= '

서비스 이용약관에 대한 내용을 입력하십시오.

' ", false ); + } +} + +$g5['title'] = '내용관리'; +include_once (G5_ADMIN_PATH.'/admin.head.php'); + +$sql_common = " from {$g5['content_table']} "; + +// 테이블의 전체 레코드수만 얻음 +$sql = " select count(*) as cnt " . $sql_common; +$row = sql_fetch($sql); +$total_count = $row['cnt']; + +$rows = $config['cf_page_rows']; +$total_page = ceil($total_count / $rows); // 전체 페이지 계산 +if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지) +$from_record = ($page - 1) * $rows; // 시작 열을 구함 + +$sql = "select * $sql_common order by co_id limit $from_record, {$config['cf_page_rows']} "; +$result = sql_query($sql); +?> + +
+ 1) {?>처음으로 + 전체 내용 건 +
+ +
+ 내용 추가 +
+ +
+ + + + + + + + + + + + + + + + + '; + } + ?> + +
목록
ID제목관리
+ 보기 + 수정 + 삭제 +
자료가 한건도 없습니다.
+
+ + + + diff --git a/adm/faqform.php b/adm/faqform.php new file mode 100644 index 000000000..b3852c07e --- /dev/null +++ b/adm/faqform.php @@ -0,0 +1,99 @@ + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + 내용보기 +
질문
답변
+
+ +
+ + 목록 +
+ +
+ + + + diff --git a/adm/faqformupdate.php b/adm/faqformupdate.php new file mode 100644 index 000000000..722a6c3a4 --- /dev/null +++ b/adm/faqformupdate.php @@ -0,0 +1,43 @@ + diff --git a/adm/faqlist.php b/adm/faqlist.php new file mode 100644 index 000000000..94b4a547e --- /dev/null +++ b/adm/faqlist.php @@ -0,0 +1,95 @@ + + +
+ 등록된 FAQ 상세내용 건 +
+ +
+
    +
  1. FAQ는 무제한으로 등록할 수 있습니다
  2. +
  3. FAQ 상세내용 추가를 눌러 자주하는 질문과 답변을 입력합니다.
  4. +
+
+ +
+ FAQ 상세내용 추가 +
+ +
+ + + + + + + + + + + + + + + + + + + + + '; + } + ?> + +
목록
번호제목순서관리
+ 수정 + 삭제 +
자료가 없습니다.
+ +
+ +
+ FAQ 관리 +
+ + + diff --git a/adm/faqmasterform.php b/adm/faqmasterform.php new file mode 100644 index 000000000..0a154e58f --- /dev/null +++ b/adm/faqmasterform.php @@ -0,0 +1,133 @@ + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + 보기 + 상세보기 + +
+ + 750) + $width = 750; + else + $width = $size[0]; + + echo ' '; + $himg_str = ''; + } + if ($himg_str) { + echo ''; + } + ?> +
+ + 750) + $width = 750; + else + $width = $size[0]; + + echo ''; + $timg_str = ''; + } + if ($timg_str) { + echo ''; + } + ?> +
상단 내용 + +
하단 내용 + +
+
+ +
+ + 목록 +
+ +
+ + + + diff --git a/adm/faqmasterformupdate.php b/adm/faqmasterformupdate.php new file mode 100644 index 000000000..fa6d44a03 --- /dev/null +++ b/adm/faqmasterformupdate.php @@ -0,0 +1,69 @@ + diff --git a/adm/faqmasterlist.php b/adm/faqmasterlist.php new file mode 100644 index 000000000..494cc7217 --- /dev/null +++ b/adm/faqmasterlist.php @@ -0,0 +1,126 @@ +/data/dbconfig.php 파일에
$g5[\'faq_table\'] = G5_TABLE_PREFIX.\'faq\';
$g5[\'faq_master_table\'] = G5_TABLE_PREFIX.\'faq_master\';
를 추가해 주세요.'); +} + +//자주하시는 질문 마스터 테이블이 있는지 검사한다. +if(!sql_query(" DESCRIBE {$g5['faq_master_table']} ", false)) { + if(sql_query(" DESCRIBE {$g5['g5_shop_faq_master_table']} ", false)) { + sql_query(" ALTER TABLE {$g5['g5_shop_faq_master_table']} RENAME TO `{$g5['faq_master_table']}` ;", false); + } else { + $query_cp = sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['faq_master_table']}` ( + `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 ", true); + } + // FAQ Master + sql_query(" insert into `{$g5['faq_master_table']}` set fm_id = '1', fm_subject = '자주하시는 질문' ", false); +} + +//자주하시는 질문 테이블이 있는지 검사한다. +if(!sql_query(" DESCRIBE {$g5['faq_table']} ", false)) { + if(sql_query(" DESCRIBE {$g5['g5_shop_faq_table']} ", false)) { + sql_query(" ALTER TABLE {$g5['g5_shop_faq_table']} RENAME TO `{$g5['faq_table']}` ;", false); + } else { + $query_cp = sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['faq_table']}` ( + `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 ", true); + } +} + +$g5['title'] = 'FAQ관리'; +include_once (G5_ADMIN_PATH.'/admin.head.php'); + +$sql_common = " from {$g5['faq_master_table']} "; + +// 테이블의 전체 레코드수만 얻음 +$sql = " select count(*) as cnt " . $sql_common; +$row = sql_fetch($sql); +$total_count = $row['cnt']; + +$rows = $config['cf_page_rows']; +$total_page = ceil($total_count / $rows); // 전체 페이지 계산 +if ($page == "") { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지) +$from_record = ($page - 1) * $rows; // 시작 열을 구함 + +$sql = "select * $sql_common order by fm_id desc limit $from_record, {$config['cf_page_rows']} "; +$result = sql_query($sql); +?> + +
+ 1) {?>처음으로 + 전체 FAQ 건 +
+ +
+
    +
  1. FAQ는 무제한으로 등록할 수 있습니다
  2. +
  3. FAQ추가를 눌러 FAQ Master를 생성합니다. (하나의 FAQ 타이틀 생성 : 자주하시는 질문, 이용안내..등 )
  4. +
  5. 생성한 FAQ Master 의 제목을 눌러 세부 내용을 관리할 수 있습니다.
  6. +
+
+ +
+ FAQ추가 +
+ +
+ + + + + + + + + + + + + + + + + + + '; + } + ?> + +
목록
ID제목FAQ수관리
+ 보기 + 수정 + 삭제 +
자료가 한건도 없습니다.
+
+ + + + diff --git a/adm/newwinform.php b/adm/newwinform.php new file mode 100644 index 000000000..9af03c821 --- /dev/null +++ b/adm/newwinform.php @@ -0,0 +1,147 @@ + + +
+ + + +
+

쇼핑몰 초기화면 접속 시 자동으로 뜰 팝업레이어를 설정합니다.

+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + 시간 +
+ + " id="nw_begin_chk" onclick="if (this.checked == true) this.form.nw_begin_time.value=this.form.nw_begin_chk.value; else this.form.nw_begin_time.value = this.form.nw_begin_time.defaultValue;"> + +
+ + " id="nw_end_chk" onclick="if (this.checked == true) this.form.nw_end_time.value=this.form.nw_end_chk.value; else this.form.nw_end_time.value = this.form.nw_end_time.defaultValue;"> + +
+ px +
+ px +
+ px +
+ px +
+ +
내용
+
+ +
+ + 목록 +
+
+ + + + diff --git a/adm/newwinformupdate.php b/adm/newwinformupdate.php new file mode 100644 index 000000000..a7286ad2f --- /dev/null +++ b/adm/newwinformupdate.php @@ -0,0 +1,51 @@ + diff --git a/adm/newwinlist.php b/adm/newwinlist.php new file mode 100644 index 000000000..4f51abe70 --- /dev/null +++ b/adm/newwinlist.php @@ -0,0 +1,118 @@ +/data/dbconfig.php 파일에 $g5[\'new_win_table\'] = G5_TABLE_PREFIX.\'new_win\'; 를 추가해 주세요.'); +} +//내용(컨텐츠)정보 테이블이 있는지 검사한다. +if(!sql_query(" DESCRIBE {$g5['new_win_table']} ", false)) { + if(sql_query(" DESCRIBE {$g5['g5_shop_new_win_table']} ", false)) { + sql_query(" ALTER TABLE {$g5['g5_shop_new_win_table']} RENAME TO `{$g5['new_win_table']}` ;", false); + } else { + $query_cp = sql_query(" CREATE TABLE IF NOT EXISTS `{$g5['new_win_table']}` ( + `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 ", true); + } +} + +$g5['title'] = '팝업레이어 관리'; +include_once (G5_ADMIN_PATH.'/admin.head.php'); + +$sql_common = " from {$g5['new_win_table']} "; + +// 테이블의 전체 레코드수만 얻음 +$sql = " select count(*) as cnt " . $sql_common; +$row = sql_fetch($sql); +$total_count = $row['cnt']; + +$sql = "select * $sql_common order by nw_id desc "; +$result = sql_query($sql); +?> + +
전체 건
+ +
+ 새창관리추가 +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + '; + } + ?> + +
목록
번호제목접속기기시작일시종료일시시간LeftTopWidthHeight관리
시간pxpxpxpx + 수정 + 삭제 +
자료가 한건도 없습니다.
+
+ + + diff --git a/bbs/content.php b/bbs/content.php new file mode 100644 index 000000000..76082013c --- /dev/null +++ b/bbs/content.php @@ -0,0 +1,94 @@ +관리자 모드에서 게시판관리->내용 관리를 먼저 확인해 주세요.'); +} + +// 내용 +$sql = " select * from {$g5['content_table']} where co_id = '$co_id' "; +$co = sql_fetch($sql); +if (!$co['co_id']) + alert('등록된 내용이 없습니다.'); + +$g5['title'] = $co['co_subject']; + +if ($co['co_include_head']) + @include_once($co['co_include_head']); +else + include_once('./_head.php'); + +$str = conv_content($co['co_content'], $co['co_html']); + +// $src 를 $dst 로 변환 +unset($src); +unset($dst); +$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/"; +//$dst[] = $default[de_subject]; +$dst[] = $config['cf_title']; +$src[] = "/{{회사명}}|{{상호}}/"; +$dst[] = $default['de_admin_company_name']; +$src[] = "/{{대표자명}}/"; +$dst[] = $default['de_admin_company_owner']; +$src[] = "/{{사업자등록번호}}/"; +$dst[] = $default['de_admin_company_saupja_no']; +$src[] = "/{{대표전화번호}}/"; +$dst[] = $default['de_admin_company_tel']; +$src[] = "/{{팩스번호}}/"; +$dst[] = $default['de_admin_company_fax']; +$src[] = "/{{통신판매업신고번호}}/"; +$dst[] = $default['de_admin_company_tongsin_no']; +$src[] = "/{{사업장우편번호}}/"; +$dst[] = $default['de_admin_company_zip']; +$src[] = "/{{사업장주소}}/"; +$dst[] = $default['de_admin_company_addr']; +$src[] = "/{{운영자명}}|{{관리자명}}/"; +$dst[] = $default['de_admin_name']; +$src[] = "/{{운영자e-mail}}|{{관리자e-mail}}/i"; +$dst[] = $default['de_admin_email']; +$src[] = "/{{정보관리책임자명}}/"; +$dst[] = $default['de_admin_info_name']; +$src[] = "/{{정보관리책임자e-mail}}|{{정보책임자e-mail}}/i"; +$dst[] = $default['de_admin_info_email']; + +$str = preg_replace($src, $dst, $str); + +if ($is_admin) + echo '
내용 수정
'; +?> + + +'; +?> + +
+
+

+
+ +
+ +
+ +
+ +'; + +if ($is_admin) + echo '
내용 수정
'; +?> + + + diff --git a/bbs/faq.php b/bbs/faq.php new file mode 100644 index 000000000..48c4a0da9 --- /dev/null +++ b/bbs/faq.php @@ -0,0 +1,96 @@ +관리자 모드에서 게시판관리->FAQ관리를 먼저 확인해 주세요.'); +} + +// FAQ MASTER +$sql = " select * from {$g5['faq_master_table']} where fm_id = '$fm_id' "; +$fm = sql_fetch($sql); +if (!$fm['fm_id']) + alert('등록된 내용이 없습니다.'); + +$g5['title'] = $fm['fm_subject']; +include_once('./_head.php'); +?> + +FAQ 수정'; +?> + + +'; + +// 상단 HTML +echo '
'.stripslashes($fm['fm_head_html']).'
'; +?> + +
+ +
+

목차

+
    + +
  1. + 1) echo '
'; + ?> + + +
+

내용

+
    + +
  1. +

    +
    + +
    + +
  2. + 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/bbs/newwin.inc.php b/bbs/newwin.inc.php new file mode 100644 index 000000000..98775d024 --- /dev/null +++ b/bbs/newwin.inc.php @@ -0,0 +1,48 @@ + + + +
+
+ +
+ +
+팝업레이어 알림이 없습니다.'; +?> + + + \ No newline at end of file diff --git a/common.php b/common.php index 82847dfc6..a1c2fa1a1 100644 --- a/common.php +++ b/common.php @@ -489,4 +489,6 @@ header('Last-Modified: ' . $gmnow); header('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP/1.1 header('Cache-Control: pre-check=0, post-check=0, max-age=0'); // HTTP/1.1 header('Pragma: no-cache'); // HTTP/1.0 + +$html_process = new html_process(); ?> \ No newline at end of file diff --git a/css/default.css b/css/default.css index c5d527b7f..7251b0b4b 100644 --- a/css/default.css +++ b/css/default.css @@ -28,6 +28,13 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} #hd_wrapper {position:relative;margin:0 auto;padding:26px 0;width:970px;zoom:1} #hd_wrapper:after {display:block;visibility:hidden;clear:both;content:""} +#hd_pop {z-index:1000;position:relative;margin:0 auto;width:1000px;height:0} +#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} +.hd_pops {position:absolute;border:1px solid #e9e9e9;background:#fff} +.hd_pops_con {margin:0 0 30px} +.hd_pops_footer {position:absolute;bottom:0;left:0;padding:10px 0;width:100%;background:#000;color:#fff;text-align:right} +.hd_pops_footer button {margin-right:5px;padding:5px 10px;border:0;background:#393939;color:#fff} + #logo {float:left;padding:5px 0 0} /* 전체 검색 */ @@ -93,11 +100,14 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} #ft h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} #ft p {margin:0;padding:10px 0;line-height:1.8em} -#ft_catch {position:relative;margin:0 auto;padding:20px 0;width:970px;text-align:center} +#ft_catch {position:relative;margin:0 auto;padding:20px 0 0;width:970px;text-align:center} + +#ft_company {text-align:center} #ft_copy {background:#414141} -#ft_copy p {position:relative;margin:0 auto;padding:10px 0;width:970px;color:#fff} -#ft_copy a {position:absolute;top:10px;right:0;color:#fff} +#ft_copy div {position:relative;margin:0 auto;padding:10px 0;width:970px;color:#fff} +#ft_copy a {display:inline-block;margin:0 10px 0 0;color:inherit} +#ft_copy #ft_totop {position:absolute;top:10px;right:0} /* 게시물 선택복사 선택이동 */ #copymove {} @@ -239,7 +249,7 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} .new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""} .new_win .win_ul li {float:left;margin-left:-1px} .new_win .win_ul a {display:block;padding:10px 10px 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:dotum;font-weight:bold;text-decoration:none} -.new_win .win_desc {margin:0 20px} +.new_win .win_desc {padding:20px} .new_win .win_btn {clear:both;padding:20px;text-align:center} /* 새창용 */ .new_win .win_btn button {display:inline-block;padding:0 10px;height:30px;border:0;background:#4b545e;color:#fff;line-height:2em;cursor:pointer} @@ -247,6 +257,29 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} .new_win .win_btn a {display:inline-block;padding:0 10px;height:30px;background:#4b545e;color:#fff;vertical-align:middle;line-height:2.4em} .new_win .win_btn a:focus, .new_win .win_btn a:hover {text-decoration:none} +/* 내용관리 */ +#ctt {margin:10px 0;padding:10px;border:1px solid #e9e9e9} +.ctt_admin {text-align:right} +#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} +#ctt_con {padding:10px 0} +.ctt_img {text-align:center} + +/* FAQ 관리 */ +#faq_wrap {margin:10px 0} +#faq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} +.faq_admin {text-align:right} +#faq_wrap ol {margin:0;padding:0;list-style:none} +#faq_list {margin:0 0 10px;border:1px solid #ccc} +#faq_list li {border-bottom:1px solid #fff;background:#f2f5f9} +#faq_list a {display:block;padding:10px;font-weight:bold;text-decoration:none} +#faq_list a:focus, #faq_list a:hover {background:#626870;color:#fff} +#faq_con {border:1px solid #e9e9e9;border-top:0} +#faq_con li {padding:0 0 10px} +#faq_con h3 {padding:10px;background:#f2f5f9;border-top:1px solid #e9e9e9} +#faq_con #con_inner {padding:10px;line-height:1.8em} +.faq_tolist {padding:0 10px;text-align:right} +.faq_img {text-align:center} + /* 자바스크립트 alert 대안 */ #validation_check {margin:100px auto;width:500px} #validation_check h1 {margin-bottom:20px;font-size:1.3em} diff --git a/css/mobile.css b/css/mobile.css index e298aee26..edddacc4d 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -96,10 +96,11 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline} #ft h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden} #ft p {margin:0;padding:10px 0;line-height:1.8em} -#ft_copy {background:#414141} -#ft_copy p {position:relative;padding:10px;color:#fff} -#ft_copy b {color:#fff} -#ft_copy a {color:#fff;text-decoration:none} +#ft_copy {padding:10px;background:#414141;color:#fff;line-height:2em} +#ft_copy #ft_company {text-align:center} +#ft_copy #ft_company a {display:inline-block;padding:5px 10px} +#ft_copy b {color:inherit} +#ft_copy a {color:inherit;text-decoration:none} /* 게시물 선택복사 선택이동 */ #copymove {} @@ -214,6 +215,30 @@ a.btn_admin:focus, a.btn_admin:hover {text-decoration:none} .new_win .win_btn button {display:inline-block;padding:0 10px;height:2.5em;border:0;background:#666;color:#fff;text-decoration:none;line-height:2.5em} .new_win .win_btn input {padding:0 10px;height:2.5em;line-height:2.5em} +/* 내용관리 */ +#ctt {margin:10px 0;padding:10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9} +.ctt_admin {margin:0 5px;text-align:right} +#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden} +#ctt_con {padding:10px 0} +.ctt_img {text-align:center} + +/* FAQ 관리 */ +#faq_wrap {margin:10px 5px} +#faq_wrap h2 {position:absolute;font-size:0;line-height:0;overflow:hidden} +.faq_admin {margin:0 5px;text-align:right} +#faq_wrap p {line-height:1.8em} +#faq_wrap ol {margin:0;padding:0;list-style:none} +#faq_list {margin:0 0 10px;border:1px solid #ccc} +#faq_list li {border-bottom:1px solid #fff;background:#f2f5f9} +#faq_list a {display:block;padding:10px;font-weight:bold;text-decoration:none} +#faq_list a:focus, #faq_list a:hover {background:#626870;color:#fff} +#faq_con {border:1px solid #e9e9e9;border-top:0} +#faq_con li {padding:0 0 10px} +#faq_con h3 {padding:10px;background:#f2f5f9;border-top:1px solid #e9e9e9} +#faq_con #con_inner {padding:10px;line-height:1.8em} +.faq_tolist {padding:0 10px;text-align:right} +.faq_img {text-align:center} + /* 사이드뷰 */ .sv_wrap {display:inline-block;position:relative;font-weight:normal} .sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;border:1px solid #283646} diff --git a/head.php b/head.php index d07adfecf..65fb3a2b8 100644 --- a/head.php +++ b/head.php @@ -29,6 +29,13 @@ if (G5_IS_MOBILE) {
본문 바로가기
+ +
+

팝업레이어 알림

+ +
+ +