ob_start ("ob_gzhandler");
session_start();
include ("include/connect.php");
include ("include/function.php");
include ("include/functionDB.php");
						$sql="Select * From  tb_pro where  id_pro = $_GET[id_detail]";
						$db_query=mysql_db_query($db,$sql);
						$rs = mysql_fetch_array($db_query);
if ($_GET[lang] =="" || $_GET[lang]=="th") //ถ้าเป็นค่าว่างหรือ 0 ให้แสดงเมนูภาษาไทย 
{
$chose="thai.inc.php";
}else{ //ถ้าไม่ใช่ค่า 0 หรือค่าว่าง ให้แสดงเมนูภาษาอังกฤษ
$chose="eng.inc.php"; 
}
include("$chose");
?>
Factory-Dehydrated : ผลไม้อบแห้ง
  
    | 
 
 
        
          | :: =$txtproduct[5]; ?> :: |  
          | ........................................................................................................................................................................................................................................................ |  
 
        
          | 
            
              |  | 
                
                  | =$txtproduct[2]?> : | if ($_GET[lang] =="" || $_GET[lang]=="th")  {  echo $rs[name_pro];  }else{ echo $rs[name_en];  }?> |  
                  | =$txtproduct[7]?> 
                    : | if($rs["price"] !=""){
				  echo number_format($rs["price"]);
				  }else{
				  echo "-";
				  }
				  ?>
				  =$txtproduct[8]?> |  
                  | =$txtproduct[3]?> 
                    : | if ($_GET[lang] =="" || $_GET[lang]=="th")  {  
						?>  ShowNameCate($rs[id_cate]);?>   
						}else{ 
						?> ShowNameCateEn($rs[id_cate]);?> 
						}
						?> |  
                  | =$txtproduct[5]?> 
                    : |  
                  | if ($_GET[lang] =="" || $_GET[lang]=="th")  {  
									echo $pro_detail=nl2br($rs["detail"]);
						}else{ 
									echo $pro_detail=nl2br($rs["detail_en"]);
						}
						?> |  
                  |  |  
                  | << =$txtproduct[6]?> |  |  
              | =$txtproduct[4]?> |  |  
 
        
          | ........................................................................................................................................................................................................................................................ |  
          |  |  
          |  include"foot.php";?> |  
          |  |  
          |  |  |