@session_start(); if($_GET["lg"] == "en") { $_SESSION['lg'] = "en"; } if($_GET["lg"] == "th") { $_SESSION['lg'] = "th"; } require_once("include/db_pages.php"); if($_SESSION['lg'] == "en") { //$txt_Id = "1"; $txt_Id = "2"; } else { $txt_Id = "2"; } $call = new clsPages(); $result=$call->get_pages_row($txt_Id); if(mysql_num_rows($result)){ if($result){ $row = mysql_fetch_array($result); $txt_pagesTitle = $row['pagesTitle']; $txt_pagesDescription = $row['pagesDescription']; $txt_pagesKeyword = $row['pagesKeyword']; $txt_pagesDetail = $row['pagesDetail']; } } ?>