0 ? true : false;
if($list_item['wr_type'] == 'UPLOAD') {
// Upload 형태로 로그를 등록 하였을 때
$thumb = get_mmb_image($bo_table, $list_item['wr_id']);
$image_url = '';
$image_width = $thumb['width'];
$image_height = $thumb['height'];
} else if($list_item['wr_type'] == 'URL') {
// URL 형태로 로그를 등록 하였을 때
$image_url = '
';
$image_width = $list_item['wr_width'];
$image_height = $list_item['wr_height'];
}
$log_class = '';
$blind_class ='';
$h_class = '';
// 멤버공개 데이터일 시
$is_viewer = true;
$data_width = 300;
$no_member_class = '';
if($list_item['wr_secret'] == '1' && !$is_member) {
$is_viewer = false;
$no_member_class = ' empty ';
} else {
$data_width = $image_width < 300 ? 300 : $image_width;
}
if($is_viewer) {
// 접기 여부 설정
if($board['bo_gallery_height'] && ($image_height >= $board['bo_gallery_height'] || $list_item['wr_plip'] == '1')) {
if(G5_IS_MOBILE) {
$log_class .= "ui-slide-mobile";
if($list_item['wr_type'] == 'UPLOAD') {
$thumb = get_list_thumbnail($bo_table, $list_item['wr_id'], $image_width, 200, true, true);
$ori = explode("/", $thumb['ori']);
$ori = $ori[count($ori) -1];
$image_url = '';
$image_url .= '
';
$image_url .= '';
$image_width = $thumb['width'];
$image_height = $thumb['height'];
} else if($list_item['wr_type'] == 'URL') {
$image_url = '';
$image_url .= '
';
$image_url .= '';
}
} else {
$log_class .= "ui-slide";
}
}
// 블라인드 (19금 필터링) 여부 설정
if($list_item['wr_adult'] == '1') {
$blind_class = "ui-blind";
}
// 리플 아래로 내리기 여부 설정
if($list_item['wr_wide'] == '1') {
$h_class = "ui-wrap";
}
}
// 알람 내역이 있을 경우, 확인으로체크
sql_query("update {$g5['call_table']} set bc_check = 1 where re_mb_id = '{$member['mb_id']}' and bo_table ='{$bo_table}' and wr_id = '{$list_item['wr_id']}'");
?>
// 로그 넘버링 출력 ?> No. =($list_item['wr_num'] * -1)?> if($list_item['ca_name']){ // 카테고리 출력 ?> =$list_item['ca_name']?> } ?> if($list_item['wr_adult']) { // 19금 필터링 마크 ?> ■ } ?>
if($is_viewer) { // 보기 권한이 존재 할 경우 (멤버의 경우) // -- 버튼 영역 출력 if ($delete_href) { ?>삭제 } ?> 로그링크 if ($update_href) { ?>수정 } ?> } ?>