관리자 글현황 추가 및 기타 오류 수정

This commit is contained in:
chicpro committed 2015-08-28 11:42:25 +09:00
1 parent 82c12f6d98
commit 84009dc16c
84 files changed
+29584 -16

No files matched your search

+5 -1
View File
@@ -59,15 +59,19 @@ function get_list_thumbnail($bo_table, $wr_id, $thumb_width, $thumb_height, $is_
if($tname) {
if($edt) {
// 오리지날 이미지
$ori = G5_URL.$data_path;
// 썸네일 이미지
$src = G5_URL.str_replace($filename, $tname, $data_path);
} else {
$ori = G5_DATA_URL.'/file/'.$bo_table.'/'.$filename;
$src = G5_DATA_URL.'/file/'.$bo_table.'/'.$tname;
}
} else {
return false;
}
$thumb = array("src"=>$src, "alt"=>$alt);
$thumb = array("src"=>$src, "ori"=>$ori, "alt"=>$alt);
return $thumb;
}