Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
chicpro
2013-01-23 17:43:06 +09:00
9 changed files with 69 additions and 38 deletions

View File

@ -9,20 +9,20 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<section id="bo_v_info">
<h2>게시물 정보</h2>
<dl>
<div>
<? if ($is_category) { ?>
<dt>분류</dt>
<dd><?=($category_name ? "{$view['ca_name']} " : "");?></dd>
분류
<strong><?=($category_name ? "{$view['ca_name']} " : "");?></strong>
<? } ?>
<dt>작성자</dt>
<dd><div><?=$view['name']?><? if ($is_ip_view) { echo "&nbsp;($ip)"; } ?></div></dd>
<dt>작성일</dt>
<dd><?=date("y-m-d H:i", strtotime($view['wr_datetime']))?></dd>
<dt>조회</dt>
<dd><?=number_format($view['wr_hit'])?>회</dd>
<dt>댓글</dt>
<dd><?=number_format($view['wr_comment'])?>건</dd>
</dl>
작성자
<strong><?=$view['name']?><? if ($is_ip_view) { echo "&nbsp;($ip)"; } ?></strong>
작성일
<strong><?=date("y-m-d H:i", strtotime($view['wr_datetime']))?></strong>
조회
<strong><?=number_format($view['wr_hit'])?>회</strong>
댓글
<strong><?=number_format($view['wr_comment'])?>건</strong>
</div>
</section>
<?
@ -90,7 +90,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<? } ?>
<aside id="bo_v_top">
<h2>게시물 상단 링크</h2>
<h2>게시물 상단 버튼</h2>
<?
ob_start();
?>
@ -145,7 +145,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<aside id="bo_v_bot">
<h2>게시물 하단 링크</h2>
<h2>게시물 하단 버튼</h2>
<? if ($prev_href || $next_href) { ?>
<ul id="bo_v_nb">
<? if ($prev_href) { ?><li><a href="<?=$prev_href?>" class="btn02">이전</a></li><? } ?>

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

View File

@ -1,9 +1,11 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if ($lt_margin == 0) $lt_style = "style=\margin-left:20px\"";
?>
<div class="latest">
<strong class="latest_title"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><?=$board['bo_subject']?></a></strong>
<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++) { ?>
<li>
@ -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']}>"; }
@ -34,5 +37,5 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<? if (count($list) == 0) { //게시물이 없을 때 ?>
<p>게시물이 없습니다.</p>
<? } ?>
<div class="latest_more"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>">더보기</a></div>
<div class="lt_more"><a href="<?=$g4['bbs_path']?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_path?>/img/icon_more.gif" alt=""></a></div>
</div>