Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
rollydream
2013-03-08 16:24:38 +09:00
4 changed files with 22 additions and 16 deletions

View File

@ -141,7 +141,7 @@ $pg_anchor = "<ul class=\"anchor\">
<th scope="row"><label for="gr_id">그룹<strong class="sound_only">필수</strong></label></th>
<td colspan="2">
<?=get_group_select('gr_id', $board['gr_id'], 'required');?>
<? if ($w=='u') { ?><script>document.write("<a href='javascript:;' onclick=\"location.href='./board_list.php?sfl=a.gr_id&amp;stx='+document.getElementById('gr_id').value;\">동일 그룹 목록</a>");</script><?}?>
<!-- <? if ($w=='u') { ?><script>document.write("<a href='javascript:;' onclick=\"location.href='./board_list.php?sfl=a.gr_id&amp;stx='+document.getElementById('gr_id').value;\">동일 그룹 목록</a>");</script><?}?> -->
</td>
</tr>
<tr>

View File

@ -25,7 +25,7 @@ pre {overflow-x:scroll;font-size:1.1em}
#hd_login_msg {position:absolute;top:0;left:0;width:0;height:0;overflow:hidden}
.sound_only {display:inline-block;margin:0 !important;padding:0 !important;width:0 !important;height:0 !important;font-size:0 !important;line-height:0 !important;overflow:hidden}
/* 본문 바로가기 */
#to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
.to_content a {z-index:100000;position:absolute;top:0;left:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
/* 이미지 등비율 리사이징 */
.img_fix {float:left;width:100%;height:auto}
@ -35,7 +35,7 @@ pre {overflow-x:scroll;font-size:1.1em}
#captcha_wav img {padding:0.2em;height:22px !important;border:1px solid #cfded8;border-left:0;background:#494949}
/* 상단 레이아웃 */
#hd {background:#fff;zoom:1}
#hd {background:#fff}
#hd:after {display:block;visibility:hidden;clear:both;content:""}
#hd h1 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
@ -52,6 +52,11 @@ pre {overflow-x:scroll;font-size:1.1em}
#mb_nb img {display:none}
#lnb {}
#lnb ul {padding-bottom:-1px;border-bottom:1px solid #e7f1ed}
#lnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#lnb li {float:left;margin-bottom:-1px;width:20%}
#lnb a {display:block;padding:0.5em 0;border-right:1px solid #e7f1ed;border-bottom:1px solid #e7f1ed;color:#000;text-align:center;text-decoration:none}
#lnb li:nth-of-type(5n) a {border-right:0}
/* 배포시에는 필요없는 부분 */
#sirgle_title {padding:0 1em;height:100px;color:#fff;font-size:2em}
@ -62,14 +67,14 @@ pre {overflow-x:scroll;font-size:1.1em}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#wrapper_title {margin-bottom:1.5em;padding:0 0.7em;font-size:1.2em}
#container {position:relative;min-height:300px;zoom:1}
#container {position:relative;min-height:300px}
#container:after {display:block;visibility:hidden;clear:both;content:""}
/* 텍스트 크기 조절 */
#text_size {margin:0 0 1em;text-align:center}
/* 하단 레이아웃 */
#gnb {border-top:1px solid #c3c7c5;border-bottom:1px solid #c3c7c5;background:#f0f4f8;zoom:1}
#gnb {border-top:1px solid #c3c7c5;border-bottom:1px solid #c3c7c5;background:#f0f4f8}
#gnb:after {display:block;visibility:hidden;clear:both;content:""}
#gnb h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#gnb ul {border-top:1px solid #e7f1ed}
@ -174,7 +179,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
.new_win h1 {margin-bottom:1.5em;padding:0 1.5em;height:3em;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em;line-height:3.5em}
.new_win table {margin:0 auto 1.5em !important;width:100% !important}
.new_win caption {padding:1em}
.new_win_ul {margin:-1.8em 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
.new_win_ul {margin:-1.8em 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none}
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win_ul li {float:left;margin-left:-1px}
.new_win_ul a {display:block;padding:1em 1em 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none}
@ -219,7 +224,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
#ol_after_hd strong {display:inline-block;padding:0 0 0.5em}
#ol_after_hd .btn_admin {display:block;padding:0 !important;width:100%;text-align:center}
#ol_after_private {margin:0;padding:0;list-style:none;zoom:1}
#ol_after_private {margin:0;padding:0;list-style:none}
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
#ol_after_private li {float:left}
#ol_after_memo {width:30%}
@ -368,7 +373,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
#sch_result_hd dt {width:0;height:0;overflow:hidden}
#sch_result_hd dd {margin:0}
#sch_result_hd ul {margin:0;padding:0;border-top:1px solid #eee;border-bottom:1px solid #eee;list-style:none;zoom:1}
#sch_result_hd ul {margin:0;padding:0;border-top:1px solid #eee;border-bottom:1px solid #eee;list-style:none}
#sch_result_hd ul:after {display:block;visibility:hidden;clear:both;content:""}
#sch_result_hd li {float:left;padding:0.5em 0;width:33%;text-align:center}
@ -427,7 +432,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
/* 갤러리 목록 */
#bo_img h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none;zoom:1}
#bo_img_list {margin:1em 0 0;padding:0 1em;list-style:none}
#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""}
.bo_img_list_li {float:left;margin:0 0 2em}
@ -447,7 +452,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
.bo_img_text_href img {margin:0 0 0 0.3em}
/* 게시판 목록 공통 */
.bo_fx {margin-bottom:0.3em;padding:0.5em 1em;zoom:1}
.bo_fx {margin-bottom:0.3em;padding:0.5em 1em}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
#bo_list_total {float:left;padding:0;height:2.5em;line-height:2.5em}
@ -498,12 +503,12 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
#bo_v_link a:active {text-decoration:none}
.bo_v_link_cnt {display:inline-block;margin:0 1em}
#bo_v_top {margin:0 0 1em;padding:1em;zoom:1}
#bo_v_top {margin:0 0 1em;padding:1em}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_top ul {list-style:none}
#bo_v_bot {padding:0 1em;zoom:1}
#bo_v_bot {padding:0 1em}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_bot ul {margin:0;padding:0;list-style:none}
@ -550,7 +555,7 @@ input.required:focus {border:0;background:#21272e !important;color:#fff;line-hei
#bo_vc footer {zoom:1}
#bo_vc footer:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act {float:right;margin:0;list-style:none;zoom:1}
.bo_vc_act {float:right;margin:0;list-style:none}
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_act li {float:left;margin-left:0.3em}

View File

@ -13,7 +13,8 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
<header id="hd">
<h1><?=$config['cf_title']?></h1>
<div id="to_content"><a href="#container">본문 바로가기</a></div>
<div class="to_content"><a href="#container">본문 바로가기</a></div>
<div class="to_content"><a href="#gnb">메인메뉴 바로가기</a></div>
<div id="hd_wrapper">
@ -81,7 +82,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
<nav id="lnb">
<ul>
<?
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$gr_id}' order by bo_order ";
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$gr_id}' and bo_show_menu = 1 order by bo_order ";
$result2 = sql_query($sql2);
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
?>

View File

@ -11,7 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<h2>홈페이지 메인메뉴</h2>
<ul>
<?
$sql = " select * from {$g4['group_table']} where gr_show_menu order by gr_order ";
$sql = " select * from {$g4['group_table']} where gr_show_menu = 1 order by gr_order ";
$result = sql_query($sql);
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
?>