",(stripStr($result["ProductDetailEng"]))); $ProductCode = convertToText(stripStr($result["ProductCode"])); $ProductWidth = convertToText(stripStr($result["ProductWidth"])); $ProductWeight = convertToText(stripStr($result["ProductWeight"])); $ProductPrice = convertToText(stripStr($result["ProductPrice"])); $SampleStatus = convertToText(stripStr($result["SampleStatus"])); $SampleProductWeight = convertToText(stripStr($result["SampleProductWeight"])); $SampleProductPrice = convertToText(stripStr($result["SampleProductPrice"])); }@mysql_free_result($queProduct); if($TypeIDRE == ''){ $TypeIDRE = $TypeID; } if($TypeSubIDRE == ''){ $TypeSubIDRE = $TypeSubID; } if($TypeSub2IDRE == ''){ $TypeSub2IDRE = $TypeSub2ID; } $sqlCal = "select * from gac_tblproducttypesubcalculate where TypeSubID = '$TypeSubIDRE' Order by CalculateID ASC;"; $queCal = mysql_query($sqlCal); if($queCal){ $numCal = mysql_num_rows($queCal); } $sqlDoor = "select count(*) as numDoor from gac_tblproducttypesubcalculate where TypeSubID = '$TypeSubIDRE' and CalculateID = 7;"; $queDoor = mysql_query($sqlDoor); if($queDoor){ $rwDoor = mysql_fetch_array($queDoor); $numDoor = convertToText(stripStr($rwDoor["numDoor"])); }@mysql_free_result($queDoor); $sqlSocial = "SELECT * FROM gac_tblcontrol;"; $queSocial = mysql_query($sqlSocial); if($queSocial){ $rowSocial = mysql_fetch_array($queSocial); $Social_FacebookLink = convertToText(stripStr($rowSocial["FacebookLink"])); if($Social_FacebookLink!=""){ $Social_FacebookLinkS = strpos($Social_FacebookLink, "http://"); if(is_integer($Social_FacebookLinkS)){ $FacebookLink_Link = ""; $FacebookLink_LinkE = ""; }else{ $FacebookLink_Link = ""; $FacebookLink_LinkE = ""; } }else{ $FacebookLink_Link = ""; $FacebookLink_LinkE = ""; } }@mysql_free_result($queSocial); //ตัวแรกสุดของมู่ลี่ไม้ $sqlOneClothTape = "SELECT ct.PhotoID FROM gac_tblselproductclothtape AS sel INNER JOIN gac_tblproductclothtapephoto AS ct ON (sel.ClothTapeID = ct.ClothTapeID) WHERE ct.OnlineStatus = 'Y' and sel.ProductID = '$ProductIDRE' ORDER BY sel.ClothTapeID ASC, ct.PhotoLocationShow ASC, ct.DateRegister ASC LIMIT 0,1"; $queOneClothTape = mysql_query($sqlOneClothTape); if($queOneClothTape){ $rowsOneClothTape = mysql_fetch_array($queOneClothTape); $PhotoID_O = convertToText(stripStr($rowsOneClothTape["PhotoID"])); }@mysql_free_result($queOneClothTape); $sqlChkCal = "select CalculateID from gac_tblproducttypesubcalculate where TypeSubID = '$TypeSubIDRE' Order by CalculateID ASC;"; $queChkCal = mysql_query($sqlChkCal); if($queChkCal){ $rwChkCal = mysql_fetch_array($queChkCal); $ChkCalculateID = convertToText(stripStr($rwChkCal["CalculateID"])); }@mysql_free_result($queChkCal); ?> ::
0){ $TypeSubTitleEng = convertToText(stripStr($rowsTypeSub["TypeSubTitleEng"])); $CalculateStatus = convertToText(stripStr($rowsTypeSub["CalculateStatus"])); $StepTwo = convertToText(stripStr($rowsTypeSub["StepTwo"])); $StepThree = convertToText(stripStr($rowsTypeSub["StepThree"])); $StepTwoBlinds = convertToText(stripStr($rowsTypeSub["StepTwoBlinds"])); $StepThreeBlinds = convertToText(stripStr($rowsTypeSub["StepThreeBlinds"])); $StepTwoRollerBlinds = convertToText(stripStr($rowsTypeSub["StepTwoRollerBlinds"])); $StepTwoVerticalBlinds = convertToText(stripStr($rowsTypeSub["StepTwoVerticalBlinds"])); if($TypeTitleEng != ''){ $TypeSubTitleEng = " » ".$TypeSubTitleEng; }else{ $TypeSubTitleEng = $TypeSubTitleEng; } } }@mysql_free_result($queTypeSub); //ประเภทรูปแบบของสินค้า $sqlTypeSub2 = "select * from gac_tblproducttypesubsub where OnlineStatus = 'Y' and TypeSub2ID = $TypeSub2IDRE;"; $queTypeSub2 = mysql_query($sqlTypeSub2); if($queTypeSub2){ $numTypeSub2 = mysql_num_rows($queTypeSub2); $rowsTypeSub2 = mysql_fetch_array($queTypeSub2); if($numTypeSub2 > 0){ $TypeSub2TitleEng = convertToText(stripStr($rowsTypeSub2["TypeSub2TitleEng"])); //ตรวจสอบประเภทของรางโชว์ $TypePoles = convertToText(stripStr($rowsTypeSub2["TypePoles"])); if($TypeTitleEng != ''){ $TypeSub2TitleEng = " » ".$TypeSub2TitleEng; }else if($TypeSubTitleEng != ''){ $TypeSub2TitleEng = " » ".$TypeSub2TitleEng; }else{ $TypeSub2TitleEng = $TypeSub2TitleEng; } } }@mysql_free_result($queTypeSub); ?> 0 && $StepTwo == "Y" && $StepThree == "Y"){?> 0 && $StepTwoBlinds == "Y" && $StepThreeBlinds == "Y"){?> 0 && $numDoor == 0 && $TypePoles == ""){?> 0 && $StepTwoRollerBlinds == "Y"){?> 0 && $StepTwoVerticalBlinds == "Y"){?> 0 && $numDoor > 0){?> 0 && $numDoor == 0 && $TypePoles != ""){?>
0){?>
"; }else{ $PhotoMax_PhotoNameBigS = ""; } } ?> 0){?>
0){?>
Code :
Color tone :
Repeat :
Composition :
Care instruction :
Fabric Width : cm.
Price : 0.00 Baht /
Price for sample : 0.00 Baht /
Quantity :  set
Description
0){//สินค้าชิ้นนี้เป็นสินค้า่ตัวอย่าง?>
Add sample to cart
Back
Add sample to cart
Back
For installation please contact dansomsak@gmail.com or call 662-4395589 / 662-4376544
Code :
Color tone :
Repeat :
Composition :
Care instruction :
Fabric Width : cm.
Price : 0.00 Baht /
Price for sample : 0.00 Baht /
Description
Add sample to cart
Back
Step 1: Enter your width and drop Next step
Please see more information "How to measure a curtain properly" 
Width  cm. Width does not exceed 150 cm.
Height  cm.
Quantity  set
Step 2: Enter your heading Next step
Step 3: Add chain weighted and curtain strap (Free of charge) Next step
Step 1: Enter your width and drop Next step
Please see more information "How to measure Wooden Blinds properly" 
Width  cm. Width does not exceed 200 cm.
Height  cm.
Quantity  set
Step 2: Select the desired format Next step
Step 3: Choose the color of the fabric tape Next step
Step 3: Choose the color of the fabric tape Next step
Please Insert Detail Product
Name *
Telephone
E-mail *
Subject *
Detail *
Code
*
   
Enter your width and drop
Width  cm. Width does not exceed 200 cm.
Height  cm.
Quantity  set
Step 1: Enter your width and drop Next step
Please see more information "How to measure Roller blinds properly" 
Width  cm.
Height  cm.
Quantity  set
Step 2: Select the position of control chain to adjust a Vertical Blinds Next step
Step 1: Enter your width and drop Next step
Please see more information "How to measure Vertical Blinds properly" 
Width  cm.
Height  cm.
Quantity  set
Step 2: Select the position of control chain to adjust a Vertical Blinds Next step
Enter your width and drop
Width  cm.
Height  cm.
Quantity  set
Enter your width
Width  cm.
Quantity  set