5.3 버전 내용 적용
This commit is contained in:
41
theme/basic/mobile/skin/latest/shop_basic/latest.skin.php
Normal file
41
theme/basic/mobile/skin/latest/shop_basic/latest.skin.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?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>게시물이 없습니다.</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
12
theme/basic/mobile/skin/latest/shop_basic/style.css
Normal file
12
theme/basic/mobile/skin/latest/shop_basic/style.css
Normal file
@ -0,0 +1,12 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 최근게시물 스킨 (latest) */
|
||||
.lt {position:relative;margin:40px 10px 20px;text-align:center}
|
||||
.lt h2{text-align:center;font-size:1.25em;display:inline-block;padding-bottom:5px;margin: 0 0 10px;border-bottom:2px solid #000;}
|
||||
.lt ul {margin:0 0 10px;padding:0;list-style:none;border-bottom:1px solid #ccc}
|
||||
.lt li{text-align:left;background:#fff;margin:0 0 1px;padding:10px }
|
||||
.lt a {display:block;padding:5px 0;color:#000;text-decoration:none}
|
||||
.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}
|
||||
Reference in New Issue
Block a user