사용자: 게시판스킨 목록 작업 중2
This commit is contained in:
@ -242,7 +242,6 @@ h6 {margin:0 0 20px}
|
|||||||
.sch_datetime {font-size:0.75em}
|
.sch_datetime {font-size:0.75em}
|
||||||
|
|
||||||
/* 게시판 목록 */
|
/* 게시판 목록 */
|
||||||
#board_list caption {padding:0;height:0;overflow:hidden}
|
|
||||||
.btn_board {margin-bottom:10px;zoom:1}
|
.btn_board {margin-bottom:10px;zoom:1}
|
||||||
.btn_board:after {display:block;visibility:hidden;clear:both;content:""}
|
.btn_board:after {display:block;visibility:hidden;clear:both;content:""}
|
||||||
.btn_board ul {margin:0;padding:0;list-style:none}
|
.btn_board ul {margin:0;padding:0;list-style:none}
|
||||||
@ -252,6 +251,10 @@ h6 {margin:0 0 20px}
|
|||||||
.btn_board_adm {float:left}
|
.btn_board_adm {float:left}
|
||||||
.btn_board_adm li {float:left}
|
.btn_board_adm li {float:left}
|
||||||
.btn_board_adm a {display:block;margin-right:5px}
|
.btn_board_adm a {display:block;margin-right:5px}
|
||||||
|
.cate_board select {padding:2px;border:1px solid #ddd;background:#f9f9f5;vertical-align:middle}
|
||||||
|
#board_list caption {padding:0;height:0;overflow:hidden}
|
||||||
|
.board_cate_link {display:inline-block;margin-right:10px;font-weight:bold}
|
||||||
|
.td_subject img {margin-left:5px}
|
||||||
|
|
||||||
/* 우편번호 검색 */
|
/* 우편번호 검색 */
|
||||||
#post_num dl {margin:0 auto 10px;padding:0;width:90%}
|
#post_num dl {margin:0 auto 10px;padding:0;width:90%}
|
||||||
|
|||||||
@ -13,33 +13,29 @@ if ($is_nogood) $colspan++;
|
|||||||
|
|
||||||
<? if ($admin_href) { ?><div id="btn_board_adm"><a href="<?=$admin_href?>">관리자 바로가기</a></div><?}?>
|
<? if ($admin_href) { ?><div id="btn_board_adm"><a href="<?=$admin_href?>">관리자 바로가기</a></div><?}?>
|
||||||
|
|
||||||
<div>
|
<form name="fsearch" method="get">
|
||||||
<form name="fsearch" method="get">
|
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
<fieldset id="board_search">
|
||||||
<fieldset>
|
<legend>게시물 검색</legend>
|
||||||
<legend>게시물 검색</legend>
|
<span>Total <?=number_format($total_count)?>건</span>
|
||||||
<span>Total <?=number_format($total_count)?>건 중</span>
|
<select name="sfl" title="검색대상">
|
||||||
<label for="sfl">검색대상</label>
|
<option value="wr_subject">제목</option>
|
||||||
<select id="sfl" name="sfl">
|
<option value="wr_content">내용</option>
|
||||||
<option value="wr_subject">제목</option>
|
<option value="wr_subject||wr_content">제목+내용</option>
|
||||||
<option value="wr_content">내용</option>
|
<option value="mb_id,1">회원아이디</option>
|
||||||
<option value="wr_subject||wr_content">제목+내용</option>
|
<option value="mb_id,0">회원아이디(코)</option>
|
||||||
<option value="mb_id,1">회원아이디</option>
|
<option value="wr_name,1">글쓴이</option>
|
||||||
<option value="mb_id,0">회원아이디(코)</option>
|
<option value="wr_name,0">글쓴이(코)</option>
|
||||||
<option value="wr_name,1">글쓴이</option>
|
</select>
|
||||||
<option value="wr_name,0">글쓴이(코)</option>
|
<input name="stx" class="fieldset_input required" maxlength="15" required value="<?=stripslashes($stx)?>" title="검색어">
|
||||||
</select>
|
<input type="radio" id="sop_and" name="sop" value="and">
|
||||||
<label for="stx">검색어</label>
|
<label for="sop_and">and</label>
|
||||||
<input id="stx" name="stx" class="fieldset_input required" maxlength="15" required value="<?=stripslashes($stx)?>">
|
<input type="radio" id="sop_or" name="sop" value="or">
|
||||||
<input type="radio" id="sop_and" name="sop" value="and">
|
<label for="sop_or">or</label>
|
||||||
<label for="sop_and">and</label>
|
<input type="submit" class="fieldset_submit" value="검색">
|
||||||
<input type="radio" id="sop_or" name="sop" value="or">
|
</fieldset>
|
||||||
<label for="sop_or">or</label>
|
</form>
|
||||||
<input type="submit" class="fieldset_submit" value="검색">
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="btn_board">
|
<div class="btn_board">
|
||||||
<? if ($rss_href || $write_href) {?>
|
<? if ($rss_href || $write_href) {?>
|
||||||
@ -87,7 +83,7 @@ if ($is_nogood) $colspan++;
|
|||||||
<?
|
<?
|
||||||
for ($i=0; $i<count($list); $i++) {
|
for ($i=0; $i<count($list); $i++) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr<? if ($list[$i]['is_notice']) echo " class=\"board_notice\"";?>>
|
||||||
<td class="td_bignum">
|
<td class="td_bignum">
|
||||||
<?
|
<?
|
||||||
if ($list[$i]['is_notice']) // 공지사항
|
if ($list[$i]['is_notice']) // 공지사항
|
||||||
@ -99,22 +95,22 @@ for ($i=0; $i<count($list); $i++) {
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<? if ($is_checkbox) { ?><td><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
<? if ($is_checkbox) { ?><td><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="이 게시물 선택"></td><? } ?>
|
||||||
<td>
|
<td class="td_subject">
|
||||||
<?
|
<?
|
||||||
echo $list[$i]['reply'];
|
echo $list[$i]['reply'];
|
||||||
echo $list[$i]['icon_reply'];
|
echo $list[$i]['icon_reply'];
|
||||||
if ($is_category && $list[$i]['ca_name']) {
|
if ($is_category && $list[$i]['ca_name']) {
|
||||||
echo '<a href="'.$list[$i]['ca_name_href'].'">'.$list[$i]['ca_name'].'</a>';
|
?>
|
||||||
}
|
<a href="'.$list[$i]['ca_name_href'].'" class="board_cate_link"><?=$list[$i]['ca_name']?></a>
|
||||||
|
<? } ?>
|
||||||
|
|
||||||
if ($list[$i]['is_notice'])
|
<a href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?>
|
||||||
echo '<a href="'.$list[$i]['href'].'">'.$list[$i]['subject'].'</a>';
|
|
||||||
else
|
|
||||||
echo '<a href="'.$list[$i]['href'].'">'.$list[$i]['subject'].'</a>';
|
|
||||||
|
|
||||||
if ($list[$i]['comment_cnt'])
|
<? if ($list[$i]['comment_cnt']) { ?><?=$list[$i]['comment_cnt'];?><? } ?>
|
||||||
echo '<a href="'.$list[$i]['comment_href'].'">'.$list[$i]['comment_cnt'].'</a>';
|
|
||||||
|
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<?
|
||||||
// if ($list[$i]['link']['count']) { echo '['.$list[$i]['link']['count']}.']'; }
|
// if ($list[$i]['link']['count']) { echo '['.$list[$i]['link']['count']}.']'; }
|
||||||
// if ($list[$i]['file']['count']) { echo '<'.$list[$i]['file']['count'].'>'; }
|
// if ($list[$i]['file']['count']) { echo '<'.$list[$i]['file']['count'].'>'; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user