통합검색 디자인 적용

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2291 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-10 05:16:40 +00:00
parent 978c77ef14
commit c5ef12d0d3
20 changed files with 126 additions and 83 deletions

View file

@ -204,13 +204,8 @@
if(function_exists('imagecreatetruecolor')) $thumb = @imagecreatetruecolor($resize_width, $resize_height);
else $thumb = @imagecreate($resize_width, $resize_height);
if(!function_exists('imagecolortransparent')) {
$white = @imagecolorallocate($thumb, 255,255,255);
@imagefilledrectangle($thumb,0,0,$resize_width-1,$resize_height-1,$white);
} else {
$trans = @imagecolorat($thumb, 1,1);
@imagecolortransparent($thumb, $trans);
}
$white = @imagecolorallocate($thumb, 255,255,255);
@imagefilledrectangle($thumb,0,0,$resize_width-1,$resize_height-1,$white);
// 이미지 정보가 정해진 크기보다 크면 크기를 바꿈 (%를 구해서 처리)
if($resize_width>0 && $width > $resize_width) $width_per = $resize_width / $width;