} //개별 페이지 접근 불가 // 썸네일 $wset['thumb_w'] = isset($wset['thumb_w']) && $wset['thumb_w'] > 0 ? $wset['thumb_w'] : 400; $wset['thumb_h'] = isset($wset['thumb_h']) && $wset['thumb_h'] > 0 ? $wset['thumb_h'] : 225; $wset['scut'] = isset($wset['scut']) && $wset['scut'] > 0 ? $wset['scut'] : ''; $wset['cut'] = isset($wset['cut']) && $wset['cut'] > 0 ? $wset['cut'] : ''; $wset['ncut'] = isset($wset['ncut']) && $wset['ncut'] > 0 ? $wset['ncut'] : ''; // 추출수 $wset['rows'] = $wset['garo'] * $wset['sero']; // 추출하기 $list = apms_board_rows($wset); $list_cnt = count($list); // 글수 // 높이 $img_height = apms_img_height($wset['thumb_w'], $wset['thumb_h'], 100); // 랭킹 $rank = apms_rank_offset($wset['rows'], $wset['page']); // 라벨 $labels = array(); $label_cnt = 0; if (isset($wset['label']) && $wset['label']) { $labels = apms_label_list($wset); $label_cnt = count($labels); $wset['label_color'] = isset($wset['label_color']) && $wset['label_color'] ? $wset['label_color'] : 'gray'; } // 링크 $is_link = isset($wset['link']) && $wset['link'] ? true : false; // 볼드 $is_bold = isset($wset['bold']) && $wset['bold'] ? ' class="subj-bold"' : ''; // 그림자
<?php if (!defined('_GNUBOARD_')) { exit; } //개별 페이지 접근 불가 //자동높이조절 apms_script('imagesloaded'); apms_script('height'); //add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('<link rel="stylesheet" href="' . $widget_url . '/widget.css" media="screen">', 0); $wset['thumb_w'] = isset($wset['thumb_w']) && $wset['thumb_w'] > 0 ? $wset['thumb_w'] : 400; $wset['thumb_h'] = isset($wset['thumb_h']) && $wset['thumb_h'] > 0 ? $wset['thumb_h'] : 540; $img_h = apms_img_height($wset['thumb_w'], $wset['thumb_h'], '135'); $wset['line'] = isset($wset['line']) && $wset['line'] > 0 ? $wset['line'] : 2; $line_height = 20 * $wset['line']; // 간격 $gap_right = isset($wset['gap']) && ($wset['gap'] > 0 || $wset['gap'] == "0") ? (int) $wset['gap'] : 15; $minus_right = $gap_right > 0 ? '-' . $gap_right : 0; $gap_bottom = isset($wset['gapb']) && ($wset['gapb'] > 0 || $wset['gapb'] == "0") ? (int) $wset['gapb'] : 30; $minus_bottom = $gap_bottom > 0 ? '-' . $gap_bottom : 0; // 가로수 $item = isset($wset['item']) && $wset['item'] > 0 ? (int) $wset['item'] : 4; // 반응형 if (_RESPONSIVE_) { $lg = isset($wset['lg']) && $wset['lg'] > 0 ? $wset['lg'] : 3; $md = isset($wset['md']) && $wset['md'] > 0 ? $wset['md'] : 3; $sm = isset($wset['sm']) && $wset['sm'] > 0 ? $wset['sm'] : 2; $xs = isset($wset['xs']) && $wset['xs'] > 0 ? $wset['xs'] : 2; } // 랜덤아이디
} $wset['thumb_w'] = isset($wset['thumb_w']) && $wset['thumb_w'] > 0 ? $wset['thumb_w'] : 400; $wset['thumb_h'] = isset($wset['thumb_h']) && $wset['thumb_h'] > 0 ? $wset['thumb_h'] : ''; $wset['cut'] = isset($wset['cut']) && $wset['cut'] > 0 ? $wset['cut'] : ''; $wset['ncut'] = isset($wset['ncut']) && $wset['ncut'] > 0 ? $wset['ncut'] : $wset['cut']; $wset['scut'] = isset($wset['scut']) && $wset['scut'] > 0 ? $wset['scut'] : ''; // 추출수 $wset['rows'] = $wset['garo'] * $wset['sero']; // 추출하기 $list = apms_board_rows($wset); $list_cnt = count($list); // 글수 // 이미지 if ($wset['thumb_h']) { $img_wrap = 'wrap'; $img_height = ' style="padding-bottom:' . apms_img_height($wset['thumb_w'], $wset['thumb_h'], 100) . '%;"'; } else { $img_wrap = 'ratio'; $img_height = ''; } // 그림자 $shadow_inner = $shadow_outer = ''; if ($wset['shadow']) { $wset['in'] = isset($wset['in']) && $wset['in'] ? 'inner' : 'outer'; switch ($wset['in']) { case 'inner': $shadow_inner = '<div class="in-shadow">' . apms_shadow($wset['shadow']) . '</div>'; break; case 'outer': $shadow_outer = apms_shadow($wset['shadow']); break;
if (!defined("_GNUBOARD_")) { exit; } // 개별 페이지 접근 불가 //자동높이조절 apms_script('imagesloaded'); apms_script('height'); // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('<link rel="stylesheet" href="' . $list_skin_url . '/style.css" media="screen">', 0); // 버튼컬러 $btn1 = isset($wset['btn1']) && $wset['btn1'] ? $wset['btn1'] : 'black'; $btn2 = isset($wset['btn2']) && $wset['btn2'] ? $wset['btn2'] : 'color'; // 썸네일 $thumb_w = isset($wset['thumb_w']) && $wset['thumb_w'] > 0 ? $wset['thumb_w'] : 400; $thumb_h = isset($wset['thumb_h']) && $wset['thumb_h'] > 0 ? $wset['thumb_h'] : 540; $img_h = apms_img_height($thumb_w, $thumb_h, '135'); $wset['line'] = isset($wset['line']) && $wset['line'] > 0 ? $wset['line'] : 2; $line_height = 20 * $wset['line']; // 간격 $gap_right = isset($wset['gap']) && ($wset['gap'] > 0 || $wset['gap'] == "0") ? (int) $wset['gap'] : 15; $minus_right = $gap_right > 0 ? '-' . $gap_right : 0; $gap_bottom = isset($wset['gapb']) && ($wset['gapb'] > 0 || $wset['gapb'] == "0") ? (int) $wset['gapb'] : 30; $minus_bottom = $gap_bottom > 0 ? '-' . $gap_bottom : 0; // 가로수 $item = isset($wset['item']) && $wset['item'] > 0 ? (int) $wset['item'] : 4; // 반응형 if (_RESPONSIVE_) { $lg = isset($wset['lg']) && $wset['lg'] > 0 ? $wset['lg'] : 3; $md = isset($wset['md']) && $wset['md'] > 0 ? $wset['md'] : 3; $sm = isset($wset['sm']) && $wset['sm'] > 0 ? $wset['sm'] : 2; $xs = isset($wset['xs']) && $wset['xs'] > 0 ? $wset['xs'] : 2;
<?php if (!defined('_GNUBOARD_')) { exit; } // 개별 페이지 접근 불가 // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('<link rel="stylesheet" href="' . $board_skin_url . '/style.css" media="screen">', 0); // 이미지 비율 $thumb_w = $board['bo_' . MOBILE_ . 'gallery_width']; $thumb_h = $board['bo_' . MOBILE_ . 'gallery_height']; $img_h = apms_img_height($thumb_w, $thumb_h); // 이미지 높이 // 너비 $item_w = apms_img_width($board['bo_gallery_cols']); // 간격 $gap_right = $boset['gap_r'] == "" ? 15 : $boset['gap_r']; $gap_bottom = $boset['gap_b'] == "" ? 30 : $boset['gap_b']; $ellipsis = G5_IS_MOBILE ? '' : ' class="ellipsis"'; $ellipsis = $thumb_h > 0 ? $ellipsis : ''; $list_cnt = count($list); ?> <section class="board-list<?php echo G5_IS_MOBILE ? ' font-14' : ''; ?> "> <?php if ($notice_count > 0) { include_once $board_skin_path . '/notice.skin.php';