query($sql); $rec = $db->fetch_array($que); $_GET['id'] = $rec['magazine_id']; $sql = "SELECT * FROM magazine WHERE magazine_id = '{$_GET['id']}'"; $que = $db->query($sql); $rec = $db->fetch_array($que); $magazine_title = ($rec["magazine_title_{$lang}"])?$rec["magazine_title_{$lang}"]:$rec["magazine_title_en"]; $magazine_from = ($rec["magazine_from_{$lang}"])?$rec["magazine_from_{$lang}"]:$rec["magazine_from_en"]; $magazine_content = (trim($rec["magazine_content_{$lang}"])&& trim($rec["magazine_content_{$lang}"])!="
")?$rec["magazine_content_{$lang}"]:$rec["magazine_content_en"]; ?> <?php echo $magazine_title; ?>: Takolaburi Cultural Resort | Khao Lak, Takhuapa, Thailand
Takolaburi Magazine
Inside. * Coding: July 01, 2010 */ ?>
query($sql2); while($rec2 = $db->fetch_array($que2)){ $magazine_img_name = "magazine/magazine-{$_GET['id']}/big_{$rec2['magazine_img_num']}.jpg"; $img = (is_file($magazine_img_name))?$magazine_img_name:"magazine/magazine-{$_GET['id']}/thumb_{$rec2['magazine_img_num']}.jpg"; ?>

« back to Takolaburi History