5.4 버전 내용 적용
BIN
theme/basic/mobile/skin/latest/comment/img/icon_file.gif
Normal file
|
After Width: | Height: | Size: 197 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_hot.gif
Normal file
|
After Width: | Height: | Size: 319 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_img.gif
Normal file
|
After Width: | Height: | Size: 317 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_link.gif
Normal file
|
After Width: | Height: | Size: 319 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_lock.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_mobile.gif
Normal file
|
After Width: | Height: | Size: 339 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_more.gif
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_movie.gif
Normal file
|
After Width: | Height: | Size: 110 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_new.gif
Normal file
|
After Width: | Height: | Size: 71 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_reply.gif
Normal file
|
After Width: | Height: | Size: 77 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_secret.gif
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_sound.gif
Normal file
|
After Width: | Height: | Size: 113 B |
BIN
theme/basic/mobile/skin/latest/comment/img/icon_view.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
theme/basic/mobile/skin/latest/comment/img/more-btn.gif
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
theme/basic/mobile/skin/latest/comment/img/more_bg.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
33
theme/basic/mobile/skin/latest/comment/latest.skin.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<div class="cm_lt">
|
||||
<h2 class="cm_lt_title"><a href="<?php echo get_pretty_url($bo_table); ?>">최신댓글</a></h2>
|
||||
<ul>
|
||||
<?php
|
||||
$count = count($list);
|
||||
for ($i=0; $i<$count; $i++) {
|
||||
?>
|
||||
<li>
|
||||
<span class="cm_lt_nick"><?php echo get_member_profile_img($member['mb_id']); ?></span>
|
||||
<div class="cm_lt_info">
|
||||
<a href="<?php echo $list[$i]['href']; ?>" class="over"><?php echo $list[$i]['subject']; ?></a>
|
||||
<br>
|
||||
<span class="lt_nick"><?php echo $list[$i]['name'] ?></span>
|
||||
<span class="lt_date"><?php echo $list[$i]['datetime2'] ?></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
|
||||
if($i ==0)
|
||||
echo '<li class="empty_li">게시물이 없습니다.</li>'.PHP_EOL;
|
||||
?>
|
||||
</ul>
|
||||
<a href="<?php echo get_pretty_url($bo_table); ?>" class="lt_more"><span class="sound_only"><?php echo $bo_subject ?></span>더보기</a>
|
||||
|
||||
</div>
|
||||
26
theme/basic/mobile/skin/latest/comment/style.css
Normal file
@ -0,0 +1,26 @@
|
||||
@charset "utf-8";
|
||||
/* 새글 스킨 (cm_ltest) */
|
||||
|
||||
.cm_lt {position:relative;margin-bottom:20px;overflow:hidden;background:#fff;border:1px solid #dde7e9;border-radius:3px}
|
||||
.cm_lt .cm_lt_title {display:block;padding:0 20px;line-height:45px;font-size:1.083em;border-bottom:1px solid #e2e2e2;color:#253dbe;background:#fcfcfc}
|
||||
.cm_lt .cm_lt_title a {position:recm_ltive;color:#000;display:inline-block}
|
||||
|
||||
.cm_lt ul {padding:10px 15px}
|
||||
.cm_lt li {position:relative;line-height:18px;border-bottom:1px solid #e5ecee;margin-bottom:10px;padding:10px 0}
|
||||
.cm_lt li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.cm_lt li:last-child {border-bottom:0;margin-bottom:0}
|
||||
.cm_lt li a:hover {color:#3a8afd}
|
||||
|
||||
.cm_lt_nick {float:left}
|
||||
.cm_lt_nick img {border-radius:50%;width:35px;height:35px;margin-right:10px}
|
||||
.cm_lt_info {float:left;width:158px}
|
||||
.cm_lt_info .lt_nick {}
|
||||
.cm_lt_info .lt_date {color:#888}
|
||||
.cm_lt_info a {line-height:18px;display:inline-block;font-weight:bold;width:100%;max-height:50px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
||||
|
||||
.cm_lt .empty_li {line-height:145px ;color:#666;text-align:center;padding:0}
|
||||
.cm_lt .empty_li:before {background:none;padding:0}
|
||||
|
||||
.cm_lt .lt_cmt {color:#3a8afd;font-size:11px;padding:0 5px;font-weight:bold}
|
||||
.cm_lt .lt_more {position:absolute;top:11px;right:20px;display:block;width:40px;line-height:25px;color:#3a8afd;border-radius:3px;text-align:center}
|
||||
.cm_lt .lt_more:hover {color:#777}
|
||||