사용자: 최근게시물 스타일 완료

This commit is contained in:
whitedot
2013-01-23 17:23:27 +09:00
parent 82efe22527
commit f0413606bc
3 changed files with 14 additions and 9 deletions

View File

@ -1,8 +1,10 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if ($lt_margin == 0) $lt_style = "style=\margin-left:20px\"";
?>
<div class="lt">
<div class="lt" <?=$lt_style?>>
<?=$lt_margin?>
<strong class="lt_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++) { ?>
@ -14,10 +16,11 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
echo "<strong>".$list[$i]['subject']."</strong>";
else
echo $list[$i]['subject'];
echo "</a>";
if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\">".$list[$i]['comment_cnt']."</a>";
echo " <span class=\"cnt_cmt\">".$list[$i]['comment_cnt']."</span>";
echo "</a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }