사용자: 디자인 확정
128
config.php
@ -1,7 +1,5 @@
|
||||
<?php
|
||||
|
||||
// 절실함
|
||||
|
||||
//==============================================================================
|
||||
// 상수 선언
|
||||
//------------------------------------------------------------------------------
|
||||
@ -9,11 +7,10 @@
|
||||
define('_GNUBOARD_', true);
|
||||
|
||||
if (PHP_VERSION >= '5.3.0') {
|
||||
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
|
||||
date_default_timezone_set("Asia/Seoul");
|
||||
//if (function_exists("date_default_timezone_set")) date_default_timezone_set("Asia/Seoul");
|
||||
date_default_timezone_set("Asia/Seoul");
|
||||
}
|
||||
|
||||
|
||||
//==============================================================================
|
||||
// 경로 상수
|
||||
//------------------------------------------------------------------------------
|
||||
@ -25,97 +22,76 @@ if (PHP_VERSION >= '5.3.0') {
|
||||
보안서버주소가 없다면 공란으로 두시면 되며 보안서버주소 뒤에 / 는 붙이지 않습니다.
|
||||
입력예) https://www.domain.com:443/gnuboard4s
|
||||
*/
|
||||
define('G4_DOMAIN', 'http://tmp.sir.co.kr/g4s');
|
||||
define('G4_HTTPS_DOMAIN', 'http://https-gnuboard4s-tmp.sir.co.kr/g4s'); // http://https-gnuboard4s-tmp.sir.co.kr
|
||||
define('G4_DOMAIN', '');
|
||||
define('G4_HTTPS_DOMAIN', '');
|
||||
|
||||
/*
|
||||
www.sir.co.kr 과 sir.co.kr 도메인은 서로 다른 도메인으로 인식합니다. 쿠키를 공유하려면 .sir.co.kr 과 같이 입력하세요.
|
||||
이곳에 입력이 없다면 www 붙은 도메인과 그렇지 않은 도메인은 쿠키를 공유하지 않으므로 로그인이 풀릴 수 있습니다.
|
||||
*/
|
||||
define('G4_COOKIE_DOMAIN', '.sir.co.kr');
|
||||
define('G4_COOKIE_DOMAIN', '');
|
||||
|
||||
define('G4_ADMIN_DIR', 'adm');
|
||||
define('G4_BBS_DIR', 'bbs');
|
||||
define('G4_CSS_DIR', 'css');
|
||||
define('G4_DATA_DIR', 'data');
|
||||
define('G4_EXTEND_DIR', 'extend');
|
||||
define('G4_IMG_DIR', 'img');
|
||||
define('G4_JS_DIR', 'js');
|
||||
define('G4_LIB_DIR', 'lib');
|
||||
define('G4_SKIN_DIR', 'skin');
|
||||
define('G4_GCAPTCHA_DIR', 'gcaptcha');
|
||||
define('G4_CKEDITOR_DIR', 'ckeditor');
|
||||
define('G4_EDITOR_DIR', 'editor');
|
||||
define('G4_CACHE_DIR', 'cache');
|
||||
define('G4_FILE_DIR', 'file');
|
||||
define('G4_ADMIN_DIR', 'adm');
|
||||
define('G4_BBS_DIR', 'bbs');
|
||||
define('G4_CSS_DIR', 'css');
|
||||
define('G4_DATA_DIR', 'data');
|
||||
define('G4_EXTEND_DIR', 'extend');
|
||||
define('G4_IMG_DIR', 'img');
|
||||
define('G4_JS_DIR', 'js');
|
||||
define('G4_LIB_DIR', 'lib');
|
||||
define('G4_SKIN_DIR', 'skin');
|
||||
define('G4_GCAPTCHA_DIR', 'gcaptcha');
|
||||
define('G4_CKEDITOR_DIR', 'ckeditor');
|
||||
|
||||
// URL 은 브라우저상에서의 경로 (도메인으로 부터의)
|
||||
if (G4_DOMAIN) {
|
||||
define('G4_URL', G4_DOMAIN);
|
||||
define('G4_URL', G4_DOMAIN);
|
||||
} else {
|
||||
define('G4_URL', $g4_path['url']);
|
||||
define('G4_URL', $g4_path['url']);
|
||||
}
|
||||
define('G4_ADMIN_URL', G4_URL.'/'.G4_ADMIN_DIR);
|
||||
define('G4_BBS_URL', G4_URL.'/'.G4_BBS_DIR);
|
||||
define('G4_CSS_URL', G4_URL.'/'.G4_CSS_DIR);
|
||||
define('G4_DATA_URL', G4_URL.'/'.G4_DATA_DIR);
|
||||
define('G4_IMG_URL', G4_URL.'/'.G4_IMG_DIR);
|
||||
define('G4_JS_URL', G4_URL.'/'.G4_JS_DIR);
|
||||
define('G4_SKIN_URL', G4_URL.'/'.G4_SKIN_DIR);
|
||||
define('G4_GCAPTCHA_URL', G4_BBS_URL.'/'.G4_GCAPTCHA_DIR);
|
||||
define('G4_CKEDITOR_URL', G4_BBS_URL.'/'.G4_CKEDITOR_DIR); // CKEDITOR 의 라이브러리 경로
|
||||
define('G4_EDITOR_URL', G4_DATA_URL.'/'.G4_EDITOR_DIR); // CKEDITOR 에서 업로드한 파일이 저장되는 경로
|
||||
define('G4_CACHE_URL', G4_DATA_URL.'/'.G4_CACHE_DIR);
|
||||
define('G4_FILE_URL', G4_DATA_URL.'/'.G4_FILE_DIR);
|
||||
define('G4_ADMIN_URL', G4_URL.'/'.G4_ADMIN_DIR);
|
||||
define('G4_BBS_URL', G4_URL.'/'.G4_BBS_DIR);
|
||||
define('G4_CSS_URL', G4_URL.'/'.G4_CSS_DIR);
|
||||
define('G4_DATA_URL', G4_URL.'/'.G4_DATA_DIR);
|
||||
define('G4_IMG_URL', G4_URL.'/'.G4_IMG_DIR);
|
||||
define('G4_JS_URL', G4_URL.'/'.G4_JS_DIR);
|
||||
define('G4_SKIN_URL', G4_URL.'/'.G4_SKIN_DIR);
|
||||
define('G4_GCAPTCHA_URL', G4_BBS_URL.'/'.G4_GCAPTCHA_DIR);
|
||||
define('G4_CKEDITOR_URL', G4_BBS_URL.'/'.G4_CKEDITOR_DIR); // CKEDITOR 의 라이브러리 경로
|
||||
|
||||
// PATH 는 서버상에서의 절대경로
|
||||
define('G4_PATH', $g4_path['path']);
|
||||
define('G4_ADMIN_PATH', G4_PATH.'/'.G4_ADMIN_DIR);
|
||||
define('G4_BBS_PATH', G4_PATH.'/'.G4_BBS_DIR);
|
||||
define('G4_DATA_PATH', G4_PATH.'/'.G4_DATA_DIR);
|
||||
define('G4_EXTEND_PATH', G4_PATH.'/'.G4_EXTEND_DIR);
|
||||
define('G4_LIB_PATH', G4_PATH.'/'.G4_LIB_DIR);
|
||||
define('G4_SKIN_PATH', G4_PATH.'/'.G4_SKIN_DIR);
|
||||
define('G4_GCAPTCHA_PATH', G4_BBS_PATH.'/'.G4_GCAPTCHA_DIR);
|
||||
define('G4_CKEDITOR_PATH', G4_BBS_PATH.'/'.G4_CKEDITOR_DIR);
|
||||
define('G4_CACHE_PATH', G4_DATA_PATH.'/'.G4_CACHE_DIR);
|
||||
define('G4_EDITOR_PATH', G4_DATA_PATH.'/'.G4_EDITOR_DIR);
|
||||
define('G4_FILE_PATH', G4_DATA_PATH.'/'.G4_FILE_DIR);
|
||||
define('G4_PATH', $g4_path['path']);
|
||||
define('G4_ADMIN_PATH', G4_PATH.'/'.G4_ADMIN_DIR);
|
||||
define('G4_BBS_PATH', G4_PATH.'/'.G4_BBS_DIR);
|
||||
define('G4_DATA_PATH', G4_PATH.'/'.G4_DATA_DIR);
|
||||
define('G4_EXTEND_PATH', G4_PATH.'/'.G4_EXTEND_DIR);
|
||||
define('G4_LIB_PATH', G4_PATH.'/'.G4_LIB_DIR);
|
||||
define('G4_SKIN_PATH', G4_PATH.'/'.G4_SKIN_DIR);
|
||||
define('G4_GCAPTCHA_PATH', G4_BBS_PATH.'/'.G4_GCAPTCHA_DIR);
|
||||
define('G4_CKEDITOR_PATH', G4_BBS_PATH.'/'.G4_CKEDITOR_DIR);
|
||||
//==============================================================================
|
||||
|
||||
|
||||
// 시간 상수
|
||||
define('G4_SERVER_TIME', time());
|
||||
define('G4_TIME_YMDHIS', date("Y-m-d H:i:s", G4_SERVER_TIME));
|
||||
define('G4_TIME_YMD', substr(G4_TIME_YMDHIS, 0, 10));
|
||||
define('G4_TIME_HIS', substr(G4_TIME_YMDHIS, 11, 8));
|
||||
|
||||
|
||||
// 입력값 검사 상수 (숫자를 변경하시면 안됩니다.)
|
||||
define('G4_ALPHAUPPER', 1); // 영대문자
|
||||
define('G4_ALPHALOWER', 2); // 영소문자
|
||||
define('G4_ALPHABETIC', 4); // 영대,소문자
|
||||
define('G4_NUMERIC', 8); // 숫자
|
||||
define('G4_HANGUL', 16); // 한글
|
||||
define('G4_SPACE', 32); // 공백
|
||||
define('G4_SPECIAL', 64); // 특수문자
|
||||
|
||||
|
||||
// 모바일 인지 결정 $_SERVER['HTTP_USER_AGENT']
|
||||
define('G4_MOBILE_AGENT', 'phone|samsung|lgtel|mobile|skt|nokia|blackberry|android|sony');
|
||||
|
||||
|
||||
// 자주 사용하는 값
|
||||
// 서버의 시간과 실제 사용하는 시간이 틀린 경우 수정하세요.
|
||||
// 하루는 86400 초입니다. 1시간은 3600초
|
||||
// 6시간이 빠른 경우 time() + (3600 * 6);
|
||||
// 6시간이 느린 경우 time() - (3600 * 6);
|
||||
/*
|
||||
$g4['server_time'] = time();
|
||||
$g4['time_ymd'] = date("Y-m-d", $g4['server_time']);
|
||||
$g4['time_his'] = date("H:i:s", $g4['server_time']);
|
||||
$g4['time_ymdhis'] = date("Y-m-d H:i:s", $g4['server_time']);
|
||||
*/
|
||||
define('G4_SERVER_TIME', time());
|
||||
define('G4_TIME_YMDHIS', date("Y-m-d H:i:s", G4_SERVER_TIME));
|
||||
define('G4_TIME_YMD', substr(G4_TIME_YMDHIS, 0, 10));
|
||||
define('G4_TIME_HIS', substr(G4_TIME_YMDHIS, 11, 8));
|
||||
|
||||
// 입력값 검사 상수 (숫자를 변경하시면 안됩니다.)
|
||||
define('G4_ALPHAUPPER', 1); // 영대문자
|
||||
define('G4_ALPHALOWER', 2); // 영소문자
|
||||
define('G4_ALPHABETIC', 4); // 영대,소문자
|
||||
define('G4_NUMERIC', 8); // 숫자
|
||||
define('G4_HANGUL', 16); // 한글
|
||||
define('G4_SPACE', 32); // 공백
|
||||
define('G4_SPECIAL', 64); // 특수문자
|
||||
|
||||
// 모바일 인지 결정 $_SERVER['HTTP_USER_AGENT']
|
||||
define('G4_MOBILE_AGENT', 'phone|samsung|lgtel|mobile|skt|nokia|blackberry|android|sony');
|
||||
|
||||
//
|
||||
// 기타
|
||||
|
||||
111
css/default.css
@ -12,13 +12,15 @@ input {margin:0;padding:0;font-family:"dotum"}
|
||||
p {margin:0;padding:10px 0;line-height:1.7em;word-break:break-all}
|
||||
hr {display:none}
|
||||
pre {overflow-x:scroll;font-size:1.1em}
|
||||
a:link, a:visited {color:#000;text-decoration:none}
|
||||
a:hover, a:focus, a:active {color:#428ab4;text-decoration:underline}
|
||||
|
||||
/* 화면낭독기 사용자용 */
|
||||
.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;border:0 !important;overflow:hidden !important}
|
||||
/* 본문 바로가기 */
|
||||
#to_content a {z-index:100000;display:block;position:absolute;top:0;left:0;height:0;overflow:hidden}
|
||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden}
|
||||
#to_content a:focus,
|
||||
#to_content a:active {padding:10px 0;width:100%;height:auto;background:#484848;color:#fff;font-size:2em;text-align:center;text-decoration:none;overflow:auto}
|
||||
#to_content a:active {width:100%;height:80px;background:#222;color:#fff;font-size:2em;text-align:center;text-decoration:none;line-height:3.3em}
|
||||
|
||||
/* 이미지 등비율 리사이징 */
|
||||
.img_fix {float:left;width:100%;height:auto}
|
||||
@ -28,28 +30,28 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#captcha_wav img {border:1px solid #ddd;border-left:0;background:#494949}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {border-top:5px solid #484848}
|
||||
#hd {margin-bottom:30px;border-top:2px solid #484848;border-bottom:1px solid #e9e9e9;background:#f7f7f2}
|
||||
#hd h1 {width:0;height:0;overflow:hidden}
|
||||
#hd_wrapper {position:relative;margin:0 auto;width:980px}
|
||||
|
||||
#snb {position:absolute;top:10px;right:0;zoom:1}
|
||||
#snb {position:absolute;top:10px;right:250px;zoom:1}
|
||||
#snb:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#snb li {float:left}
|
||||
#snb a {display:inline-block;margin-right:1px;padding:7px 7px 6px;color:#000;text-decoration:none}
|
||||
#snb a:focus,
|
||||
#snb a:hover {background:#109ff1;color:#fff}
|
||||
#snb a {display:block;position:relative;padding:15px;text-decoration:none}
|
||||
#snb strong {position:absolute;top:33px;right:10px;padding:0 5px;background:#109ff1;color:#fff;font-size:0.9em;font-family:"verdana";line-height:1.5em;border-radius:5px}
|
||||
|
||||
#schall {position:absolute;top:10px;left:0;margin:0;padding:0;width:180px;border:0;letter-spacing:-5px}
|
||||
#schall {position:absolute;top:25px;right:0;margin:0;padding:0;border:0;letter-spacing:-5px}
|
||||
#schall legend {width:0;height:0;overflow:hidden}
|
||||
#schall_stx {width:150px;height:21px;border:3px solid #484848;border-right:0;background:#fff;line-height:1.5em}
|
||||
#schall_stx {padding-left:5px;width:194px;height:27px;border:1px solid #ddd;border-right:0;border-top-left-radius:5px;border-bottom-left-radius:5px;background:#fff;line-height:2em !important;line-height:2em}
|
||||
#schall_submit {border:1px solid #ddd;border-left:0;border-top-right-radius:5px;border-bottom-right-radius:5px;}
|
||||
|
||||
#logo {clear:both;padding:30px 0 40px;text-align:center}
|
||||
#logo {padding:21px 10px}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {margin:0 auto;padding-bottom:30px;width:980px;zoom:1}
|
||||
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#wrapper_title {margin-bottom:20px;font-size:1.2em}
|
||||
#lnb {float:right;width:229px;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#f7f7f2}
|
||||
#lnb {float:right;width:228px;border:1px solid #ececec;background:#f7f7f2}
|
||||
#container {float:left;width:730px;zoom:1}
|
||||
#container:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
@ -65,7 +67,7 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#popular li {float:left}
|
||||
#popular a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
|
||||
#popular a:focus,
|
||||
#popular a:hover {background:#109ff1;color:#fff}
|
||||
#popular a:hover {background:#428ab4;color:#fff}
|
||||
|
||||
#visit {background:#444}
|
||||
#visit div {margin:0 auto;width:980px;zoom:1}
|
||||
@ -76,7 +78,7 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#visit dd {float:left;margin:0 30px 0 0;padding:10px;color:#fff}
|
||||
#visit a {display:inline-block;padding:10px;color:#fff;text-decoration:none}
|
||||
#visit a:focus,
|
||||
#visit a:hover {background:#109ff1;color:#fff}
|
||||
#visit a:hover {background:#428ab4;color:#fff}
|
||||
|
||||
#ft_catch {position:relative;margin:0 auto;padding:20px 0;width:980px;text-align:center}
|
||||
/*
|
||||
@ -93,31 +95,31 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#idx_catch {margin-bottom:50px;text-align:center}
|
||||
|
||||
/* 버튼 */
|
||||
.btn01 {display:inline-block;padding:0 10px;height:24px;border:1px solid #2292d3 !important;background:#109ff1 !important;color:#fff !important;text-decoration:none;line-height:2.2em}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none;line-height:2.2em}
|
||||
.btn03 {display:inline-block;padding:0 10px;height:24px;border:1px solid #494949 !important;background:#494949 !important;color:#fff !important;text-decoration:none;line-height:2.2em}
|
||||
.btn01 {display:inline-block;padding:0 10px;height:24px;border:1px solid #2292d3 !important;background:#428ab4 !important;color:#fff !important;text-decoration:none !important;line-height:2.2em}
|
||||
.btn02 {display:inline-block;padding:0 10px;height:24px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.2em}
|
||||
.btn03 {display:inline-block;padding:0 10px;height:24px;border:1px solid #494949 !important;background:#494949 !important;color:#fff !important;text-decoration:none !important;line-height:2.2em}
|
||||
.btn_confirm {text-align:center} /* 서식단계 진행 */
|
||||
.btn_submit {padding:0 10px;height:24px;border:0;background:#109ff1;color:#fff;letter-spacing:-0.1em;vertical-align:top}
|
||||
.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2em}
|
||||
.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#109ff1;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
|
||||
.btn_submit {padding:0 10px;height:24px;border:0;background:#428ab4;color:#fff;letter-spacing:-0.1em;vertical-align:top}
|
||||
.btn_cancel {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em}
|
||||
.btn_frmline {display:inline-block;padding:0 7px 0 5px;height:22px;border:0;background:#428ab4;color:#fff;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:2em} /* 우편번호검색버튼 등 */
|
||||
.btn_win {clear:both;margin-bottom:20px;text-align:center} /* 새창용 */
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2em;cursor:pointer}
|
||||
.btn_win a {display:inline-block;padding:0 10px;height:22px;border:1px solid #ccc;background:#fafafa;line-height:2em;cursor:pointer}
|
||||
|
||||
/* 기본테이블 */
|
||||
.basic_tbl {margin-bottom:10px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.basic_tbl caption {padding:0 0 10px;text-align:left}
|
||||
.basic_tbl caption {padding:0 0 10px;color:#428ab4;text-align:left}
|
||||
.basic_tbl thead th {padding:12px 0 8px;border-top:1px solid #e9e9e9}
|
||||
.basic_tbl thead th input {vertical-align:top} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
|
||||
.basic_tbl tfoot th {border-top:1px solid #666;border-bottom:1px solid #666;background:#484848;color:#fff}
|
||||
.basic_tbl tfoot td {border-color:#666;background:#484848;color:#fff;font-weight:bold;text-align:center}
|
||||
.basic_tbl td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;line-height:1.5em;word-break:break-all}
|
||||
.basic_tbl a {color:#000;text-decoration:none}
|
||||
.basic_tbl a {}
|
||||
.bo_sideview td {padding:6px 4px} /* 사이드뷰 사용하는 테이블 셀 패딩값 */
|
||||
td.empty_table {padding:85px 0;text-align:center}
|
||||
|
||||
/* 폼 테이블 */
|
||||
.frm_tbl {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||
.frm_tbl caption {padding:10px 0;font-weight:bold;text-align:left}
|
||||
.frm_tbl caption {padding:10px 0;color:#428ab4;font-weight:bold;text-align:left}
|
||||
.frm_tbl th {padding-left:10px;width:100px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
|
||||
.frm_tbl td {padding:7px 10px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
|
||||
.frm_tbl textarea,
|
||||
@ -147,8 +149,8 @@ td.empty_table {padding:85px 0;text-align:center}
|
||||
.td_mng {width:80px;text-align:center}
|
||||
|
||||
/* 새창 기본 스타일 */
|
||||
.new_win {border-top:3px solid #484848}
|
||||
.new_win h1 {margin-bottom:20px;padding:20px 20px 10px;border-bottom:1px solid #eee;background:#fff;font-size:1.2em}
|
||||
.new_win {}
|
||||
.new_win h1 {margin-bottom:20px;padding:0 20px;height:60px;background:url('../img/hd_bg.gif');font-size:1.2em;line-height:5em}
|
||||
.new_win table {margin:0 auto 20px;width:93%}
|
||||
.new_win_ul {margin:-20px 0 20px 0;padding:0 0 0 20px;border-bottom:1px solid #515151;background:#484848;list-style:none;zoom:1}
|
||||
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -163,7 +165,7 @@ fieldset textarea {padding:3px 3px 4px;border:1px solid #ddd;background:#fff;ver
|
||||
fieldset textarea:focus {padding:4px 4px 5px;border:0;background:#494949;color:#fff}
|
||||
|
||||
.fs_submit,
|
||||
fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#fff;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||
fieldset button {padding:0 15px;height:24px;border:0;background:#428ab4;color:#fff;line-height:1.9em;vertical-align:middle;cursor:pointer}
|
||||
|
||||
/* 자바스크립트 alert 대안 */
|
||||
#validation_check {margin:100px auto;width:500px}
|
||||
@ -189,7 +191,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#reg_result_logo {margin-bottom:40px;text-align:center}
|
||||
#reg_result_email {padding:10px 50px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff;line-height:2em}
|
||||
#reg_result_email span {display:inline-block;width:150px}
|
||||
#reg_result_email strong {color:#109ff1;font-size:1.2em}
|
||||
#reg_result_email strong {color:#428ab4;font-size:1.2em}
|
||||
|
||||
/* 아이디/패스워드 찾기 */
|
||||
#find_info_fs {margin:0 auto 20px;padding:10px 20px 15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#f7f7f7}
|
||||
@ -197,10 +199,10 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#find_info #captcha input {margin-left:5px}
|
||||
|
||||
/* 아웃로그인 스킨 */
|
||||
.ol {position:relative;margin-bottom:10px;padding:14px;border-bottom:1px solid #fff}
|
||||
.ol {position:relative;margin-bottom:10px;padding:14px;border-bottom:1px solid #ececec}
|
||||
.ol h2 {width:0;height:0;overflow:hidden}
|
||||
.ol ul {margin:0;padding:0;list-style:none}
|
||||
.ol a {color:#000;text-decoration:none}
|
||||
.ol a {}
|
||||
|
||||
#ol_before fieldset {position:relative}
|
||||
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:188px;height:22px;border:1px solid #d1d1d1;background:#fff;line-height:1.6em}
|
||||
@ -209,7 +211,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#696969;font-size:0.9em}
|
||||
#auto_login {}
|
||||
#auto_login_label {letter-spacing:-0.1em}
|
||||
#ol_submit {display:inline-block;width:60px;height:24px;border:1px solid #2292d3;background:#109ff1;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
|
||||
#ol_submit {display:inline-block;width:60px;height:24px;border:1px solid #2292d3;background:#428ab4;color:#fff;font-size:0.9em;font-weight:bold;vertical-align:top}
|
||||
#ol_before ul {float:right;margin:7px 0 13px;zoom:1}
|
||||
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_before li {float:left;margin-left:5px;padding-top:2px}
|
||||
@ -218,14 +220,14 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#ol_svc {padding-top:8px;text-align:right}
|
||||
|
||||
#ol_after_hd {text-align:center}
|
||||
#ol_after_hd a {color:#109ff1}
|
||||
#ol_after_hd a {color:#428ab4}
|
||||
#ol_after_private {margin:7px 0 3px;zoom:1}
|
||||
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_after_private li {float:left}
|
||||
#ol_after_private a {display:block;padding-top:8px;height:37px;background:#fff;text-align:center}
|
||||
#ol_after_private a strong {display:block;padding-top:5px;color:#109ff1}
|
||||
#ol_after_private a strong {display:block;padding-top:5px;color:#428ab4}
|
||||
#ol_after_private a:focus,
|
||||
#ol_after_private a:hover {background:#109ff1;color:#fff}
|
||||
#ol_after_private a:hover {background:#428ab4;color:#fff}
|
||||
#ol_after_private a:focus strong,
|
||||
#ol_after_private a:hover strong {color:#fff}
|
||||
#ol_after_memo {width:50px;margin-right:1px}
|
||||
@ -253,7 +255,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
|
||||
.memo_view_li {position:relative;padding:5px 0}
|
||||
.memo_view_subj {display:inline-block;width:65px}
|
||||
#memo_view_ul a {color:#000;text-decoration:none}
|
||||
#memo_view_ul a {}
|
||||
#memo_view section p {min-height:150px;height:auto !important;height:150px}
|
||||
|
||||
#memo_write textarea {height:100px}
|
||||
@ -285,14 +287,15 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
/* 설문조사 스킨 */
|
||||
#poll {}
|
||||
#poll header {padding:10px 14px 0}
|
||||
#poll header a {color:#109ff1;text-decoration:none}
|
||||
#poll header a {color:#428ab4;text-decoration:none}
|
||||
#poll header p {padding:5px 0 10px}
|
||||
#poll ul {margin:0 0 10px;padding:5px 14px;list-style:none}
|
||||
#poll li {padding:3px 0}
|
||||
#poll footer {padding:0 14px 14px;text-align:right}
|
||||
/* 설문조사 결과 (새창) */
|
||||
#poll_result section {padding:15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fcfcfc}
|
||||
#poll_result h2 {margin:0;padding:20px 0}
|
||||
#poll_result a {color:#000;text-decoration:none}
|
||||
#poll_result a {}
|
||||
#poll_result .sv_member,
|
||||
#poll_result .sv_guest {font-weight:bold}
|
||||
#poll_result_list {margin:0 auto 20px}
|
||||
@ -301,14 +304,14 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#poll_result_list dt,
|
||||
#poll_result_list dd {margin:0;padding:0}
|
||||
#poll_result_list dl {padding-bottom:30px}
|
||||
#poll_result_list dt {margin-right:5%;color:#109ff1;text-align:right}
|
||||
#poll_result_list dt {margin-right:5%;color:#428ab4;text-align:right}
|
||||
#poll_result_list ol {padding-left:30px}
|
||||
#poll_result_list li {margin-top:10px}
|
||||
#poll_result_list p {position:relative;margin:0;padding:5px 0}
|
||||
#poll_result_list p strong {position:absolute;top:5px;right:5%;padding-right:80px;width:100px;text-align:right}
|
||||
#poll_result_list p span {position:absolute;top:5px;right:5%;width:80px;text-align:right}
|
||||
.poll_result_graph {position:relative;margin-right:5%;height:5px;background:#f7f7f2}
|
||||
.poll_result_graph span {position:absolute;top:0;left:0;height:100%;background:#109ff1}
|
||||
.poll_result_graph span {position:absolute;top:0;left:0;height:100%;background:#428ab4}
|
||||
#poll_result_cmt {margin:0 auto 20px}
|
||||
#poll_result_cmt h2 {text-align:center}
|
||||
#poll_result_cmt h3 {margin:0 auto 10px;padding-top:15px;width:93%}
|
||||
@ -334,11 +337,11 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#profile h2 {margin:0}
|
||||
|
||||
/* 최근게시물 스킨 (latest) */
|
||||
.lt {float:left;margin-bottom:20px;padding:20px 15px;width:324px;height:149px;border-bottom:1px solid #eee}
|
||||
.lt ul {margin:0;padding:0;list-style:none}
|
||||
.lt {float:left;margin-bottom:5px;padding:10px 0;width:355px;height:149px;border-bottom:1px solid #ddd}
|
||||
.lt ul {margin:0 0 10px;padding:0;list-style:none}
|
||||
.lt li {padding:3px 0}
|
||||
.lt a {color:#000;text-decoration:none}
|
||||
.lt_title {display:block;margin-bottom:20px}
|
||||
.lt a {}
|
||||
.lt_title {display:block;margin-bottom:10px}
|
||||
.lt_more {text-align:right}
|
||||
.lt_more a {display:block;padding:5px 0}
|
||||
|
||||
@ -362,21 +365,21 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#sch_result_bo dd {margin:0;padding:0}
|
||||
#sch_result_bo ul {margin-top:1px}
|
||||
#sch_result_bo li {position:relative;margin-top:-1px;height:40px}
|
||||
#sch_result_bo a {position:absolute;padding:0 10px;width:149px;height:40px;border:1px solid #2292d3;border-right:0;background:#109ff1;color:#fff;text-decoration:none;line-height:3.4em}
|
||||
#sch_result_bo a {position:absolute;padding:0 10px;width:149px;height:40px;border:1px solid #4895c2;border-right:0;background:#428ab4;color:#fff;text-decoration:none;line-height:3.4em}
|
||||
#sch_result_bo .sch_on {width:150px;border-color:#ddd;border-right:0;background:#fff;color:#000;font-weight:bold}
|
||||
#sch_result_bo .cnt_cmt {display:inline-block;margin-left:10px;color:#fff}
|
||||
#sch_result_bo .sch_on .cnt_cmt {color:#000}
|
||||
#sch_result_atc {float:left;margin:0;padding:15px 25px;width:508px;border:1px solid #ddd;background:#fff}
|
||||
#sch_result_atc dt a {display:inline-block;margin-bottom:15px;color:#000;font-size:1.2em;font-weight:bold;text-decoration:none}
|
||||
#sch_result_atc dd {margin:0 0 15px}
|
||||
#sch_result_atc dd a {color:#000;text-decoration:none}
|
||||
#sch_result_atc dd a {}
|
||||
#sch_result_atc .sch_result_title {display:inline-block;margin-bottom:5px;font-size:1.1em;font-weight:bold;text-decoration:underline}
|
||||
#sch_result_atc li {padding:13px 0;border-bottom:1px solid #f0f0f0}
|
||||
#sch_result_atc p {padding:0 0 5px}
|
||||
#sch_result_atc a {display:inline-block;margin:0 10px 0 0}
|
||||
#sch_result_atc .cmt_def {display:inline-block;margin:0 10px 0 0}
|
||||
.sch_more {padding:10px 0 15px;text-align:right}
|
||||
.sch_more a {color:#000;text-decoration:none}
|
||||
.sch_more a {}
|
||||
.sch_sideview {position:relative;padding-top:5px}
|
||||
.sch_datetime {display:inline-block;margin-right:15px;color:#999}
|
||||
.sch_word {font-weight:bold} /* 검색어 강조 */
|
||||
@ -384,10 +387,10 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
/* 우편번호 검색 */
|
||||
#post_code fieldset {margin:0 auto 10px;padding:15px 10px;width:87%;text-align:center}
|
||||
#post_code dl {margin:0 auto 10px;padding:20px 10px;width:87%}
|
||||
#post_code dt {margin-bottom:15px;color:#109ff1}
|
||||
#post_code dt {margin-bottom:15px;color:#428ab4}
|
||||
#post_code dd {margin:0;padding:0}
|
||||
#post_code ul {margin:0;padding:0;list-style:none}
|
||||
#post_code li a {display:block;padding:8px 0 6px;border-bottom:1px solid #eee;color:#000;text-decoration:none}
|
||||
#post_code li a {display:block;padding:8px 0 6px;border-bottom:1px solid #eee}
|
||||
#post_code p {margin:0 auto 30px;width:90%}
|
||||
.post_code {display:inline-block;width:50px;color:#999}
|
||||
|
||||
@ -395,7 +398,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#bo_w caption {padding:0;height:0;overflow:hidden}
|
||||
|
||||
/* 게시판 목록 */
|
||||
.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
|
||||
.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #ccc;background:#fafafa}
|
||||
#bo_cate {margin-bottom:15px;padding-left:1px}
|
||||
#bo_cate h2 {width:0;height:0;overflow:hidden}
|
||||
#bo_cate_ul {margin:1px 0 0 1px;zoom:1}
|
||||
@ -416,9 +419,9 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
.btn_bo_adm li {float:left;margin-right:5px}
|
||||
.bo_notice {}
|
||||
.bo_cate_link {display:inline-block;margin:0 3px 0 0;font-weight:bold;text-decoration:none} /* 글제목 줄 분류스타일 */
|
||||
.bo_current {color:#109ff1}
|
||||
.bo_current {color:#428ab4}
|
||||
.td_subject img {margin-left:3px}
|
||||
.cnt_cmt {display:inline-block;margin:0 4px;color:#109ff1}
|
||||
.cnt_cmt {display:inline-block;margin:0 4px;color:#428ab4}
|
||||
|
||||
/* 게시판 읽기 */
|
||||
/*
|
||||
@ -427,7 +430,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#bo_v {position:relative;margin-bottom:30px}
|
||||
#bo_v a {color:#000;text-decoration:none}
|
||||
#bo_v_h1 {padding:15px 20px 5px;border-right:1px solid #ddd;background:#f9f9f9;font-size:1.2em;line-height:1.4em}
|
||||
#bo_v_h1 span {display:inline-block;color:#109ff1}
|
||||
#bo_v_h1 span {display:inline-block;color:#428ab4}
|
||||
#bo_v_info {padding:0 20px 10px;border-right:1px solid #ddd;background:#f9f9f9}
|
||||
#bo_v_info h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_v_info strong {display:inline-block;margin:0 15px 0 5px;font-weight:normal}
|
||||
@ -467,12 +470,12 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
#bo_v_img {margin:10px auto;width:689px;border-right:1px solid #ddd;overflow:hidden}
|
||||
#bo_v_img img {max-width:100%;height:auto}
|
||||
#bo_v_con {padding:20px 20px 30px;width:689px;min-height:200px;height:auto !important;height:200px;border-right:1px solid #ddd;line-height:1.8em;word-break:break-all;overflow:hidden}
|
||||
#bo_v_con a {color:#109ff1;text-decoration:underline}
|
||||
#bo_v_con a {color:#428ab4;text-decoration:underline}
|
||||
#bo_v_con img {max-width:100%;height:auto}
|
||||
|
||||
#bo_v_act {padding:0 0 20px;text-align:center}
|
||||
#bo_v_act a {margin-right:5px;vertical-align:top}
|
||||
#bo_v_act strong {color:#109ff1}
|
||||
#bo_v_act strong {color:#428ab4}
|
||||
|
||||
#bo_v form {padding-top:20px}
|
||||
*/
|
||||
@ -532,6 +535,6 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#109ff1;color:#f
|
||||
.pg_prev {border-right:1px solid #ddd}
|
||||
.pg_end,
|
||||
.pg_next {border-left:1px solid #ddd}
|
||||
.pg_current {background:#2292d3;color:#fff}
|
||||
.pg_current {background:#428ab4;color:#fff;font-weight:bold}
|
||||
|
||||
.pg_total {text-align:center}
|
||||
24
head.php
@ -18,17 +18,20 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<h1><?=$config['cf_title']?></h1>
|
||||
|
||||
<div id="hd_wrapper">
|
||||
|
||||
<div id="logo"><a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="처음으로" width="53" height="36"></a></div>
|
||||
|
||||
<ul id="snb">
|
||||
<? if ($is_member) { ?>
|
||||
<li><a href="<?=G4_BBS_URL?>/logout.php">로그아웃</a></li>
|
||||
<? if ($is_admin) { ?><li><a href="<?=G4_ADMIN_URL?>">관리자</a></li><? } ?>
|
||||
<li><a href="<?=G4_BBS_URL?>/member_confirm.php?url=<?=G4_BBS_URL?>/register_form.php">정보수정</a></li>
|
||||
<? if ($is_admin) { ?><li><a href="<?=G4_ADMIN_URL?>"><img src="<?=$g4['url']?>/img/snb_adm.jpg" alt="관리자" width="26" height="26"></a></li><? } ?>
|
||||
<li><a href="<?=G4_BBS_URL?>/member_confirm.php?url=<?=G4_BBS_URL?>/register_form.php"><img src="<?=$g4['url']?>/img/snb_modify.jpg" alt="정보수정" width="26" height="26"></a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/logout.php"><img src="<?=$g4['url']?>/img/snb_logout.jpg" alt="로그아웃" width="26" height="26"></a></li>
|
||||
<? } else { ?>
|
||||
<li><a href="<?=G4_BBS_URL?>/login.php">로그인</a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/register.php">회원가입</a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/register.php"><img src="<?=$g4['url']?>/img/snb_join.jpg" alt="회원가입" width="26" height="26"></a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/login.php"><img src="<?=$g4['url']?>/img/snb_login.jpg" alt="로그인" width="26" height="26"></a></li>
|
||||
<? } ?>
|
||||
<li><a href="<?=G4_BBS_URL?>/current_connect.php">현재접속자 <?=connect(); // 현재 접속자수 ?></a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/new.php">최근게시물</a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/current_connect.php"><img src="<?=$g4['url']?>/img/snb_cnt.jpg" alt="현재접속자" width="26" height="26"><?=connect(); // 현재 접속자수 ?></a></li>
|
||||
<li><a href="<?=G4_BBS_URL?>/new.php"><img src="<?=$g4['url']?>/img/snb_new.jpg" alt="최근게시물" width="26" height="26"></a></li>
|
||||
</ul>
|
||||
|
||||
<fieldset id="schall">
|
||||
@ -36,7 +39,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<form name="fsearchbox" method="get" action="<?=G4_BBS_URL?>/search.php" onsubmit="return fsearchbox_submit(this);">
|
||||
<input type="hidden" name="sfl" value="wr_subject||wr_content">
|
||||
<input type="hidden" name="sop" value="and">
|
||||
<input type="text" id="schall_stx" name="stx" title="검색어" maxlength="20"><input type="image" id="schall_submit" src="<?=G4_IMG_URL?>/btn_search.jpg" alt="검색">
|
||||
<input type="text" id="schall_stx" name="stx" title="검색어" maxlength="20"><input type="image" id="schall_submit" src="<?=G4_IMG_URL?>/btn_search.gif" width="29" height="27" alt="검색">
|
||||
</form>
|
||||
|
||||
<script>
|
||||
@ -68,11 +71,6 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
</script>
|
||||
</fieldset>
|
||||
|
||||
<div id="logo"><a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="처음으로" width="57" height="38"></a></div>
|
||||
<?if (defined('_INDEX_')) {?>
|
||||
<div id="idx_catch"><img src="<?=G4_URL?>/img/idx_catch.jpg" alt="Sharing All Possibilities" width="471" height="61"></div>
|
||||
<?}?>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
BIN
img/btn_search.gif
Normal file
|
After Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 664 B |
|
Before Width: | Height: | Size: 36 KiB |
BIN
img/logo.jpg
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
img/snb_adm.jpg
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
img/snb_cnt.jpg
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/snb_icon.jpg
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
img/snb_join.jpg
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
img/snb_login.jpg
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
img/snb_logout.jpg
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
img/snb_modify.jpg
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
img/snb_new.jpg
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
@ -10,7 +10,7 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40)
|
||||
$latest_skin_path = G4_SKIN_PATH.'/latest/'.$skin_dir;
|
||||
$latest_skin_url = G4_SKIN_URL.'/latest/'.$skin_dir;
|
||||
|
||||
$cache_file = G4_CACHE_PATH."/latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}.php";
|
||||
$cache_file = G4_DATA_PATH."/cache/latest-{$bo_table}-{$skin_dir}-{$rows}-{$subject_len}.php";
|
||||
//if (!file_exists($cache_file)) {
|
||||
if (1) {
|
||||
$list = array();
|
||||
|
||||
|
Before Width: | Height: | Size: 71 B After Width: | Height: | Size: 71 B |
@ -3,4 +3,4 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// 회원수는 $row['mb_cnt'];
|
||||
?>
|
||||
|
||||
<?=$row['total_cnt']?>명
|
||||
<strong><?=$row['total_cnt']?></strong>
|
||||
|
||||
|
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 169 B |
|
Before Width: | Height: | Size: 71 B After Width: | Height: | Size: 71 B |
@ -9,7 +9,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<li>
|
||||
<?
|
||||
echo $list[$i]['icon_reply']." ";
|
||||
echo "<a href=\"".$list[$i]['href']."\">";
|
||||
echo "<a href=\"".$list[$i]['href']."\" title=\"".$list[$i]['wr_subject']."\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<strong>".$list[$i]['subject']."</strong>";
|
||||
else
|
||||
@ -37,5 +37,5 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<p>게시물이 없습니다.</p>
|
||||
<? } ?>
|
||||
<div class="lt_more"><a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_url?>/img/icon_more.gif" alt="더보기" width="14" height="12"></a></div>
|
||||
<div class="lt_more"><a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_url?>/img/icon_more.gif" alt="더보기" width="10" height="9"></a></div>
|
||||
</div>
|
||||
|
||||