사용자: 최근게시물 공지글 적용
This commit is contained in:
@ -247,7 +247,7 @@ a {color:#000;text-decoration:none}
|
||||
|
||||
/* 최신글 */
|
||||
.latest {clear:both;position:relative;margin-bottom:30px;padding:0 0 20px;border-bottom:1px solid #ccc}
|
||||
.latest strong {display:block;margin-bottom:15px;padding:0 10px 10px;border-bottom:1px solid #eee}
|
||||
.latest_title {display:block;margin-bottom:15px;padding:0 10px 10px;border-bottom:1px solid #eee}
|
||||
.latest ul {margin:0;padding:0;list-style:none}
|
||||
.latest li {padding:0 10px}
|
||||
.latest li a {display:inline-block;padding:4px 0}
|
||||
|
||||
@ -3,7 +3,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<div class="latest">
|
||||
<strong><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<strong class="latest_title"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
|
||||
<ul>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
@ -11,7 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
echo $list[$i]['icon_reply']." ";
|
||||
echo "<a href=\"".$list[$i]['href']."\">";
|
||||
if ($list[$i]['is_notice'])
|
||||
echo "<strong>".$list[$i]['subject']."<strong>";
|
||||
echo "<strong>".$list[$i]['subject']."</strong>";
|
||||
else
|
||||
echo $list[$i]['subject'];
|
||||
echo "</a>";
|
||||
|
||||
Reference in New Issue
Block a user