$value\n"; } return $retVal; } /* Initialize page variables */ if ( !isset($mcatid) || !isset($scatid) || !isset($itemid) ) redirect("error.php"); $mcatname = getMainCatName($mcatid); $mcatname_eng = $mcatname->getname($LANG_ENG); $scatname = getSubCatName($scatid); $scatname_eng = $scatname->getname($LANG_ENG); $aSCatList = getSubCatList($mcatid); /* Retrieve item detail */ $sql = "SELECT * from Product WHERE Id=$itemid"; if( $result = $db->sql_query($sql) ) { $row = $db->sql_fetchrow($result); /* $itemId = $row['Id']; $itemProductNum = $row['ItemNum']; $itemName = $row['Name']; $itemPacking = $row['Packing']; $itemPackingway = $row['Packingway']; $itemExportSize = $row['ExportSize']; $itemProductSize = $row['ProductSize']; $itemFeature = $row['Feature']; $itemPhotoLarge = $row['PhotoLarge']; */ $itemProductNum = $row['ProductNum']; $itemName_Eng = $row['Name_Eng']; $itemName_Chi = $row['Name_Chi']; $itemSpec_Eng = $row['Spec_Eng']; $itemSpec_Chi = $row['Spec_Chi']; $itemProductLength = $row['ProductLength']; $itemProductWidth = $row['ProductWidth']; $itemProductHeight = $row['ProductHeight']; $itemCartonLength = $row['CartonLength']; $itemCartonWidth = $row['CartonWidth']; $itemCartonHeight = $row['CartonHeight']; $itemCubic = $row['Cubic']; $itemPieces = $row['Pieces']; $itemGrossWeight = $row['GrossWeight']; $itemNetWeight = $row['NetWeight']; $itemPhotoSmall = $row['PhotoSmall']; $itemPhotoLarge = $row['PhotoLarge']; } $db->sql_freeresult($result); $itemPhotoLargePath = $g_photoDirLarge . "/" . $itemPhotoLarge; $itemSpecLI = nl2li($itemSpec_Eng); ?> Welcome to KimmyCo Limited
 
     
     
 
 
   
Item No.:
Product Name:
Specification:
Product Measurement (L x W x H):
x x (m)
Carton Measurement (L x W x H):
x x (m)
Cubic Metre: (m3)
Pieces/ Carton:
Gross Weight: kg
Net Weight: kg
\n"; } else { echo "\n"; } ?>