Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ data
|
||||
config.php
|
||||
test*
|
||||
sirgle
|
||||
caption_sr_test.php
|
||||
|
||||
@ -78,7 +78,8 @@ $sql = " insert into {$g4['board_table']}
|
||||
bo_upload_size = '{$board[bo_upload_size]}',
|
||||
bo_reply_order = '{$board[bo_reply_order]}',
|
||||
bo_use_search = '{$board[bo_use_search]}',
|
||||
bo_order_search = '{$board[bo_order_search]}',
|
||||
bo_show_menu = '{$board[bo_show_menu]}',
|
||||
bo_order = '{$board[bo_order]}',
|
||||
bo_notice = '{$board['bo_notice']}',
|
||||
bo_upload_count = '{$board[bo_upload_count]}',
|
||||
bo_use_email = '{$board[bo_use_email]}',
|
||||
|
||||
@ -12,6 +12,10 @@ if (!$row['cnt'])
|
||||
|
||||
$html_title = '게시판';
|
||||
|
||||
if (!isset($board['bo_show_menu'])) {
|
||||
sql_query(" ALTER TABLE `{$g4['board_table']}` ADD `bo_show_menu` TINYINT NOT NULL DEFAULT '0' AFTER `bo_order_search`, ADD `bo_order` INT NOT NULL DEFAULT '0' AFTER `bo_show_menu` ", false);
|
||||
}
|
||||
|
||||
if ($w == '') {
|
||||
|
||||
$html_title .= ' 생성';
|
||||
@ -40,6 +44,9 @@ if ($w == '') {
|
||||
$board['bo_skin'] = 'basic';
|
||||
$board['gr_id'] = $gr_id;
|
||||
$board['bo_use_secret'] = 0;
|
||||
$board['bo_include_head'] = '_head.php';
|
||||
$board['bo_include_tail'] = '_tail.php';
|
||||
$board['bo_show_menu'] = true;
|
||||
|
||||
} else if ($w == 'u') {
|
||||
|
||||
@ -110,6 +117,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&stx='+document.getElementById('gr_id').value;\">동일그룹게시판목록</a>");</script><?}?></td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -538,14 +546,26 @@ $pg_anchor = "<ul class=\"anchor\">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_order_search">전체 검색 순서</label></th>
|
||||
<th scope="row"><label for="bo_show_menu">메뉴보이기</label></th>
|
||||
<td>
|
||||
<?=help('숫자가 낮은 게시판 부터 검색')?>
|
||||
<input type="text" id="bo_order_search" name="bo_order_search" class="frm_input" value="<?=$board['bo_order_search']?>" size="4">
|
||||
<?=help("사용에 체크하시면 게시판 제목을 메뉴에 출력합니다.")?>
|
||||
<input type="checkbox" id="bo_show_menu" name="bo_show_menu" value="1" <?=$board['bo_show_menu']?'checked':'';?>>
|
||||
사용
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_order_search" name="chk_order_search" value="1">
|
||||
<label for="chk_order_search">동일그룹 모두 적용</label>
|
||||
<input type="checkbox" id="chk_show_menu" name="chk_show_menu" value="1">
|
||||
<label for="chk_show_menu">동일그룹 모두 적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="bo_order">출력 순서</label></th>
|
||||
<td>
|
||||
<?=help('숫자가 낮은 게시판 부터 메뉴나 검색시 우선 출력합니다.')?>
|
||||
<input type="text" id="bo_order" name="bo_order" class="frm_input" value="<?=$board['bo_order']?>" size="4">
|
||||
</td>
|
||||
<td class="group_setting">
|
||||
<input type="checkbox" id="chk_order" name="chk_order" value="1">
|
||||
<label for="chk_order">동일그룹 모두 적용</label>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -102,7 +102,7 @@ $sql_common = " gr_id = '{$_POST['gr_id']}',
|
||||
bo_upload_size = '{$_POST['bo_upload_size']}',
|
||||
bo_reply_order = '{$_POST['bo_reply_order']}',
|
||||
bo_use_search = '{$_POST['bo_use_search']}',
|
||||
bo_order_search = '{$_POST['bo_order_search']}',
|
||||
bo_order = '{$_POST['bo_order']}',
|
||||
bo_write_min = '{$_POST['bo_write_min']}',
|
||||
bo_write_max = '{$_POST['bo_write_max']}',
|
||||
bo_comment_min = '{$_POST['bo_comment_min']}',
|
||||
@ -265,7 +265,7 @@ if (is_checked('chk_content_head')) $fields .= " , bo_content_head = '{$bo_c
|
||||
if (is_checked('chk_content_tail')) $fields .= " , bo_content_tail = '{$bo_content_tail}' ";
|
||||
if (is_checked('chk_insert_content')) $fields .= " , bo_insert_content = '{$bo_insert_content}' ";
|
||||
if (is_checked('chk_use_search')) $fields .= " , bo_use_search = '{$bo_use_search}' ";
|
||||
if (is_checked('chk_order_search')) $fields .= " , bo_order_search = '{$bo_order_search}' ";
|
||||
if (is_checked('chk_order')) $fields .= " , bo_order = '{$bo_order}' ";
|
||||
for ($i=1; $i<=10; $i++) {
|
||||
if (is_checked('chk_'.$i)) {
|
||||
$fields .= " , bo_{$i}_subj = '".$_POST['bo_'.$i.'_subj']."' ";
|
||||
|
||||
@ -112,7 +112,8 @@ $colspan = 8;
|
||||
<th scope="col">댓글P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col">다운P<span class="sound_only">포인트</span></th>
|
||||
<th scope="col"><?=subject_sort_link('bo_use_search')?>검색<br>사용</a></th>
|
||||
<th scope="col"><?=subject_sort_link('bo_order_search')?>검색<br>순서</a></th>
|
||||
<th scope="col"><?=subject_sort_link('bo_show_menu')?>메뉴<br>보임</a></th>
|
||||
<th scope="col"><?=subject_sort_link('bo_order')?>출력<br>순서</a></th>
|
||||
<th scope="col">접속기기</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
@ -147,8 +148,9 @@ $colspan = 8;
|
||||
<td><input type="text" name="bo_write_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_write_point']?>" size="2" title="쓰기포인트"></td>
|
||||
<td><input type="text" name="bo_comment_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_comment_point']?>" size="2" title="댓글포인트"></td>
|
||||
<td><input type="text" name="bo_download_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_download_point']?>" size="2" title="다운포인트"></td>
|
||||
<td><input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_use_search[<?=$i?>]" <?=$row['bo_use_search']?"checked":""?> value="1" title="검색사용"></td>
|
||||
<td><input type="text" id="bo_order_search_<?=$i?>" name="bo_order_search[<?=$i?>]" class="frm_input" value="<?=$row['bo_order_search']?>" size="2" title="검색순서"></td>
|
||||
<td><input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_use_search[<?=$i?>]" <?=$row['bo_use_search']?"checked":""?> value="1" title="선택시 검색사용"></td>
|
||||
<td><input type="checkbox" id="bo_use_search_<?=$i?>" name="bo_show_menu[<?=$i?>]" <?=$row['bo_show_menu']?"checked":""?> value="1" title="선택시 메뉴보이기"></td>
|
||||
<td><input type="text" id="bo_order<?=$i?>" name="bo_order[<?=$i?>]" class="frm_input" value="<?=$row['bo_order']?>" size="2" title="출력순서"></td>
|
||||
</td>
|
||||
<td>
|
||||
<select id="bo_device_<?=$i?>" name="bo_device[<?=$i?>]">
|
||||
|
||||
@ -37,7 +37,8 @@ if ($_POST['act_button'] == "선택수정") {
|
||||
bo_comment_point = '{$_POST['bo_comment_point'][$k]}',
|
||||
bo_download_point = '{$_POST['bo_download_point'][$k]}',
|
||||
bo_use_search = '{$_POST['bo_use_search'][$k]}',
|
||||
bo_order_search = '{$_POST['bo_order_search'][$k]}'
|
||||
bo_show_menu = '{$_POST['bo_show_menu'][$k]}',
|
||||
bo_order = '{$_POST['bo_order'][$k]}'
|
||||
where bo_table = '{$_POST['board_table'][$k]}' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
|
||||
@ -13,13 +13,17 @@ if ($w == '') {
|
||||
$gr['gr_use_access'] = 0;
|
||||
$html_title .= ' 생성';
|
||||
} else if ($w == 'u') {
|
||||
$gr_id_attr = 'readonly style="background-color:#dddddd"';
|
||||
$gr_id_attr = 'readonly';
|
||||
$gr = sql_fetch(" select * from {$g4['group_table']} where gr_id = '$gr_id' ");
|
||||
$html_title .= ' 수정';
|
||||
}
|
||||
else
|
||||
alert('제대로 된 값이 넘어오지 않았습니다.');
|
||||
|
||||
if (!isset($group['gr_show_menu'])) {
|
||||
sql_query(" ALTER TABLE `{$g4['group_table']}` ADD `gr_show_menu` TINYINT NOT NULL DEFAULT '0' AFTER `gr_use_access`, ADD `gr_order` INT NOT NULL DEFAULT '0' AFTER `gr_show_menu` ", true);
|
||||
}
|
||||
|
||||
$g4['title'] = $html_title;
|
||||
include_once('./admin.head.php');
|
||||
?>
|
||||
@ -45,7 +49,14 @@ include_once('./admin.head.php');
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_id">그룹 ID<?=$sound_only?></label></th>
|
||||
<td><input type="text" id="gr_id" name="gr_id" maxlength="10" class="<?=$gr_id_attr?> alnum_ frm_input" value="<?=$group['gr_id']?>"> 영문자, 숫자, _ 만 가능 (공백없이)</td>
|
||||
<td><input type="text" id="gr_id" name="gr_id" maxlength="10" class="<?=$gr_id_attr?> alnum_ frm_input" value="<?=$group['gr_id']?>">
|
||||
<?
|
||||
if ($w=='')
|
||||
echo '영문자, 숫자, _ 만 가능 (공백없이)';
|
||||
else
|
||||
echo '<a href="'.G4_BBS_URL.'/group.php?gr_id='.$group['gr_id'].'">게시판그룹 바로가기</a>';
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_subject">그룹 제목<strong class="sound_only">필수</strong></label></th>
|
||||
@ -98,6 +109,14 @@ include_once('./admin.head.php');
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="gr_show_menu">메뉴보이기</label></th>
|
||||
<td>
|
||||
<?=help("사용에 체크하시면 게시판그룹 제목을 메뉴에 출력합니다.")?>
|
||||
<input type="checkbox" id="gr_show_menu" name="gr_show_menu" value="1" <?=$gr['gr_show_menu']?'checked':'';?>>
|
||||
사용
|
||||
</td>
|
||||
</tr>
|
||||
<? for ($i=1;$i<=10;$i++) { ?>
|
||||
<tr>
|
||||
<th scope="row">회원여분필드<?=$i?></th>
|
||||
|
||||
@ -17,6 +17,7 @@ if (!$gr_subject) alert('그룹 제목을 입력하세요.');
|
||||
$sql_common = " gr_subject = '{$_POST['gr_subject']}',
|
||||
gr_device = '{$_POST['gr_device']}',
|
||||
gr_admin = '{$_POST['gr_admin']}',
|
||||
gr_show_menu = '{$_POST['gr_show_menu']}',
|
||||
gr_1_subj = '{$_POST['gr_1_subj']}',
|
||||
gr_2_subj = '{$_POST['gr_2_subj']}',
|
||||
gr_3_subj = '{$_POST['gr_3_subj']}',
|
||||
|
||||
@ -105,9 +105,11 @@ $colspan = 8;
|
||||
<th scope="col"><?=subject_sort_link('gr_id')?>그룹아이디</a></th>
|
||||
<th scope="col"><?=subject_sort_link('gr_subject')?>제목</a></th>
|
||||
<?if ($is_admin == 'super'){?><th scope="col"><?=subject_sort_link('gr_admin')?>그룹관리자</a></th><?}?>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">접근사용</th>
|
||||
<th scope="col">접근회원수</th>
|
||||
<th scope="col">게시판<br>갯수</th>
|
||||
<th scope="col">접근<br>사용</th>
|
||||
<th scope="col">접근<br>회원수</th>
|
||||
<th scope="col">메뉴<br>보임</th>
|
||||
<th scope="col">출력<br>순서</th>
|
||||
<th scope="col">접속기기</th>
|
||||
<th scope="col">관리</th>
|
||||
</tr>
|
||||
@ -132,13 +134,13 @@ $colspan = 8;
|
||||
<input type="checkbox" id="chk_<?=$i?>" name="chk[]" value="<?=$i?>" title="<?=$row['gr_subject']?> 그룹선택">
|
||||
<input type="hidden" name="group_id[<?=$i?>]" value="<?=$row['gr_id']?>">
|
||||
</td>
|
||||
<td class="td_mbid"><a href="<?=G4_BBS_URL?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
|
||||
<td class="td_grid"><a href="<?=G4_BBS_URL?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_id']?></a></td>
|
||||
<td>
|
||||
<input type="text" id="gr_subject_<?=$i?>" name="gr_subject[<?=$i?>]" class="frm_input" value="<?=get_text($row['gr_subject'])?>" title="그룹제목 수정">
|
||||
</td>
|
||||
<td>
|
||||
<?if ($is_admin == 'super'){?>
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" class="frm_input" value="<?=$row['gr_admin']?>" title="그룹관리자 수정" maxlength="20">
|
||||
<input type="text" id="gr_admin" name="gr_admin[<?=$i?>]" size="10" class="frm_input" value="<?=$row['gr_admin']?>" title="그룹관리자 수정" maxlength="20">
|
||||
<?}else{?>
|
||||
<input type="hidden" name="gr_admin[<?=$i?>]" value="<?=$row['gr_admin']?>"><td><?=$row['gr_admin']?>
|
||||
<?}?>
|
||||
@ -146,6 +148,10 @@ $colspan = 8;
|
||||
<td><a href="./board_list.php?sfl=a.gr_id&stx=<?=$row['gr_id']?>"><?=$row2['cnt']?></a></td>
|
||||
<td><input type="checkbox" id="gr_use_access" name="gr_use_access[<?=$i?>]" <?=$row['gr_use_access']?'checked':''?> value="1" title="선택 시 접근회원 사용"></td>
|
||||
<td><a href="./boardgroupmember_list.php?gr_id=<?=$row['gr_id']?>"><?=$row1['cnt']?></a></td>
|
||||
<td><input type="checkbox" id="gr_show_menu" name="gr_show_menu[<?=$i?>]" <?=$row['gr_show_menu']?'checked':''?> value="1" title="선택 시 메뉴보이기"></td>
|
||||
<td>
|
||||
<input type="text" id="gr_order_<?=$i?>" name="gr_order[<?=$i?>]" size="2" class="frm_input" value="<?=$row['gr_order']?>" title="출력순서 수정">
|
||||
</td>
|
||||
<td>
|
||||
<select id="gr_device_<?=$i?>" name="gr_device[<?=$i?>]">
|
||||
<option value="both"<?=get_selected($row['gr_device'], 'both');?>>모두</option>
|
||||
|
||||
@ -23,7 +23,9 @@ for ($i=0; $i<$count; $i++)
|
||||
set gr_subject = '{$_POST['gr_subject'][$k]}',
|
||||
gr_device = '{$_POST['gr_device'][$k]}',
|
||||
gr_admin = '{$_POST['gr_admin'][$k]}',
|
||||
gr_use_access = '{$_POST['gr_use_access'][$k]}'
|
||||
gr_use_access = '{$_POST['gr_use_access'][$k]}',
|
||||
gr_show_menu = '{$_POST['gr_show_menu'][$k]}',
|
||||
gr_order = '{$_POST['gr_order'][$k]}'
|
||||
where gr_id = '{$gr_id}' ";
|
||||
if ($is_admin != 'super')
|
||||
$sql .= " and gr_admin = '{$_POST['gr_admin'][$k]}' ";
|
||||
|
||||
@ -34,7 +34,7 @@ if ($is_admin == 'group')
|
||||
$sql .= " and b.gr_admin = '{$member['mb_id']}' ";
|
||||
else if ($is_admin == 'board')
|
||||
$sql .= " and a.bo_admin = '{$member['mb_id']}' ";
|
||||
$sql .= " order by a.gr_id, a.bo_order_search, a.bo_table ";
|
||||
$sql .= " order by a.gr_id, a.bo_order, a.bo_table ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
|
||||
@ -27,7 +27,7 @@ if ($stx) {
|
||||
$onetable = isset($onetable) ? $onetable : "";
|
||||
if ($onetable) // 하나의 게시판만 검색한다면
|
||||
$sql .= " and bo_table = '{$onetable}' ";
|
||||
$sql .= " order by bo_order_search, gr_id, bo_table ";
|
||||
$sql .= " order by bo_order, gr_id, bo_table ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
|
||||
@ -34,7 +34,7 @@ h2 {font-size:1.2em}
|
||||
/* 레이아웃 */
|
||||
#hd {z-index:10;background:url('../adm/img/hd_bg.jpg') #383b3f top left repeat-x}
|
||||
#hd h1,
|
||||
#hd h2 {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#hd h2 {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden}
|
||||
#hd_wrap {position:relative;margin:0 auto;width:1000px}
|
||||
#logo {position:relative;height:70px}
|
||||
#logo img {position:absolute;top:15px;left:0}
|
||||
@ -48,19 +48,19 @@ h2 {font-size:1.2em}
|
||||
|
||||
/* gnb js off */
|
||||
#gnb {}
|
||||
|
||||
#gnb ul {z-index:10}
|
||||
.gnb_1depth {position:relative;margin-left:-1px;background:#383a3f;zoom:1}
|
||||
.gnb_1depth {position:relative;margin-top:-1px;margin-left:-1px;background:#383a3f;zoom:1}
|
||||
.gnb_1depth:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth a {display:inline-block;float:left;width:90px;height:35px;color:#e0e0e0;font-weight:bold;line-height:2.95em !important;line-height:2.65em}
|
||||
.gnb_1depth a {display:block;float:left;width:90px;height:35px;color:#e0e0e0;font-weight:bold;line-height:2.95em !important;line-height:2.65em}
|
||||
.gnb_1depth_air a,
|
||||
.gnb_1depth_on a {color:#000}
|
||||
.gnb_1depth a:focus,
|
||||
.gnb_1depth a:hover,
|
||||
.gnb_1depth a:active {text-decoration:none}
|
||||
.gnb_1depth ul {float:left;zoom:1}
|
||||
.gnb_1depth ul:after {display:inline-block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth li {float:left}
|
||||
.gnb_1depth_over ul {top:35px;left:-1px;width:auto;height:auto;border:1px solid #ccc;border-top:0}
|
||||
.gnb_2depth a {display:inline-block;float:none;margin-right:10px;padding:5px;width:auto;height:25px;border-bottom:0;color:#e0e0e0;font-weight:normal;text-align:left;line-height:2.1em !important;line-height:1.8em}
|
||||
/* gnb js on */
|
||||
.gnb_js {}
|
||||
@ -73,7 +73,7 @@ h2 {font-size:1.2em}
|
||||
.gnb_js .gnb_1depth a:focus,
|
||||
.gnb_js .gnb_1depth a:hover,
|
||||
.gnb_js .gnb_1depth a:active {text-decoration:none}
|
||||
.gnb_js .gnb_1depth ul {width:0;height:0;overflow:hidden}
|
||||
.gnb_js .gnb_1depth ul {width:1px;height:1px;overflow:hidden}
|
||||
.gnb_js .gnb_1depth li {float:none}
|
||||
.gnb_js .gnb_1depth_over ul {position:absolute;top:35px;left:-1px;width:181px;height:auto;border:1px solid #ccc;border-top:0}
|
||||
.gnb_js .gnb_2depth a {display:inline-block;margin:0;padding:5px 10px;width:161px;height:25px;border-bottom:0;background:#fff;color:#000;font-weight:normal;text-align:left;line-height:2.1em}
|
||||
@ -143,7 +143,7 @@ textarea {width:90%}
|
||||
select {border:1px solid #ced9de}
|
||||
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
||||
fieldset {margin-bottom:20px}
|
||||
legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
legend {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden}
|
||||
fieldset span {display:block;margin-bottom:10px}
|
||||
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}
|
||||
@ -248,6 +248,7 @@ td {padding:8px 5px 6px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9
|
||||
.td_chk {width:30px;text-align:center}
|
||||
.td_num {width:60px;text-align:center}
|
||||
.td_bignum {width:120px;text-align:center}
|
||||
.td_grid {width:60px;text-align:center}
|
||||
.td_mbid,
|
||||
.td_name,
|
||||
.td_mbname {width:100px;text-align:left !important}
|
||||
|
||||
@ -33,14 +33,14 @@ a:active {color:#000;text-decoration:underline}
|
||||
|
||||
/* 상단 레이아웃 */
|
||||
#hd {border-top:3px solid #151515;border-bottom:1px solid #e7f1ed;background:#fff}
|
||||
#hd h1 {width:0;height:0;overflow:hidden}
|
||||
#hd h1 {width:1px;height:1px;overflow:hidden}
|
||||
#hd_wrapper {position:relative;margin:0 auto;width:980px}
|
||||
|
||||
#logo {padding:17px 0 17px 0}
|
||||
#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 legend {width:0;height:0;overflow:hidden}
|
||||
#schall legend {width:1px;height:1px;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_submit {border:1px solid #aaa;border-left:0}
|
||||
|
||||
@ -55,35 +55,35 @@ a:active {color:#000;text-decoration:underline}
|
||||
|
||||
/* gnb js off */
|
||||
#gnb {background:#f0f4f8}
|
||||
#gnb h2 {margin:0;padding:0;width:0;height:0;overflow:hidden}
|
||||
#gnb ul {z-index:10;margin:0 auto;padding:0;width:980px;zoom:1}
|
||||
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth {position:relative;margin-left:-1px;zoom:1}
|
||||
#gnb h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
||||
#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:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth a {display:inline-block;float:left;height:35px;color:#fff;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_on a {color:#000}
|
||||
.gnb_1depth a:focus,
|
||||
.gnb_1depth a:hover,
|
||||
.gnb_1depth a:active {text-decoration:none}
|
||||
.gnb_1depth ul {float:left !important;margin:0 !important;padding:0 !important;width:auto !important;zoom:1}
|
||||
.gnb_1depth ul:after {display:inline-block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth ul {float:left;zoom:1}
|
||||
.gnb_1depth ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_1depth li {float:left}
|
||||
.gnb_1depth_over ul {top:35px;left:-1px;width:auto;height:auto;border:1px solid #ccc;border-top:0}
|
||||
.gnb_2depth a {display:inline-block;float:none;margin-right:10px;padding:5px;width:auto;height:25px;border-bottom:0;color:#fff;font-weight:normal;text-align:left;line-height:2.1em !important;line-height:1.8em}
|
||||
.gnb_2depth a {display:inline-block;float:none;margin-right:10px;padding:0 5px;width:auto;height:35px;border-bottom:0;color:#000;font-weight:normal;text-align:left;line-height:2.7em !important;line-height:2.4em}
|
||||
/* gnb js on */
|
||||
.gnb_js {border-bottom:1px solid #c3c7c5;background:#fff}
|
||||
.gnb_js {padding-left:1px;border-bottom:1px solid #c3c7c5;background:#fff}
|
||||
.gnb_js ul {zoom:1}
|
||||
.gnb_js ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.gnb_js .gnb_1depth {position:relative;float:left;margin-left:-1px}
|
||||
.gnb_js .gnb_1depth a {display:inline-block;padding:0 15px;height:35px;border:1px solid #e0e5e9;border-top:0;border-bottom:0;color:#000;font-size:1.1em;font-weight:bold;letter-spacing:-0.1em;line-height:2.1em}
|
||||
.gnb_js .gnb_1depth a {display:inline-block;float:none;padding:0 15px;height:35px;border:1px solid #e0e5e9;border-top:0;border-bottom:0;color:#000;font-size:1.1em;font-weight:bold;text-align:center;letter-spacing:-0.1em;line-height:2.1em}
|
||||
.gnb_js .gnb_1depth_air a {float:none;background:#f7f7f2;color:#000}
|
||||
.gnb_js .gnb_1depth_on a {float:none;background:#fff;color:#000}
|
||||
.gnb_js .gnb_1depth a:focus,
|
||||
.gnb_js .gnb_1depth a:hover,
|
||||
.gnb_js .gnb_1depth a:active {text-decoration:none}
|
||||
.gnb_js .gnb_1depth_air a {float:none;background:#f7f7f2;color:#000}
|
||||
.gnb_js .gnb_1depth_on a {float:none;background:#fff;color:#000}
|
||||
.gnb_js .gnb_1depth ul {width:0 !important;height:0 !important;overflow:hidden}
|
||||
.gnb_js .gnb_1depth ul {width:1px !important;height:0 !important;overflow:hidden}
|
||||
.gnb_js .gnb_1depth li {float:none}
|
||||
.gnb_js .gnb_1depth_over ul {position:absolute;top:35px;left:0;width:181px !important;height:auto !important;border:1px solid #c3c7c5;border-top:0}
|
||||
.gnb_js .gnb_2depth a {display:inline-block;margin:0;padding:5px 10px;width:161px;height:25px;border:0;background:#fff;color:#000;font-weight:normal;text-align:left;line-height:2.1em}
|
||||
.gnb_js .gnb_2depth a {display:inline-block;margin:0;padding:5px 10px;width:161px;height:25px;border:0;background:#fff;color:#000;font-weight:normal;text-align:left;line-height:2.1em !important}
|
||||
|
||||
/* 중간 레이아웃 */
|
||||
#wrapper {margin:50px auto;width:980px;zoom:1}
|
||||
@ -97,7 +97,7 @@ a:active {color:#000;text-decoration:underline}
|
||||
|
||||
/* 하단 레이아웃 */
|
||||
#ft {background:#484848}
|
||||
#ft h1 {width:0;height:0;overflow:hidden}
|
||||
#ft h1 {width:1px;height:1px;overflow:hidden}
|
||||
|
||||
#popular {background:#515151}
|
||||
#popular div {margin:0 auto;width:980px;zoom:1}
|
||||
@ -243,7 +243,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
|
||||
/* 아웃로그인 스킨 */
|
||||
.ol {position:relative;padding:15px 15px 14px 14px}
|
||||
.ol h2 {margin:0;padding:0;width:0;height:0;overflow:hidden}
|
||||
.ol h2 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
||||
.ol ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
#ol_before {}
|
||||
@ -299,7 +299,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 h2 {width:0;height:0;overflow:hidden}
|
||||
#memo_view section h2 {width:1px;height:1px;overflow:hidden}
|
||||
#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}
|
||||
@ -369,7 +369,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#poll_result_cmt h2 {text-align:center}
|
||||
#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 h1 {margin:0;padding:0;width:0;height:0;overflow:hidden}
|
||||
#poll_result_cmt h1 {margin:0;padding:0;width:1px;height:1px;overflow:hidden}
|
||||
.poll_datetime {display:inline-block;margin-left:10px}
|
||||
#poll_result_cmt p {padding:3px 0}
|
||||
#poll_result_cmt fieldset {margin-bottom:0;text-align:left}
|
||||
@ -400,7 +400,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
|
||||
/* 최근게시물 스킨 (new) */
|
||||
#new_sch {margin-bottom:10px;text-align:right}
|
||||
#new_sch legend {width:0;height:0;overflow:hidden}
|
||||
#new_sch legend {width:1px;height:1px;overflow:hidden}
|
||||
|
||||
/* 전체검색결과 스킨 */
|
||||
#sch_result_detail {margin:0;padding:15px 0;border:0;text-align:right}
|
||||
@ -414,7 +414,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#sch_result_hd ul {float:left}
|
||||
#sch_result_hd li {float:left;padding:0 10px;border-right:1px solid #cfded8}
|
||||
#sch_result_bo {float:left;margin:0;padding:0;width:170px}
|
||||
#sch_result_bo dt {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#sch_result_bo dt {margin:0;padding:0;width:1px;height:1px;border:0;overflow:hidden}
|
||||
#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}
|
||||
@ -452,7 +452,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_cate h2 {width:0;height:0;overflow:hidden}
|
||||
#bo_cate h2 {width:1px;height:1px;overflow:hidden}
|
||||
#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 li {float:left;margin-bottom:-1px}
|
||||
@ -480,7 +480,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
.cnt_cmt {font-weight:bold}
|
||||
|
||||
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
|
||||
#bo_sch legend {width:0;height:0;overflow:hidden}
|
||||
#bo_sch legend {width:1px;height:1px;overflow:hidden}
|
||||
|
||||
/* 게시판 읽기 */
|
||||
#bo_v {margin-bottom:20px;padding-bottom:20px}
|
||||
@ -557,7 +557,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
|
||||
#bo_vc .sv_member,
|
||||
#bo_vc .sv_guest {font-weight:bold}
|
||||
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}
|
||||
#bo_vc h1 {width:0;height:0;overflow:hidden}
|
||||
#bo_vc h1 {width:1px;height:1px;overflow:hidden}
|
||||
#bo_vc a {color:#000;text-decoration:none}
|
||||
#bo_vc p {padding:0 0 5px;line-height:1.8em}
|
||||
#bo_vc p a {text-decoration:underline}
|
||||
|
||||
@ -2,9 +2,9 @@
|
||||
|
||||
/* 초기화 */
|
||||
html {overflow-y:scroll}
|
||||
body {margin:0;padding:0;background:#f7f7f2;font-size:1em;font-family:"dotum"}
|
||||
html, body, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
|
||||
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
|
||||
body {margin:0;padding:0;background:#f7f7f2;font-size:0.75em;font-family:"dotum"}
|
||||
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
|
||||
h1, h2, h3, h4, h5, h6 {color:#2a4959;font-size:1em;font-family:"dotum"}
|
||||
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
|
||||
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
|
||||
label, input, select, img {vertical-align:middle}
|
||||
@ -14,17 +14,11 @@ hr {display:none}
|
||||
pre {overflow-x:scroll;font-size:1.1em}
|
||||
|
||||
/* 웹접근성 스킬 --- 기본 block 속성에는 적용 안됨*/
|
||||
.sound_only {display:inline-block;margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
.sound_only {display:none}
|
||||
|
||||
/* 레이아웃 */
|
||||
#container {width:100%}
|
||||
|
||||
#idx_catch img {width:100%;height:auto}
|
||||
|
||||
#ft_catch_img {width:100%;height:auto}
|
||||
#ft_html5badge {display:block}
|
||||
|
||||
/* 게시판 목록 */
|
||||
/* 게시판 목록
|
||||
#bo_list table {margin:0 auto;width:95%}
|
||||
#bo_list caption {display:none}
|
||||
#bo_list thead {display:none}
|
||||
@ -40,4 +34,5 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#bo_list td:nth-of-type(4):before {content:"날짜"}
|
||||
#bo_list td:nth-of-type(5):before {content:"조회"}
|
||||
#bo_list a {color:#000;text-decoration:none}
|
||||
.bo_cate_link {font-weight:bold}
|
||||
.bo_cate_link {font-weight:bold}
|
||||
*/
|
||||
17
head.php
17
head.php
@ -127,13 +127,24 @@ if ($config['cf_include_head']) {
|
||||
<script>$('#gnb').addClass('gnb_js');</script>
|
||||
<h2>홈페이지 메인메뉴</h2>
|
||||
<ul>
|
||||
<?
|
||||
$sql = " select * from {$g4['group_table']} where gr_show_menu order by gr_order ";
|
||||
$result = sql_query($sql);
|
||||
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
|
||||
?>
|
||||
<li class="gnb_1depth">
|
||||
<a href="<?=$g4['url']?>/bbs/board.php?bo_table=sirgle">분류1</a>
|
||||
<a href="<?=G4_BBS_URL?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_subject']?></a>
|
||||
<ul>
|
||||
<li class="gnb_2depth"><a href="#">게시판1</a></li>
|
||||
<li class="gnb_2depth"><a href="#">게시판2</a></li>
|
||||
<?
|
||||
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$row['gr_id']}' order by bo_order ";
|
||||
$result2 = sql_query($sql2);
|
||||
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
|
||||
?>
|
||||
<li class="gnb_2depth"><a href="<?=G4_BBS_URL?>/board.php?bo_table=<?=$row2['bo_table']?>"><?=$row2['bo_subject']?></a></li>
|
||||
<?}?>
|
||||
</ul>
|
||||
</li>
|
||||
<?}?>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
||||
@ -50,6 +50,7 @@ var g4_bbs_url = "<?=G4_BBS_URL?>";
|
||||
var g4_img_url = "<?=G4_IMG_URL?>";
|
||||
var g4_is_member = "<?=isset($is_member)?$is_member:'';?>";
|
||||
var g4_is_admin = "<?=isset($is_admin)?$is_admin:'';?>";
|
||||
var g4_is_mobile = "<?=G4_IS_MOBILE?>";
|
||||
var g4_bo_table = "<?=isset($bo_table)?$bo_table:'';?>";
|
||||
var g4_sca = "<?=isset($sca)?$sca:'';?>";
|
||||
var g4_cookie_domain = "<?=G4_COOKIE_DOMAIN?>";
|
||||
|
||||
@ -76,7 +76,8 @@ CREATE TABLE IF NOT EXISTS `g4s_board` (
|
||||
`bo_upload_size` int(11) NOT NULL default '0',
|
||||
`bo_reply_order` tinyint(4) NOT NULL default '0',
|
||||
`bo_use_search` tinyint(4) NOT NULL default '0',
|
||||
`bo_order_search` int(11) NOT NULL default '0',
|
||||
`bo_show_menu` tinyint(4) NOT NULL default '0',
|
||||
`bo_order` int(11) NOT NULL default '0',
|
||||
`bo_count_write` int(11) NOT NULL default '0',
|
||||
`bo_count_comment` int(11) NOT NULL default '0',
|
||||
`bo_write_min` int(11) NOT NULL default '0',
|
||||
@ -293,6 +294,8 @@ CREATE TABLE IF NOT EXISTS `g4s_group` (
|
||||
`gr_subject` varchar(255) NOT NULL default '',
|
||||
`gr_admin` varchar(255) NOT NULL default '',
|
||||
`gr_use_access` tinyint(4) NOT NULL default '0',
|
||||
`gr_show_menu` int(11) NOT NULL default '0',
|
||||
`gr_order` tinyint(4) NOT NULL default '0',
|
||||
`gr_1_subj` varchar(255) NOT NULL default '',
|
||||
`gr_2_subj` varchar(255) NOT NULL default '',
|
||||
`gr_3_subj` varchar(255) NOT NULL default '',
|
||||
|
||||
@ -4,6 +4,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<form id="fregister" name="fregister" method="POST" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" autocomplete="off">
|
||||
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
|
||||
<section id="fregister_term">
|
||||
<h2>회원가입약관</h2>
|
||||
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
||||
@ -23,7 +25,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
<input type="submit" class="btn_submit" value="회원가입">
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user