get_image 함수에서 border 속성 제거

This commit is contained in:
chicpro
2013-04-11 18:06:41 +09:00
parent 107d9f05d5
commit 3638ade1ec

View File

@ -28,11 +28,11 @@ function get_image($img, $width=0, $height=0)
$width = $size[0];
$height = $size[1];
}
$str = "<img id=\"$img\" src=\"".G4_DATA_URL."/item/$img\" width=\"$width\" height=\"$height\" border=\"0\">";
$str = "<img id=\"$img\" src=\"".G4_DATA_URL."/item/$img\" width=\"$width\" height=\"$height\">";
}
else
{
$str = "<img id=\"$img\" src=\"".G4_SHOP_URL."/img/no_image.gif\" border=\"0\" ";
$str = "<img id=\"$img\" src=\"".G4_SHOP_URL."/img/no_image.gif\" ";
if ($width)
$str .= "width=\"$width\" height=\"$height\"";
else