if (trim($view[file][$i][content])) { $m .= $view[file][$i][content] . "<br/><br/>"; } echo $m; $movie_viewer .= $m; } else { if ($view[file][$i][view]) { if (is_g5()) { $view[file][$i][view] = preg_replace("/<a[^>]+>/i", "", $view[file][$i][view]); $view[file][$i][view] = preg_replace("/<\\/a>/", "", $view[file][$i][view]); } // 원본 강제 리사이징 if ($mw_basic[cf_resize_original]) { if ($view[file][$i][image_width] > $mw_basic[cf_resize_original] || $view[file][$i][image_height] > $mw_basic[cf_resize_original]) { $file = "{$file_path}/{$view[file][$i][file]}"; thumb_log($file, 'resize-original'); mw_make_thumbnail($mw_basic[cf_resize_original], $mw_basic[cf_resize_original], $file, $file, true); if ($mw_basic[cf_watermark_use] && is_mw_file($mw_basic[cf_watermark_path])) { mw_watermark_file($file); } $size = getimagesize($file); $view[file][$i][image_width] = $size[0]; $view[file][$i][image_height] = $size[1]; sql_query("update {$g4['board_file_table']} set bf_width = '{$size['0']}', bf_height = '{$size['1']}',\n bf_filesize = '" . filesize($file) . "'\n where bo_table = '{$bo_table}' and wr_id = '{$wr_id}' and bf_file = '{$view[file][$i][file]}'"); } } // 이미지 크기 조절 if ($board[bo_image_width] < $view[file][$i][image_width]) { $img_width = $board[bo_image_width]; $img_class = " class=\"content-image\" "; } else {
$list_run_time = mw_time_log($list_run_time, "[list] youtube or vimeo"); */ } } else { $thumb_size = @getimagesize($thumb_file); $set_width = $mw_basic[cf_thumb_width]; $set_height = $mw_basic[cf_thumb_height]; if ($mw_basic[cf_thumb_keep]) { //$size = @getimagesize($thumb_file); $size = mw_thumbnail_keep($thumb_size, $set_width, $set_height); $set_width = $size[0]; $set_height = $size[1]; } if ($thumb_size[0]) { if ($thumb_size[0] != $set_width || $thumb_size[1] != $set_height) { thumb_log($thumb_file, 'list-resize'); mw_make_thumbnail($mw_basic[cf_thumb_width], $mw_basic[cf_thumb_height], $thumb_file, $thumb_file, $mw_basic[cf_thumb_keep], $list[$i]['wr_datetime']); $list_run_time = mw_time_log($list_run_time, "[list] resize thumbnail"); } } } if ($mw_basic[cf_social_commerce]) { $a = (include "{$social_commerce_path}/list.skin.php"); if (!$a) { continue; } $list_run_time = mw_time_log($list_run_time, "[list] include /social_commerce/list.skin.php"); } else { if ($mw_basic[cf_talent_market]) { $a = (include "{$talent_market_path}/list.skin.php"); if (!$a) {