사용자: 게시판스킨 목록 작업 중
This commit is contained in:
57
css/def.css
57
css/def.css
@ -19,6 +19,7 @@ tfoot td {background:#f9f9f5;font-weight:bold;text-align:center}
|
||||
caption {padding:0 0 10px;text-align:left}
|
||||
.caption_desc {font-size:0.75em}
|
||||
th {padding:12px 0 8px;border-top:3px solid #666;border-bottom:1px solid #a9a9a9;font-size:0.8em}
|
||||
th a {color:#000;text-decoration:none}
|
||||
td {padding:10px 0;border-top:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;font-size:0.75em}
|
||||
.empty_table {padding:50px 0;text-align:center}
|
||||
|
||||
@ -240,28 +241,17 @@ h6 {margin:0 0 20px}
|
||||
.sch_sideview {display:inline-block;font-size:0.75em}
|
||||
.sch_datetime {font-size:0.75em}
|
||||
|
||||
/* 새창 공통 */
|
||||
.new_win h1 {padding:10px 30px;background:#393936;color:#fff;font-size:1.2em}
|
||||
.new_win h1 a {color:#fff;text-decoration:none}
|
||||
.new_win article h1 {background:transparent;color:#000}
|
||||
.new_win article h1 a {color:#000;text-decoration:none}
|
||||
.new_win h2 {font-size:1em}
|
||||
.new_win table {margin:0 auto 30px;width:90%}
|
||||
.new_win fieldset {margin:0 auto 30px;width:90%}
|
||||
.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.8em;list-style:none;zoom:1}
|
||||
.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:10px;border-right:1px solid #eee;border-left:1px solid #eee;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none}
|
||||
.new_win_ul a:hover,
|
||||
.new_win_ul a:focus {background:#faf9f5}
|
||||
|
||||
/* 포인트 내역 */
|
||||
#point p {text-align:center}
|
||||
#point .td_datetime {width:150px}
|
||||
|
||||
/* 쪽지 */
|
||||
|
||||
/* 스크랩 */
|
||||
/* 게시판 목록 */
|
||||
#board_list caption {padding:0;height:0;overflow:hidden}
|
||||
.btn_board {margin-bottom:10px;zoom:1}
|
||||
.btn_board:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.btn_board ul {margin:0;padding:0;list-style:none}
|
||||
.btn_board_user {float:right}
|
||||
.btn_board_user li {float:left}
|
||||
.btn_board_user a {display:block;margin-left:10px}
|
||||
.btn_board_adm {float:left}
|
||||
.btn_board_adm li {float:left}
|
||||
.btn_board_adm a {display:block;margin-right:5px}
|
||||
|
||||
/* 우편번호 검색 */
|
||||
#post_num dl {margin:0 auto 10px;padding:0;width:90%}
|
||||
@ -290,6 +280,29 @@ h6 {margin:0 0 20px}
|
||||
#password_confirm legend {margin:0;padding:0;width:0;height:0;border:0;overflow:hidden}
|
||||
#password_confirm p {margin-bottom:20px;font-size:0.75em}
|
||||
|
||||
/* 새창 공통 */
|
||||
.new_win h1 {padding:10px 30px;background:#393936;color:#fff;font-size:1.2em}
|
||||
.new_win h1 a {color:#fff;text-decoration:none}
|
||||
.new_win article h1 {background:transparent;color:#000}
|
||||
.new_win article h1 a {color:#000;text-decoration:none}
|
||||
.new_win h2 {font-size:1em}
|
||||
.new_win table {margin:0 auto 30px;width:90%}
|
||||
.new_win fieldset {margin:0 auto 30px;width:90%}
|
||||
.new_win_ul {margin:-30px 0 20px 0;padding:0 0 0 30px;border-bottom:1px solid #ddd;background:#fff;font-size:0.8em;list-style:none;zoom:1}
|
||||
.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:10px;border-right:1px solid #eee;border-left:1px solid #eee;color:#595959;font-family:"dotum";font-size:0.875em;font-weight:bold;text-decoration:none}
|
||||
.new_win_ul a:hover,
|
||||
.new_win_ul a:focus {background:#faf9f5}
|
||||
|
||||
/* 포인트 내역 */
|
||||
#point p {text-align:center}
|
||||
#point .td_datetime {width:150px}
|
||||
|
||||
/* 쪽지 */
|
||||
|
||||
/* 스크랩 */
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail textarea {height:100px}
|
||||
|
||||
|
||||
@ -11,18 +11,9 @@ if ($is_nogood) $colspan++;
|
||||
|
||||
<? if (!$wr_id) {?><h1><?=$g4['title']?></h1><?}?>
|
||||
|
||||
<? if ($admin_href) { ?><div id="bo_admin_btn"><a href="<?=$admin_href?>">관리자 바로가기</a></div><?}?>
|
||||
<? if ($admin_href) { ?><div id="btn_board_adm"><a href="<?=$admin_href?>">관리자 바로가기</a></div><?}?>
|
||||
|
||||
<div>
|
||||
<? if ($is_category) { ?>
|
||||
<form 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>
|
||||
<? } ?>
|
||||
|
||||
<form name="fsearch" method="get">
|
||||
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
|
||||
<input type="hidden" name="sca" value="<?=$sca?>">
|
||||
@ -40,22 +31,35 @@ if ($is_nogood) $colspan++;
|
||||
<option value="wr_name,0">글쓴이(코)</option>
|
||||
</select>
|
||||
<label for="stx">검색어</label>
|
||||
<input id="stx" name="stx" maxlength="15" required value="<?=stripslashes($stx)?>">
|
||||
<input id="stx" name="stx" class="fieldset_input required" maxlength="15" required value="<?=stripslashes($stx)?>">
|
||||
<input type="radio" id="sop_and" name="sop" value="and">
|
||||
<label for="sop_and">and</label>
|
||||
<input type="radio" id="sop_or" name="sop" value="or">
|
||||
<label for="sop_or">or</label>
|
||||
<input type="submit" value="검색">
|
||||
<input type="submit" class="fieldset_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<? if ($rss_href || $write_href) {?>
|
||||
<ul>
|
||||
<? if ($rss_href) { ?><li><a href="<?=$rss_href?>">RSS</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>">글쓰기</a></li><? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
<div class="btn_board">
|
||||
<? if ($rss_href || $write_href) {?>
|
||||
<ul class="btn_board_user">
|
||||
<? if ($rss_href) { ?><li><a href="<?=$rss_href?>">RSS</a></li><? } ?>
|
||||
<? if ($write_href) { ?><li><a href="<?=$write_href?>">글쓰기</a></li><? } ?>
|
||||
</ul>
|
||||
<? } ?>
|
||||
|
||||
<? if ($is_category) { ?>
|
||||
<div class="cate_board">
|
||||
<form 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>
|
||||
</div>
|
||||
<? } ?>
|
||||
</div>
|
||||
|
||||
<!-- 게시판 목록 시작 -->
|
||||
<form id="fboardlist" name="fboardlist" method="post">
|
||||
@ -65,7 +69,7 @@ if ($is_nogood) $colspan++;
|
||||
<input type="hidden" name="spt" value="<?=$spt?>">
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
<input type="hidden" name="sw" value="">
|
||||
<table>
|
||||
<table id="board_list">
|
||||
<caption><?=$board['bo_subject']?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -84,7 +88,7 @@ if ($is_nogood) $colspan++;
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<td class="td_bignum">
|
||||
<?
|
||||
if ($list[$i]['is_notice']) // 공지사항
|
||||
echo '공지';
|
||||
@ -121,11 +125,11 @@ for ($i=0; $i<count($list); $i++) {
|
||||
if (isset($list[$i]['icon_secret'])) echo $list[$i]['icon_secret'];
|
||||
?>
|
||||
</td>
|
||||
<td><div style="position:relative"><?=$list[$i]['name']?></div></td>
|
||||
<td><?=$list[$i]['datetime2']?></td>
|
||||
<td><?=$list[$i]['wr_hit']?></td>
|
||||
<? if ($is_good) { ?><td><?=$list[$i]['wr_good']?></td><? } ?>
|
||||
<? if ($is_nogood) { ?><td><?=$list[$i]['wr_nogood']?></td><? } ?>
|
||||
<td class="td_name"><div><?=$list[$i]['name']?></div></td>
|
||||
<td class="td_date"><?=$list[$i]['datetime2']?></td>
|
||||
<td class="td_num"><?=$list[$i]['wr_hit']?></td>
|
||||
<? if ($is_good) { ?><td class="td_num"><?=$list[$i]['wr_good']?></td><? } ?>
|
||||
<? if ($is_nogood) { ?><td class="td_num"><?=$list[$i]['wr_nogood']?></td><? } ?>
|
||||
</tr>
|
||||
<?}?>
|
||||
<? if (count($list) == 0) { echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>'; } ?>
|
||||
@ -133,8 +137,8 @@ for ($i=0; $i<count($list); $i++) {
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<div class="btn_board">
|
||||
<ul class="btn_board_adm">
|
||||
<? if ($list_href) { ?>
|
||||
<li><a href="<?=$list_href?>">목록</a></li>
|
||||
<? } ?>
|
||||
@ -145,13 +149,13 @@ for ($i=0; $i<count($list); $i++) {
|
||||
<? } ?>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<ul class="btn_board_user">
|
||||
<li><? if ($write_href) { ?><a href="<?=$write_href?>">글쓰기</a><? } ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 -->
|
||||
<div id="pg">
|
||||
<div class="pg">
|
||||
<? if ($prev_part_href) { echo '<a href="'.$prev_part_href.'">이전검색</a>'; } ?>
|
||||
<?=$write_pages?>
|
||||
<? if ($next_part_href) { echo '<a href="'.$next_part_href.'">다음검색</a>'; } ?>
|
||||
|
||||
Reference in New Issue
Block a user