@session_start(); if ( $_GET['id'] <> "" ) { $txt_Id = $_GET['id']; require_once("include/db_gallery2.php"); $call = new clsGallery(); if ( $_GET['id'] <> "" ) { $txt_Id = $_GET['id']; $result = $call->get_gallery_row($txt_Id); if(mysql_num_rows($result)){ if($result){ $row = mysql_fetch_array($result); $txt_fileId = $row['fileId']; $txt_fileTitle = $row['fileTitle']; $txt_fileDesc = $row['fileDesc']; $txt_fileActive = $row['fileActive']; $txt_fileName = $row['fileName']; $txt_galleryId = $row['galleryId']; $txt_fileLink = $row['fileLink']; $upddateBy = $row['upddateBy']; $updateDate = $row['updateDate']; } } } } else { header("location:exhibition.php"); } 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 = "13"; } else { $txt_Id = "14"; } $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']; } } ?>