댓글 사용 여부에 따라 댓글 수 출력 및 admin인 경우 작성자 표시로 수정
This commit is contained in:
@ -254,7 +254,9 @@ $bo_mobile_gallery_height = isset($board['bo_mobile_gallery_height']) ? $board[
|
||||
|
||||
|
||||
<ul class="gallery-item-info gallery-item-info-sub">
|
||||
<span class="prof_tiny_name font-B"><?php echo $list[$i]['name'] ?> </span>
|
||||
<?php if($is_admin) { ?>
|
||||
<span class="prof_tiny_name font-B"><?php echo $list[$i]['name'] ?> </span>
|
||||
<?php } ?>
|
||||
<?php echo passing_time($list[$i]['wr_datetime']) ?>
|
||||
<?php if($list[$i]['ca_name']) { ?>
|
||||
<?php echo $list[$i]['ca_name'] ?>
|
||||
|
||||
@ -92,10 +92,12 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
<span><?php echo number_format($view['wr_hit']); ?></span>
|
||||
</dd>
|
||||
|
||||
<?php if ($board['bo_use_comment'] ) { ?>
|
||||
<dd>
|
||||
<i><img src="<?php echo $board_skin_url ?>/img/ico_comm.svg"></i>
|
||||
<span><?php echo number_format($view['wr_comment']); ?></span>
|
||||
</dd>
|
||||
<?php } ?>
|
||||
|
||||
</li>
|
||||
|
||||
@ -392,7 +394,9 @@ add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0
|
||||
|
||||
<?php
|
||||
// 코멘트 입출력
|
||||
include_once(G5_BBS_PATH.'/view_comment.php');
|
||||
if ($board['bo_use_comment'] ) {
|
||||
include_once(G5_BBS_PATH.'/view_comment.php');
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user