list page 와 view page 에서의 목록보기 문제 채택완료
안녕하세요..고수님들
아래 두 개의 그림은 각각 list page에서 보여지는 목록과 view page에서 보여지는 목록인데 서로 다릅니다. 포인트 출력이 list page에서는 안 됩니다..
어디가 잘 못 된 것일까요?? 도움 좀 부탁드립니다.

================================================================

// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0);
// 헤드스킨 $head_class = ''; if(isset($boset['hskin']) && $boset['hskin']) { add_stylesheet('', 0); } else { $head_class = (isset($boset['hcolor']) && $boset['hcolor']) ? ' border-'.$boset['hcolor'] : ' border-black'; }
// 숨김설정 $is_num = (isset($boset['lnum']) && $boset['lnum']) ? false : true; $is_name = (isset($boset['lpoint']) && $boset['lpoint']) ? false : true; $is_name = (isset($boset['lname']) && $boset['lname']) ? false : true; $is_date = (isset($boset['ldate']) && $boset['ldate']) ? false : true; $is_hit = (isset($boset['lhit']) && $boset['lhit']) ? false : true; $is_vicon = (isset($boset['vicon']) && $boset['vicon']) ? false : true;
// 보임설정 $is_category = (isset($boset['lcate']) && $boset['lcate']) ? true : false; $is_thumb = (isset($boset['lthumb']) && $boset['lthumb']) ? true : false; $is_down = (isset($boset['ldown']) && $boset['ldown']) ? true : false; $is_visit = (isset($boset['lvisit']) && $boset['lvisit']) ? true : false; $is_good = (isset($boset['lgood']) && $boset['lgood']) ? true : false; $is_nogood = (isset($boset['lnogood']) && $boset['lnogood']) ? true : false;
// 포토 $fa_photo = (isset($boset['ficon']) && $boset['ficon']) ? apms_fa($boset['ficon']) : '';
// 날짜 $is_dtype = (isset($boset['dtype']) && $boset['dtype']) ? $boset['dtype'] : 'Y.m.d'; $is_dtxt = (isset($boset['dtxt']) && $boset['dtxt']) ? true : false;
// 출력설정 $num_notice = ($is_thumb) ? '*' : '';
?>
//아이콘 체크
$wr_icon = '';
$is_lock = false;
if ($list[$i]['icon_secret'] || $list[$i]['is_lock']) {
$wr_icon = '';
$is_lock = true;
} else if ($list[$i]['icon_hot']) {
$wr_icon = '';
} else if ($list[$i]['icon_new']) {
$wr_icon = '';
} else if ($list[$i]['icon_video']) {
$wr_icon = '';
} else if ($list[$i]['icon_image']) {
$wr_icon = '';
} else if ($list[$i]['icon_file']) {
$wr_icon = '';
} // 공지, 현재글 스타일 체크
$li_css = '';
if ($list[$i]['is_notice']) { // 공지사항
$li_css = ' bg-light';
$list[$i]['num'] = $num_notice;
$list[$i]['ca_name'] = '';
$list[$i]['subject'] = ''.$list[$i]['subject'].'';
$wr_icon = ($is_thumb) ? '' : '[알림]';
} else {
if($is_category && $list[$i]['ca_name']) {
$list[$i]['subject'] = '['.$list[$i]['ca_name'].'] '.$list[$i]['subject'];
}
if ($wr_id == $list[$i]['wr_id']) {
$li_css = ' bg-light';
$list[$i]['num'] = '열람중';
$list[$i]['subject'] = ''.$list[$i]['subject'].'';
}
} // 링크이동
$list[$i]['target'] = '';
if($is_link_target && !$list[$i]['is_notice'] && $list[$i]['wr_link1']) {
$list[$i]['target'] = $is_link_target;
$list[$i]['href'] = $list[$i]['link_href'][1];
} ?>
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인
$point = empty($list[$i]['as_down'])? $board['bo_download_point'] : $list[$i]['as_down'];
이렇게 두 군데를 수정했습니다..덕분입니다.