사용자: 게시판스킨 카테고리 스타일 중

This commit is contained in:
whitedot
2013-02-01 18:12:08 +09:00
parent aa377a2a5b
commit 277cfababd
3 changed files with 20 additions and 13 deletions

View File

@ -11,7 +11,7 @@ if ($board['bo_use_category']) {
$categories = explode('|', $board['bo_category_list']); // 구분자가 , 로 되어 있음
for ($i=0; $i<count($categories); $i++) {
if (trim($categories[$i]))
$category_option .= '<li>'.$categories[$i].'</li>';
$category_option .= '<li><a href="#">'.$categories[$i].'</a></li>';
}
}

View File

@ -384,6 +384,12 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
/* 게시판 목록 */
.btn_bo_adm input {padding:0 10px;height:26px;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none}
#bo_cate {margin-bottom:10px}
#bo_cate h2 {width:0;height:0;overflow:hidden}
#bo_cate ul {margin:0;padding:0 0 0 1px;zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {position:relative;float:left;margin-left:-1px}
#bo_cate a {display:block;padding:10px 15px 8px;border:1px solid #ddd;background:#f9f9f9;color:#000;text-decoration:none}
.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}
.bo_fx ul {margin:0;padding:0;list-style:none}
@ -491,7 +497,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#494949;color:#f
.pg {clear:both;margin:0 0 20px;padding-top:20px;text-align:center}
.pg_wrap {display:inline-block;border:1px solid #ddd;letter-spacing:-4px}
.pg_page,
.pg_current {display:inline-block;padding:0 12px;height:30px;background:#fff;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle}
.pg_current {display:inline-block;padding:0 12px;height:30px;color:#000;letter-spacing:0;line-height:2.6em;vertical-align:middle}
.pg_page {background:#f9f9f9;text-decoration:none}
.pg_start,
.pg_prev {border-right:1px solid #ddd}

View File

@ -11,18 +11,19 @@ if ($is_nogood) $colspan++;
<? if (!$wr_id) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
<div class="bo_fx">
<div id="bo_cate">
<? if ($is_category) { ?>
<form id="fcategory" name="fcategory" method="get">
<ul>
<li>전체</li>
<?=$category_option?>
</ul>
</form>
<? } ?>
</div>
<? if ($is_category) { ?>
<form id="fcategory" name="fcategory" method="get">
<nav id="bo_cate">
<h2><?=$board['bo_subject']?> 카테고리</h2>
<ul>
<li><a href="<?=$g4['url']?>/bbs/board.php?bo_table=<?=$bo_table?>">전체</a></li>
<?=$category_option?>
</ul>
</nav>
</form>
<? } ?>
<div class="bo_fx">
<fieldset id="bo_sch">
<legend>게시물 검색</legend>