Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
<?
|
<?
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
|
||||||
$g4['title'] = '최근 게시물';
|
$g4['title'] = '새글';
|
||||||
include_once('./_head.php');
|
include_once('./_head.php');
|
||||||
|
|
||||||
$sql_common = " from {$g4['board_new_table']} a, {$g4['board_table']} b, {$g4['group_table']} c where a.bo_table = b.bo_table and b.gr_id = c.gr_id and b.bo_use_search = 1 ";
|
$sql_common = " from {$g4['board_new_table']} a, {$g4['board_table']} b, {$g4['group_table']} c where a.bo_table = b.bo_table and b.gr_id = c.gr_id and b.bo_use_search = 1 ";
|
||||||
|
|||||||
@ -28,7 +28,7 @@ h2 {font-size:1.2em}
|
|||||||
/* 화면낭독기 사용자용 */
|
/* 화면낭독기 사용자용 */
|
||||||
.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;border:0 !important;overflow:hidden !important}
|
.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;position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden}
|
#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
#to_content a:focus,
|
#to_content a:focus,
|
||||||
#to_content a:active {width:100%;height:70px;background:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.1em}
|
#to_content a:active {width:100%;height:70px;background:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.1em}
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ h2 {font-size:1.2em}
|
|||||||
/* 레이아웃 */
|
/* 레이아웃 */
|
||||||
#hd {z-index:10;min-width:1000px;background:url('../adm/img/hd_bg.jpg') #383b3f top left repeat-x}
|
#hd {z-index:10;min-width:1000px;background:url('../adm/img/hd_bg.jpg') #383b3f top left repeat-x}
|
||||||
#hd h1,
|
#hd h1,
|
||||||
#hd h2 {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden}
|
#hd h2 {margin:0;padding:0;font-size:0;line-height:0;border:0;overflow:hidden}
|
||||||
#hd_wrap {position:relative;margin:0 auto;width:1000px}
|
#hd_wrap {position:relative;margin:0 auto;width:1000px}
|
||||||
#logo {position:relative;height:70px}
|
#logo {position:relative;height:70px}
|
||||||
#logo img {position:absolute;top:15px;left:0}
|
#logo img {position:absolute;top:15px;left:0}
|
||||||
@ -148,7 +148,7 @@ textarea {width:90%}
|
|||||||
select {border:1px solid #ced9de}
|
select {border:1px solid #ced9de}
|
||||||
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
||||||
fieldset {margin-bottom:20px}
|
fieldset {margin-bottom:20px}
|
||||||
legend {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden}
|
legend {margin:0;padding:0;font-size:0;line-height:0;border:0;overflow:hidden}
|
||||||
fieldset span {display:block;margin-bottom:10px}
|
fieldset span {display:block;margin-bottom:10px}
|
||||||
fieldset p {color:#4c5f67}
|
fieldset p {color:#4c5f67}
|
||||||
fieldset button, .fieldset_submit {padding:0 15px;height:23px;border:0;background:#74868b;color:#fff;font-size:1em;line-height:2.1em;vertical-align:middle;cursor:pointer}
|
fieldset button, .fieldset_submit {padding:0 15px;height:23px;border:0;background:#74868b;color:#fff;font-size:1em;line-height:2.1em;vertical-align:middle;cursor:pointer}
|
||||||
|
|||||||
@ -19,9 +19,9 @@ a:focus,
|
|||||||
a:active {color:#000;text-decoration:underline}
|
a:active {color:#000;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}
|
.sound_only {display:inline-block !important;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
|
||||||
/* 본문 바로가기 */
|
/* 본문 바로가기 */
|
||||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden}
|
#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
#to_content a:focus,
|
#to_content a:focus,
|
||||||
#to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}
|
#to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}
|
||||||
|
|
||||||
@ -34,14 +34,14 @@ a:active {color:#000;text-decoration:underline}
|
|||||||
|
|
||||||
/* 상단 레이아웃 */
|
/* 상단 레이아웃 */
|
||||||
#hd {border-top:3px solid #151515;border-bottom:1px solid #e7f1ed;background:#fff}
|
#hd {border-top:3px solid #151515;border-bottom:1px solid #e7f1ed;background:#fff}
|
||||||
#hd h1 {width:1px;height:1px;overflow:hidden}
|
#hd h1 {font-size:0;line-height:0;overflow:hidden}
|
||||||
#hd_wrapper {position:relative;margin:0 auto;width:980px}
|
#hd_wrapper {position:relative;margin:0 auto;width:980px}
|
||||||
|
|
||||||
#logo {padding:17px 0 17px 0}
|
#logo {padding:17px 0 17px 0}
|
||||||
#logo span {display:inline-block;margin-left:10px;color:#109ff1;font-family:"verdana";vertical-align:middle}
|
#logo span {display:inline-block;margin-left:10px;color:#109ff1;font-family:"verdana";vertical-align:middle}
|
||||||
|
|
||||||
#schall {position:absolute;top:22px;left:70px;margin:0;padding:0;letter-spacing:-5px}
|
#schall {position:absolute;top:22px;left:70px;margin:0;padding:0;letter-spacing:-5px}
|
||||||
#schall legend {width:1px;height:1px;overflow:hidden}
|
#schall legend {font-size:0;line-height:0;overflow:hidden}
|
||||||
#schall_stx {padding-left:5px;width:156px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em}
|
#schall_stx {padding-left:5px;width:156px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em}
|
||||||
#schall_submit {border:1px solid #aaa;border-left:0}
|
#schall_submit {border:1px solid #aaa;border-left:0}
|
||||||
|
|
||||||
@ -56,9 +56,9 @@ a:active {color:#000;text-decoration:underline}
|
|||||||
|
|
||||||
/* gnb js off */
|
/* gnb js off */
|
||||||
#gnb {background:#f0f4f8}
|
#gnb {background:#f0f4f8}
|
||||||
#gnb h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
#gnb h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
#gnb_ul {z-index:10;margin:0 auto;padding:0;width:980px}
|
#gnb_ul {z-index:10;margin:0 auto;padding:0;width:980px}
|
||||||
.gnb_1depth {position:relative;margin-top:-1px;margin-left:-1px;zoom:1}
|
.gnb_1depth {position:relative;margin-left:-1px;zoom:1}
|
||||||
.gnb_1depth:after {display:block;visibility:hidden;clear:both;content:""}
|
.gnb_1depth:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
.gnb_1depth a {display:block;float:left;height:35px;color:#000;line-height:2.7em !important;line-height:2.4em}
|
.gnb_1depth a {display:block;float:left;height:35px;color:#000;line-height:2.7em !important;line-height:2.4em}
|
||||||
.gnb_1depth_air a,
|
.gnb_1depth_air a,
|
||||||
@ -103,7 +103,7 @@ a:active {color:#000;text-decoration:underline}
|
|||||||
|
|
||||||
/* 하단 레이아웃 */
|
/* 하단 레이아웃 */
|
||||||
#ft {background:#484848}
|
#ft {background:#484848}
|
||||||
#ft h1 {width:1px;height:1px;overflow:hidden}
|
#ft h1 {font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
#popular {background:#515151}
|
#popular {background:#515151}
|
||||||
#popular div {margin:0 auto;width:980px;zoom:1}
|
#popular div {margin:0 auto;width:980px;zoom:1}
|
||||||
@ -259,7 +259,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
|
|
||||||
/* 아웃로그인 스킨 */
|
/* 아웃로그인 스킨 */
|
||||||
.ol {position:relative;padding:15px 15px 14px 14px}
|
.ol {position:relative;padding:15px 15px 14px 14px}
|
||||||
.ol h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
.ol h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
.ol ul {margin:0;padding:0;list-style:none}
|
.ol ul {margin:0;padding:0;list-style:none}
|
||||||
|
|
||||||
#ol_before {}
|
#ol_before {}
|
||||||
@ -315,7 +315,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
|
|
||||||
/* 쪽지 */
|
/* 쪽지 */
|
||||||
#memo_view section {margin:0 auto 20px;padding:20px;width:87%}
|
#memo_view section {margin:0 auto 20px;padding:20px;width:87%}
|
||||||
#memo_view section h2 {width:1px;height:1px;overflow:hidden}
|
#memo_view section h2 {font-size:0;line-height:0;overflow:hidden}
|
||||||
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
|
#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_li {position:relative;padding:5px 0}
|
||||||
.memo_view_subj {display:inline-block;width:65px}
|
.memo_view_subj {display:inline-block;width:65px}
|
||||||
@ -385,7 +385,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
#poll_result_cmt h2 {text-align:center}
|
#poll_result_cmt h2 {text-align:center}
|
||||||
#poll_result_cmt h3 {margin:0 auto 10px;padding-top:15px;width:93%}
|
#poll_result_cmt h3 {margin:0 auto 10px;padding-top:15px;width:93%}
|
||||||
#poll_result_cmt article {margin:0 18px 15px;border-bottom:1px solid #eee}
|
#poll_result_cmt article {margin:0 18px 15px;border-bottom:1px solid #eee}
|
||||||
#poll_result_cmt h1 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
#poll_result_cmt h1 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
.poll_datetime {display:inline-block;margin-left:10px}
|
.poll_datetime {display:inline-block;margin-left:10px}
|
||||||
#poll_result_cmt p {padding:3px 0}
|
#poll_result_cmt p {padding:3px 0}
|
||||||
#poll_result_cmt fieldset {margin-bottom:0;text-align:left}
|
#poll_result_cmt fieldset {margin-bottom:0;text-align:left}
|
||||||
@ -406,7 +406,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
#profile section {margin:0 auto 20px;padding:20px;width:86%}
|
#profile section {margin:0 auto 20px;padding:20px;width:86%}
|
||||||
#profile h2 {margin:0}
|
#profile h2 {margin:0}
|
||||||
|
|
||||||
/* 최근게시물 스킨 (latest) */
|
/* 새글 스킨 (latest) */
|
||||||
.lt_pc {float:left;margin-left:20px}
|
.lt_pc {float:left;margin-left:20px}
|
||||||
.lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #ddd}
|
.lt {position:relative;float:left;margin-bottom:20px;padding-bottom:10px;width:354px;height:150px;border-bottom:1px solid #ddd}
|
||||||
.lt ul {margin:0 0 10px;padding:0;list-style:none}
|
.lt ul {margin:0 0 10px;padding:0;list-style:none}
|
||||||
@ -416,7 +416,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
|
|
||||||
/* 최근게시물 스킨 (new) */
|
/* 최근게시물 스킨 (new) */
|
||||||
#new_sch {margin-bottom:10px;text-align:right}
|
#new_sch {margin-bottom:10px;text-align:right}
|
||||||
#new_sch legend {width:1px;height:1px;overflow:hidden}
|
#new_sch legend {font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
/* 전체검색결과 스킨 */
|
/* 전체검색결과 스킨 */
|
||||||
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
|
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
|
||||||
@ -430,7 +430,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
#sch_result_hd ul {float:left}
|
#sch_result_hd ul {float:left}
|
||||||
#sch_result_hd li {float:left;padding:0 10px;border-right:1px solid #cfded8}
|
#sch_result_hd li {float:left;padding:0 10px;border-right:1px solid #cfded8}
|
||||||
#sch_result_bo {float:left;margin:-1px 0 0;padding:0;width:170px}
|
#sch_result_bo {float:left;margin:-1px 0 0;padding:0;width:170px}
|
||||||
#sch_result_bo dt {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden}
|
#sch_result_bo dt {margin:0;padding:0;border:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
#sch_result_bo dd {margin:0;padding:0}
|
#sch_result_bo dd {margin:0;padding:0}
|
||||||
#sch_result_bo ul {margin-top:1px}
|
#sch_result_bo ul {margin-top:1px}
|
||||||
#sch_result_bo li {position:relative;margin-top:-1px;height:40px}
|
#sch_result_bo li {position:relative;margin-top:-1px;height:40px}
|
||||||
@ -468,7 +468,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
/* 게시판 목록 */
|
/* 게시판 목록 */
|
||||||
#bo_list_title {margin-bottom:20px;font-size:1.2em;letter-spacing:-0.1em}
|
#bo_list_title {margin-bottom:20px;font-size:1.2em;letter-spacing:-0.1em}
|
||||||
|
|
||||||
#bo_cate h2 {width:1px;height:1px;overflow:hidden}
|
#bo_cate h2 {font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
|
#bo_cate ul {margin-bottom:10px;padding-left:1px;width:728px;zoom:1}
|
||||||
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
|
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#bo_cate li {float:left;margin-bottom:-1px}
|
#bo_cate li {float:left;margin-bottom:-1px}
|
||||||
@ -481,7 +481,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
.td_subject img {margin-left:3px}
|
.td_subject img {margin-left:3px}
|
||||||
|
|
||||||
/* 갤러리 목록 */
|
/* 갤러리 목록 */
|
||||||
#bo_img h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
#bo_img h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_img_list {margin:0;padding:0;list-style:none;zoom:1}
|
#bo_img_list {margin:0;padding:0;list-style:none;zoom:1}
|
||||||
#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""}
|
#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
.bo_img_list_li {float:left;margin-bottom:20px}
|
.bo_img_list_li {float:left;margin-bottom:20px}
|
||||||
@ -506,7 +506,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
.cnt_cmt {font-weight:bold}
|
.cnt_cmt {font-weight:bold}
|
||||||
|
|
||||||
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
||||||
#bo_sch legend {width:1px;height:1px;overflow:hidden}
|
#bo_sch legend {font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
/* 게시판 읽기 */
|
/* 게시판 읽기 */
|
||||||
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
||||||
@ -583,7 +583,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
|||||||
#bo_vc .sv_member,
|
#bo_vc .sv_member,
|
||||||
#bo_vc .sv_guest {font-weight:bold}
|
#bo_vc .sv_guest {font-weight:bold}
|
||||||
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
||||||
#bo_vc h1 {width:1px;height:1px;overflow:hidden}
|
#bo_vc h1 {font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_vc a {color:#000;text-decoration:none}
|
#bo_vc a {color:#000;text-decoration:none}
|
||||||
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
||||||
#bo_vc p a {text-decoration:underline}
|
#bo_vc p a {text-decoration:underline}
|
||||||
|
|||||||
@ -19,7 +19,7 @@ hr {display:none}
|
|||||||
pre {overflow-x:scroll;font-size:1.1em}
|
pre {overflow-x:scroll;font-size:1.1em}
|
||||||
|
|
||||||
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
|
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
|
||||||
.sound_only {display:none}
|
.sound_only {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
/* 이미지 등비율 리사이징 */
|
/* 이미지 등비율 리사이징 */
|
||||||
.img_fix {float:left;width:100%;height:auto}
|
.img_fix {float:left;width:100%;height:auto}
|
||||||
@ -31,12 +31,12 @@ pre {overflow-x:scroll;font-size:1.1em}
|
|||||||
/* 상단 레이아웃 */
|
/* 상단 레이아웃 */
|
||||||
#hd {background:#fff;zoom:1}
|
#hd {background:#fff;zoom:1}
|
||||||
#hd:after {display:block;visibility:hidden;clear:both;content:""}
|
#hd:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
#hd h1 {width:1px;height:1px;overflow:hidden}
|
#hd h1 {font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
#logo {float:left;padding:5px 0;margin-left:10px}
|
#logo {float:left;padding:5px 0;margin-left:10px}
|
||||||
|
|
||||||
#schall {position:absolute;top:12px;right:10px}
|
#schall {position:absolute;top:12px;right:10px}
|
||||||
#schall legend {display:none}
|
#schall legend {width:0;height:0;overflow:hidden}
|
||||||
#schall_stx {padding-left:5px;width:100px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em}
|
#schall_stx {padding-left:5px;width:100px;height:24px;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.9em !important;line-height:1.6em}
|
||||||
#schall_submit {border:1px solid #aaa;border-left:0}
|
#schall_submit {border:1px solid #aaa;border-left:0}
|
||||||
|
|
||||||
@ -158,7 +158,7 @@ sup {display:none !important}
|
|||||||
|
|
||||||
/* 쪽지 */
|
/* 쪽지 */
|
||||||
#memo_view section {margin:0 auto 20px;padding:20px;width:87%}
|
#memo_view section {margin:0 auto 20px;padding:20px;width:87%}
|
||||||
#memo_view section h2 {width:1px;height:1px;overflow:hidden}
|
#memo_view section h2 {font-size:0;line-height:0;overflow:hidden}
|
||||||
#memo_view_ul {margin:0;padding:0 0 10px;border-bottom:1px solid #eee;list-style:none}
|
#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_li {position:relative;padding:5px 0}
|
||||||
.memo_view_subj {display:inline-block;width:65px}
|
.memo_view_subj {display:inline-block;width:65px}
|
||||||
@ -222,15 +222,12 @@ sup {display:none !important}
|
|||||||
/* 새글 */
|
/* 새글 */
|
||||||
#new_sch {margin:0 0 5px;padding:5px 10px}
|
#new_sch {margin:0 0 5px;padding:5px 10px}
|
||||||
#new_tbl {}
|
#new_tbl {}
|
||||||
#new_tbl th:nth-of-type(1) {display:none}
|
|
||||||
#new_tbl th:nth-of-type(4) {display:none}
|
|
||||||
#new_tbl th:nth-of-type(5) {width:50px}
|
#new_tbl th:nth-of-type(5) {width:50px}
|
||||||
|
|
||||||
#new_tbl td:nth-of-type(1) {display:none}
|
|
||||||
#new_tbl td:nth-of-type(4) {display:none}
|
|
||||||
#new_tbl td:nth-of-type(5) {text-align:center}
|
#new_tbl td:nth-of-type(5) {text-align:center}
|
||||||
|
|
||||||
#new_tbl .sv {display:none}
|
/* 전체검색결과 스킨 */
|
||||||
|
#sch_result_detail {}
|
||||||
|
|
||||||
/* 게시판 목록 */
|
/* 게시판 목록 */
|
||||||
.bo_list table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
.bo_list table {margin-bottom:20px;width:100%;border-collapse:collapse;border-spacing:0}
|
||||||
@ -244,31 +241,15 @@ sup {display:none !important}
|
|||||||
.bo_list img:nth-last-of-type(1) {margin-right:0}
|
.bo_list img:nth-last-of-type(1) {margin-right:0}
|
||||||
|
|
||||||
/* 관리자일 때 생략 */
|
/* 관리자일 때 생략 */
|
||||||
#bo_list_admin th:nth-of-type(1) {display:none}
|
#bo_list_admin th:nth-of-type(3) {width:100px}
|
||||||
#bo_list_admin th:nth-of-type(4) {display:none}
|
|
||||||
#bo_list_admin th:nth-of-type(5) {width:100px}
|
|
||||||
#bo_list_admin th:nth-of-type(6) {display:none}
|
|
||||||
#bo_list_admin th:nth-of-type(7) {display:none}
|
|
||||||
|
|
||||||
#bo_list_admin td:nth-of-type(1) {display:none}
|
#bo_list_admin td:nth-of-type(1) {text-align:center}
|
||||||
#bo_list_admin td:nth-of-type(2) {text-align:center}
|
#bo_list_admin td:nth-of-type(3) {text-align:center}
|
||||||
#bo_list_admin td:nth-of-type(4) {display:none}
|
|
||||||
#bo_list_admin td:nth-of-type(5) {text-align:center}
|
|
||||||
#bo_list_admin td:nth-of-type(6) {display:none}
|
|
||||||
#bo_list_admin td:nth-of-type(7) {display:none}
|
|
||||||
|
|
||||||
/* 관리자가 아닐 때 생략 */
|
/* 관리자가 아닐 때 생략 */
|
||||||
#bo_list th:nth-of-type(1) {display:none}
|
#bo_list th:nth-of-type(2) {width:100px}
|
||||||
#bo_list th:nth-of-type(3) {display:none}
|
|
||||||
#bo_list th:nth-of-type(4) {width:100px}
|
|
||||||
#bo_list th:nth-of-type(5) {display:none}
|
|
||||||
#bo_list th:nth-of-type(6) {display:none}
|
|
||||||
|
|
||||||
#bo_list td:nth-of-type(1) {display:none}
|
#bo_list td:nth-of-type(2) {text-align:center}
|
||||||
#bo_list td:nth-of-type(3) {display:none}
|
|
||||||
#bo_list td:nth-of-type(4) {text-align:center}
|
|
||||||
#bo_list td:nth-of-type(5) {display:none}
|
|
||||||
#bo_list td:nth-of-type(6) {display:none}
|
|
||||||
|
|
||||||
.bo_fx {margin-bottom:5px;zoom:1}
|
.bo_fx {margin-bottom:5px;zoom:1}
|
||||||
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
|
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
@ -288,7 +269,7 @@ sup {display:none !important}
|
|||||||
.cnt_cmt {font-weight:bold}
|
.cnt_cmt {font-weight:bold}
|
||||||
|
|
||||||
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
||||||
#bo_sch legend {width:1px;height:1px;overflow:hidden}
|
#bo_sch legend {font-size:0;line-height:0;overflow:hidden}
|
||||||
|
|
||||||
/* 게시판 읽기 */
|
/* 게시판 읽기 */
|
||||||
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
||||||
@ -365,7 +346,7 @@ sup {display:none !important}
|
|||||||
#bo_vc .sv_member,
|
#bo_vc .sv_member,
|
||||||
#bo_vc .sv_guest {font-weight:bold}
|
#bo_vc .sv_guest {font-weight:bold}
|
||||||
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
||||||
#bo_vc h1 {width:1px;height:1px;overflow:hidden}
|
#bo_vc h1 {font-size:0;line-height:0;overflow:hidden}
|
||||||
#bo_vc a {color:#000;text-decoration:none}
|
#bo_vc a {color:#000;text-decoration:none}
|
||||||
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
||||||
#bo_vc p a {text-decoration:underline}
|
#bo_vc p a {text-decoration:underline}
|
||||||
|
|||||||
2
head.php
2
head.php
@ -31,7 +31,7 @@ if ($config['cf_include_head']) {
|
|||||||
<div id="hd_wrapper">
|
<div id="hd_wrapper">
|
||||||
|
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="<?=$config['cf_title']?> 처음으로" width="53" height="37"></a>
|
<a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="처음으로" width="53" height="37"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<fieldset id="schall">
|
<fieldset id="schall">
|
||||||
|
|||||||
@ -3,8 +3,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
|
|
||||||
include_once(G4_PATH.'/head.sub.php');
|
include_once(G4_PATH.'/head.sub.php');
|
||||||
include_once(G4_LIB_PATH.'/latest.lib.php');
|
include_once(G4_LIB_PATH.'/latest.lib.php');
|
||||||
include_once(G4_LIB_PATH.'/outlogin.lib.php');
|
//include_once(G4_LIB_PATH.'/outlogin.lib.php');
|
||||||
include_once(G4_LIB_PATH.'/poll.lib.php');
|
//include_once(G4_LIB_PATH.'/poll.lib.php');
|
||||||
include_once(G4_LIB_PATH.'/visit.lib.php');
|
include_once(G4_LIB_PATH.'/visit.lib.php');
|
||||||
include_once(G4_LIB_PATH.'/connect.lib.php');
|
include_once(G4_LIB_PATH.'/connect.lib.php');
|
||||||
include_once(G4_LIB_PATH.'/popular.lib.php');
|
include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||||
@ -17,7 +17,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
|||||||
<div id="hd_wrapper">
|
<div id="hd_wrapper">
|
||||||
|
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="<?=$config['cf_title']?> 처음으로" width="53" height="37"></a>
|
<a href="<?=G4_URL?>"><img src="<?=G4_IMG_URL?>/logo.jpg" alt="처음으로" width="53" height="37"></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<fieldset id="schall">
|
<fieldset id="schall">
|
||||||
@ -106,8 +106,8 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
|||||||
|
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="lnb">
|
<div id="lnb">
|
||||||
<?=outlogin('basic'); // 외부 로그인 ?>
|
<?//=outlogin('basic'); // 외부 로그인 ?>
|
||||||
<?=poll('basic'); // 설문조사 ?>
|
<?//=poll('basic'); // 설문조사 ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<? if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
|
<? if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
|
||||||
|
|||||||
@ -51,14 +51,9 @@ if ($is_nogood) $colspan++;
|
|||||||
<table class="basic_tbl">
|
<table class="basic_tbl">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">번호</th>
|
|
||||||
<? if ($is_checkbox) { ?><th scope="col"><input type="checkbox" onclick="if (this.checked) all_checked(true); else all_checked(false);" title="현재 페이지 게시물 전체선택"></th><?}?>
|
<? if ($is_checkbox) { ?><th scope="col"><input type="checkbox" onclick="if (this.checked) all_checked(true); else all_checked(false);" title="현재 페이지 게시물 전체선택"></th><?}?>
|
||||||
<th scope="col">제목</th>
|
<th scope="col">제목</th>
|
||||||
<th scope="col">글쓴이</th>
|
|
||||||
<th scope="col"><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></th>
|
<th scope="col"><?=subject_sort_link('wr_datetime', $qstr2, 1)?>날짜</a></th>
|
||||||
<th scope="col"><?=subject_sort_link('wr_hit', $qstr2, 1)?>조회</a></th>
|
|
||||||
<? if ($is_good) { ?><th scope="col"><?=subject_sort_link('wr_good', $qstr2, 1)?>추천</a></th><?}?>
|
|
||||||
<? if ($is_nogood) { ?><th scope="col"><?=subject_sort_link('wr_nogood', $qstr2, 1)?>비추천</a></th><?}?>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -66,16 +61,6 @@ if ($is_nogood) $colspan++;
|
|||||||
for ($i=0; $i<count($list); $i++) {
|
for ($i=0; $i<count($list); $i++) {
|
||||||
?>
|
?>
|
||||||
<tr class="<? if ($list[$i]['is_notice']) echo "bo_notice";?><? if ($board[1]) echo "bo_sideview";?>">
|
<tr class="<? if ($list[$i]['is_notice']) echo "bo_notice";?><? if ($board[1]) echo "bo_sideview";?>">
|
||||||
<td class="td_num">
|
|
||||||
<?
|
|
||||||
if ($list[$i]['is_notice']) // 공지사항
|
|
||||||
echo '<strong>공지</strong>';
|
|
||||||
else if ($wr_id == $list[$i]['wr_id'])
|
|
||||||
echo "<span class=\"bo_current\">열람중</span>";
|
|
||||||
else
|
|
||||||
echo $list[$i]['num'];
|
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<? if ($is_checkbox) { ?><td class="td_chk"><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
<? if ($is_checkbox) { ?><td class="td_chk"><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
||||||
<td class="td_subject">
|
<td class="td_subject">
|
||||||
<?
|
<?
|
||||||
@ -88,25 +73,21 @@ if ($is_nogood) $colspan++;
|
|||||||
<a href="<?=$list[$i]['href']?>">
|
<a href="<?=$list[$i]['href']?>">
|
||||||
<?=$list[$i]['subject']?>
|
<?=$list[$i]['subject']?>
|
||||||
<? if ($list[$i]['comment_cnt']) { ?><span class="sound_only">댓글</span><?=$list[$i]['comment_cnt'];?><span class="sound_only">개</span><? } ?>
|
<? if ($list[$i]['comment_cnt']) { ?><span class="sound_only">댓글</span><?=$list[$i]['comment_cnt'];?><span class="sound_only">개</span><? } ?>
|
||||||
|
<?
|
||||||
|
// if ($list[$i]['link']['count']) { echo '['.$list[$i]['link']['count']}.']'; }
|
||||||
|
// if ($list[$i]['file']['count']) { echo '<'.$list[$i]['file']['count'].'>'; }
|
||||||
|
|
||||||
|
if (isset($list[$i]['icon_new'])) echo $list[$i]['icon_new'];
|
||||||
|
if (isset($list[$i]['icon_hot'])) echo $list[$i]['icon_hot'];
|
||||||
|
if (isset($list[$i]['icon_file'])) echo $list[$i]['icon_file'];
|
||||||
|
if (isset($list[$i]['icon_link'])) echo $list[$i]['icon_link'];
|
||||||
|
if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret'];
|
||||||
|
|
||||||
|
?>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<?
|
|
||||||
// if ($list[$i]['link']['count']) { echo '['.$list[$i]['link']['count']}.']'; }
|
|
||||||
// if ($list[$i]['file']['count']) { echo '<'.$list[$i]['file']['count'].'>'; }
|
|
||||||
|
|
||||||
if (isset($list[$i]['icon_new'])) echo $list[$i]['icon_new'];
|
|
||||||
if (isset($list[$i]['icon_hot'])) echo $list[$i]['icon_hot'];
|
|
||||||
if (isset($list[$i]['icon_file'])) echo $list[$i]['icon_file'];
|
|
||||||
if (isset($list[$i]['icon_link'])) echo $list[$i]['icon_link'];
|
|
||||||
if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret'];
|
|
||||||
|
|
||||||
?>
|
|
||||||
</td>
|
</td>
|
||||||
<td class="td_name"><?=$list[$i]['name']?></td>
|
|
||||||
<td class="td_date"><?=$list[$i]['datetime2']?></td>
|
<td class="td_date"><?=$list[$i]['datetime2']?></td>
|
||||||
<td class="td_num"><?=$list[$i]['wr_hit']?></td>
|
|
||||||
<? if ($is_good) { ?><td class="td_num"><?=$list[$i]['wr_good']?></td><? } ?>
|
|
||||||
<? if ($is_nogood) { ?><td class="td_num"><?=$list[$i]['wr_nogood']?></td><? } ?>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?}?>
|
<?}?>
|
||||||
<? if (count($list) == 0) { echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>'; } ?>
|
<? if (count($list) == 0) { echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>'; } ?>
|
||||||
|
|||||||
@ -14,10 +14,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
|
|||||||
|
|
||||||
<section id="bo_v_info">
|
<section id="bo_v_info">
|
||||||
<h2>게시물 정보</h2>
|
<h2>게시물 정보</h2>
|
||||||
작성자 <strong><?=$view['name']?><? if ($is_ip_view) { echo " ($ip)"; } ?></strong>
|
작성자 <strong><?=$view['wr_name']?><? if ($is_ip_view) { echo " ($ip)"; } ?></strong><br>
|
||||||
<span class="sound_only">작성일</span><strong><?=date("y-m-d H:i", strtotime($view['wr_datetime']))?></strong>
|
작성일 <strong><?=date("y-m-d H:i", strtotime($view['wr_datetime']))?></strong><br>
|
||||||
조회<strong><?=number_format($view['wr_hit'])?>회</strong>
|
조회 <strong><?=number_format($view['wr_hit'])?>회</strong><br>
|
||||||
댓글<strong><?=number_format($view['wr_comment'])?>건</strong>
|
댓글 <strong><?=number_format($view['wr_comment'])?>건</strong>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<?
|
<?
|
||||||
|
|||||||
@ -30,10 +30,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||||||
<table id="new_tbl" class="basic_tbl">
|
<table id="new_tbl" class="basic_tbl">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">그룹</th>
|
|
||||||
<th scope="col">게시판</th>
|
<th scope="col">게시판</th>
|
||||||
<th scope="col">제목</th>
|
<th scope="col">제목</th>
|
||||||
<th scope="col">이름</th>
|
|
||||||
<th scope="col">일시</th>
|
<th scope="col">일시</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -46,10 +44,8 @@ for ($i=0; $i<count($list); $i++)
|
|||||||
$wr_subject = get_text(cut_str($list[$i]['wr_subject'], 80));
|
$wr_subject = get_text(cut_str($list[$i]['wr_subject'], 80));
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="td_group"><a href="./new.php?gr_id=<?=$list[$i]['gr_id']?>"><?=$gr_subject?></a></td>
|
|
||||||
<td class="td_board"><a href="./board.php?bo_table=<?=$list[$i]['bo_table']?>"><?=$bo_subject?></a></td>
|
<td class="td_board"><a href="./board.php?bo_table=<?=$list[$i]['bo_table']?>"><?=$bo_subject?></a></td>
|
||||||
<td><a href="<?=$list[$i]['href']?>"><?=$list[$i]['comment']?><?=$wr_subject?></a></td>
|
<td><a href="<?=$list[$i]['href']?>"><?=$list[$i]['comment']?><?=$wr_subject?></a></td>
|
||||||
<td class="td_name"><div><?=$list[$i]['name']?></div></td>
|
|
||||||
<td class="td_date"><?=$list[$i]['datetime2']?></td>
|
<td class="td_date"><?=$list[$i]['datetime2']?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user