사용자: 최신글 스킨
This commit is contained in:
13
css/def.css
13
css/def.css
@ -82,7 +82,7 @@ h6 {margin:0 0 20px}
|
||||
#hdsch_submit {position:relative;margin-left:-5px}
|
||||
|
||||
/* 사이드 네비게이션: 아웃로그인, 설문조사 등 */
|
||||
#snb {position:absolute;top:150px;right:50px;font-family:"verdana","dotum"}
|
||||
#snb {position:absolute;top:162px;right:50px;font-family:"verdana","dotum"}
|
||||
#snb ul {margin:0;padding:0;list-style:none}
|
||||
|
||||
/* 아웃로그인 */
|
||||
@ -202,6 +202,15 @@ h6 {margin:0 0 20px}
|
||||
|
||||
.readonly {background:#ff3061}
|
||||
|
||||
/* 최신글 */
|
||||
.latest {clear:both;margin-bottom:30px;padding:20px;border:1px solid #eee;font-size:0.8em}
|
||||
.latest strong {display:block;float:left;margin-top:5px;width:200px}
|
||||
.latest ul {float:left;margin:0;padding:0;list-style:none}
|
||||
.latest li a {display:inline-block;padding:4px 0}
|
||||
.latest p {padding:0}
|
||||
.latest_more {clear:both;text-align:right}
|
||||
.latest_more a {display:inline-block;padding:5px 0}
|
||||
|
||||
/* 테이블 항목별 정의 */
|
||||
.td_group {width:100px;text-align:center}
|
||||
.td_board {width:120px;text-align:center}
|
||||
@ -287,7 +296,7 @@ h6 {margin:0 0 20px}
|
||||
#memo_write textarea {height:100px}
|
||||
|
||||
/* pagination */
|
||||
.pg {margin-bottom:30px;font-size:0.875em;text-align:center}
|
||||
.pg {clear:both;margin-bottom:30px;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_page {text-decoration:none}
|
||||
.pg_current {font-weight:normal}
|
||||
@ -377,7 +377,7 @@ function get_list($write_row, $board, $skin_path, $subject_len=40)
|
||||
$list['file'] = get_file($board['bo_table'], $list['wr_id']);
|
||||
|
||||
if ($list['file']['count'])
|
||||
$list['icon_file'] = '<img src="'.$skin_path.'/img/icon_file.gif" alt="관련링크">';
|
||||
$list['icon_file'] = '<img src="'.$skin_path.'/img/icon_file.gif" alt="첨부파일">';
|
||||
|
||||
return $list;
|
||||
}
|
||||
@ -911,7 +911,7 @@ function get_sideview($mb_id, $name='', $email='', $homepage='')
|
||||
//$height = $size['1'];
|
||||
$width = $config['cf_member_icon_width'];
|
||||
$height = $config['cf_member_icon_height'];
|
||||
$tmp_name = '<img src="'.$icon_file.'" width="'.$width.'" height="'.$height.'" border="0" alt="첨부파일">';
|
||||
$tmp_name = '<img src="'.$icon_file.'" width="'.$width.'" height="'.$height.'" border="0" alt="">';
|
||||
|
||||
if ($config['cf_use_member_icon'] == 2) // 회원아이콘+이름
|
||||
$tmp_name = $tmp_name . ' <span class="member">'.$name.'</span>';
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div>
|
||||
<div class="latest">
|
||||
<strong><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
@ -30,9 +30,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
</li>
|
||||
<? } ?>
|
||||
<? if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<li>게시물이 없습니다.</li>
|
||||
<? } ?>
|
||||
</ul>
|
||||
<a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>">더보기</a>
|
||||
</div>
|
||||
<? if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<p>게시물이 없습니다.</p>
|
||||
<? } ?>
|
||||
<div class="latest_more"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>">더보기</a></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user