', 0);
add_javascript('', 0);
}
add_stylesheet('', 0);
include_once G5_LIB_PATH . '/thumbnail.lib.php';
$au_type = $board['bo_1'] ? $board['bo_1'] : '오리지널';
$slide_space = 10;
$margin = "5px";
$slide_loop = ($board['bo_3']) ? 'true' : 'false';
$width = $board['bo_table_width'] == 0 ? "100%" : (isset($width) ? $width : "0");
$cate = array();
$lists = array();
if ($board['bo_content_head']) { ?>
= stripslashes($board['bo_content_head']); ?>
0 && $h == count($cate))
continue;
$list_item = sql_query("select * from {$write_table} where wr_reply='' and wr_is_comment=0 order by wr_10*1 desc, wr_num");
for ($k = 0; $row = sql_fetch_array($list_item); $k++) {
$lists[$k] = get_list($row, $board, $board_skin_url);
}
?>
= $cate[$h] ?>
0) {
foreach ($lists as &$_category) {
if ($is_category) {
if (($board['bo_4'] == '1' && $_category['ca_name'] != $cate[$h]) || (!$board['bo_4'] && $sca && $_category['ca_name'] != $sca))
continue;
}
if ($_category['wr_file'] > 0) {
if ($_category['wr_8'] == 'wr_1' || $_category['wr_8'] == '') {
if ($_category['wr_width'] == '0')
$position = "center top";
else
$position = "-" . $_category['wr_width'] . "px 0";
$thumb_img = get_list_thumbnail($bo_table, $_category['wr_id'], 0, $board['bo_gallery_height'], true, true, 'custom', false, '', $_category['wr_height']);
if ($thumb_img['src'])
$thumb = $thumb_img['src'];
else
$thumb = "";
} else {
$idx = $_category['wr_8'];
$thumb = $_category[$idx];
$position = "center";
}
} else {
$thumb = "";
}
$_list_class = $board['bo_4'] == 2 ? 'swiper-slide' : 'bo-list';
$_list_style = $board['bo_4'] < 2 ? "width: " . ($board['bo_gallery_width'] + ($margins[0] * 2)) . "px; margin: {$margin};" : "";
$_link_style = $board['bo_4'] < 2 ? "width: {$board['bo_gallery_width']}px; height: {$board['bo_gallery_height']}px; background-image: url({$thumb}); background-repeat: no-repeat; background-position: {$position}; background-size: cover;" : "";
?>
-
= strstr($_category['wr_option'], 'secret') ? "secret" : ""; ?>"
style="= $_link_style ?>">
= $_category['wr_subject'] ?>
= $_category['wr_type'] ?>