Execute("select products_image from " . TABLE_PRODUCTS . " where products_id = '" . (int)$product_id . "'"); return $product_image->fields['products_image']; } function uuant_info_image($image, $alt, $width = '', $height = '') { if (zen_not_null($image) && (file_exists(DIR_FS_CATALOG . DIR_WS_IMAGES. $image)) ) { $image = zen_image(DIR_WS_IMAGES . $image, $alt, $width, $height); } else { $image = TEXT_IMAGE_NONEXISTENT; } return $image; } ?>