$mb['mb_nick'];
닉을 못불러오는거 같습니다
$wset['sideview'] = 1; // 이름 레이어 출력
$list = na_board_rows($wset);
$list_cnt = count($list);
if($is_ajax && !$list_cnt)
exit;
// 랭킹
$rank = na_rank_start($wset['rows'], $wset['page']);
// 새글
$cap_new = ($wset['new']) ? $wset['new'] : 'primary';
// 보드명, 분류명
$is_bo_name = ($wset['bo_name'] == '') ? false : true;
$bo_name = ((int)$wset['bo_name'] > 0) ? $wset['bo_name'] : 0;
// 글 이동
$is_link = false;
switch($wset['target']) {
case '1' : $target = ' target="_blank"'; break;
case '2' : $is_link = true; break;
case '3' : $target = ' target="_blank"'; $is_link = true; break;
default : $target = ''; break;
}
// 리스트
for ($i=0; $i < $list_cnt; $i++) {
// 아이콘 체크
$wr_icon = $wr_tack = $wr_cap = '';
if ($list[$i]['icon_secret']) {
$is_lock = true;
$wr_icon = '<span class="na-icon na-secret"></span>';
}
if ($wset['rank']) {
$wr_tack = '<p class="label-tack rank-icon en bg-'.$wset['rank'].'">'.$rank.'</p>';
$rank++;
}
if($list[$i]['icon_new']) {
$wr_cap = '<span class="label-cap en labelColor">New</span>';
}
// 보드명, 분류명
if($is_bo_name) {
$ca_name = '';
if(isset($list[$i]['bo_subject']) && $list[$i]['bo_subject']) {
$ca_name = ($bo_name) ? cut_str($list[$i]['bo_subject'], $bo_name, '') : $list[$i]['bo_subject'];
} else if($list[$i]['ca_name']) {
$ca_name = ($bo_name) ? cut_str($list[$i]['ca_name'], $bo_name, '') : $list[$i]['ca_name'];
}
if($ca_name) {
$list[$i]['subject'] = $ca_name.' <span class="na-bar"></span> '.$list[$i]['subject'];
}
}
// 링크 이동
if($is_link && $list[$i]['wr_link1']) {
$list[$i]['href'] = $list[$i]['link_href'][1];
}
// 이미지 추출
$img = na_wr_img($list[$i]['bo_table'], $list[$i]);
// 썸네일 생성
$thumb = ($wset['thumb_w']) ? na_thumb($img, $wset['thumb_w'], $wset['thumb_h']) : $img;
?>
<div class="item">
<div class="itemBox">
<a href="<?php echo $list[$i]['href'] ?>" class="ancher" <?php echo $target ?>>
<?php echo $wr_cap ?>
<?php if($thumb) { ?>
<div class="thumb">
<img src="<?php echo $thumb ?>" alt="Image <?php echo $list[$i]['wr_id'] ?>">
</div>
<?php } ?>
<strong class="subject fb_xy">
<?php echo $wr_icon ?>
<?php echo $list[$i]['subject'] ?>
</strong>
<span class="board">
<?php echo $wr_tack ?>
<?php echo $list[$i]['bo_subject'] ?>
</span>
</a>
<div class="itemInfo fb_ewy">
<div class="infoBox">
<?php if($list[$i]['wr_comment']) { ?>
<span class="commentBox">
<i class="fa fa-comment"></i>
<span class="comment"><?php echo $list[$i]['wr_comment']; ?></span>
</span>
<?php } ?>
<div class="dateBox">
<div class="dateText">
<i class="fa fa-calendar-check-o"></i>
<?php echo na_date($list[$i]['wr_datetime'], 'date', 'H:i', 'm.d', 'm.d'); ?>
</div>
</div>
</div>
<div class="userBox">
<?php echo $list[$i]['name'];?>
</div>
</div>
코드는 이렇습니다!