리빌더 부분 추가
This commit is contained in:
42
theme/rb.basic/mobile/skin/latest/shop_basic/latest.skin.php
Normal file
42
theme/rb.basic/mobile/skin/latest/shop_basic/latest.skin.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<div class="lt">
|
||||
<h2><a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>"><?php echo $bo_subject ?></a></h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
<?php
|
||||
//echo $list[$i]['icon_reply']." ";
|
||||
echo "<a href=\"".$list[$i]['href']."\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<strong>".$list[$i]['subject']."</strong>";
|
||||
else
|
||||
echo $list[$i]['subject'];
|
||||
|
||||
if ($list[$i]['comment_cnt'])
|
||||
|
||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
|
||||
|
||||
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
|
||||
//if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
|
||||
//if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
|
||||
//if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
||||
//if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
||||
|
||||
echo "</a>";
|
||||
|
||||
?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if (count($list) == 0) { //게시물이 없을 때 ?>
|
||||
<li class="empty_li">게시물이 없습니다.</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<a href="<?php echo G5_BBS_URL ?>/board.php?bo_table=<?php echo $bo_table ?>" class="more_btn"><span class="sound_only"><?php echo $bo_subject ?></span>전체보기</a>
|
||||
</div>
|
||||
14
theme/rb.basic/mobile/skin/latest/shop_basic/style.css
Normal file
14
theme/rb.basic/mobile/skin/latest/shop_basic/style.css
Normal file
@ -0,0 +1,14 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 최근게시물 스킨 (latest) */
|
||||
.lt {position:relative;margin:40px 10px 20px;border:1px solid #dde7e9;background:#fff;position:relative}
|
||||
.lt h2{font-size:1.25em;padding:10px 15px;line-height:27px;border-bottom:1px solid #e8e8e8;margin:0;text-align:left}
|
||||
.lt ul {margin:0 0 10px;padding:0 15px;list-style:none}
|
||||
.lt li{text-align:left;margin:0 0 1px;line-height:40px;;border-top:1px solid #e5ecee}
|
||||
.lt li:first-child{border-top:0}
|
||||
.lt li i{color:#9da4bc}
|
||||
.lt li .fa-heart{color:#ff0000}
|
||||
.lt li .new_icon{display:inline-block;padding: 0 3px;line-height:15px ;font-size:0.92em;color:#fff;background:#c56bed}
|
||||
.lt li .cnt_cmt{color:#48a3d5}
|
||||
.lt .empty_li {text-align:center;padding:50px 0;color:#555}
|
||||
.lt .more_btn {position:absolute;top:10px;right:10px;line-height:25px;border:1px solid #d1d7e5;padding:0 8px;border-radius:3px;color:#3a8afd;}
|
||||
Reference in New Issue
Block a user