diff --git a/adm/shop_admin/categoryform.php b/adm/shop_admin/categoryform.php index 63903bc63..101f7e325 100644 --- a/adm/shop_admin/categoryform.php +++ b/adm/shop_admin/categoryform.php @@ -297,15 +297,19 @@ $pg_anchor .= ''; 삭제"; - $himg_str = ""; - //$size = getimagesize($himg); - //echo ""; - //echo ""; - } + if (file_exists($himg)) { ?> + + + + + + $himg_str"; } ?> @@ -315,16 +319,21 @@ $pg_anchor .= ''; 삭제"; - $timg_str = ""; - //$size = getimagesize($timg); - //echo "삭제"; - //echo ""; - } + $timg_str = ""; + $timg = "{$category_path}/{$ca['ca_id']}_t"; + if (file_exists($timg)) { ?> + + + + + + $timg_str"; } ?> @@ -391,6 +400,41 @@ $pg_anchor .= '';