사용자: 게시판스킨 목록 완성

This commit is contained in:
whitedot
2013-01-09 11:33:37 +09:00
parent 04dde84f45
commit 1ae3cb22f5
3 changed files with 22 additions and 16 deletions

View File

@ -130,7 +130,7 @@ if (isset($wr_id) && $wr_id) {
if (!isset($page) || (isset($page) && $page == 0)) $page = 1;
$g4['title'] = $board['bo_subject']." ".$page."페이지";
$g4['title'] = $board['bo_subject'];
}
include_once($g4['path'].'/head.sub.php');

View File

@ -271,7 +271,10 @@ h6 {margin:0 0 20px}
#bo_sch {float:left;padding:0;margin:0;border:0}
#bo_sch legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
#bo_sch form {display:inline-block}
#fcategory select {margin-right:10px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
#bo_sch .fieldset_submit {border:1px solid #ccc;background:#fafafa;color:#000}
#bo_cate {margin-bottom:10px}
#fcategory {display:inline-block}
#fcategory select {margin-right:5px;padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
#bo_list caption {padding:0;height:0;overflow:hidden}
.bo_cate_link {display:inline-block;margin-right:10px;color:#ff7200;font-weight:bold;text-decoration:none}
@ -352,7 +355,7 @@ h6 {margin:0 0 20px}
#memo_write textarea {height:100px}
/* pagination */
.pg {clear:both;margin:0 0 10px;padding-top:20px;font-size:0.875em;text-align:center}
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 10px;height:25px;border:1px solid #ddd;background:#fff;line-height:1.9em;vertical-align:middle}
.pg {clear:both;margin:0 0 10px;padding-top:20px;font-size:0.75em;text-align:center}
.pg_page, .pg_current {display:inline-block;position:relative;margin-left:-6px;padding:0 12px;height:30px;border:1px solid #ddd;background:#fff;color:#000;line-height:2.6em;vertical-align:middle}
.pg_page {text-decoration:none}
.pg_current {font-weight:normal}
.pg_current {background:#595959;color:#fff}

View File

@ -13,23 +13,26 @@ if ($is_nogood) $colspan++;
<? if ($admin_href) { ?><div id="btn_bo_adm"><a href="<?=$admin_href?>">게시판 관리자 바로가기</a></div><?}?>
<div id="bo_cate">
<? if ($is_category) { ?>
<form id="fcategory" name="fcategory" method="get">
<select name="sca" onchange="location='<?=$category_location?>'+<?=strtolower($g4['charset'])=='utf-8' ? "encodeURIComponent(this.value)" : "this.value"?>;">
<option value=''>전체</option>
<?=$category_option?>
</select>
</form>
<? } ?>
<span>Total <?=number_format($total_count)?>건</span>
<?=$page?> 페이지
</div>
<div class="btn_bo">
<fieldset id="bo_sch">
<legend>게시물 분류 및 검색</legend>
<? if ($is_category) { ?>
<form id="fcategory" name="fcategory" method="get">
<select name="sca" onchange="location='<?=$category_location?>'+<?=strtolower($g4['charset'])=='utf-8' ? "encodeURIComponent(this.value)" : "this.value"?>;">
<option value=''>전체</option>
<?=$category_option?>
</select>
</form>
<? } ?>
<legend>게시물 검색</legend>
<form name="fsearch" method="get">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="sca" value="<?=$sca?>">
<span>Total <?=number_format($total_count)?>건</span>
<select name="sfl" title="검색대상">
<option value="wr_subject">제목</option>
<option value="wr_content">내용</option>