include('public_inc.php');?> include ('include_less.php') ?> connectdb(); charSetThai(); loadControl(); /*loadControlAddr(1);*/ ?> $sqlDetail = "SELECT * FROM tkw_tblcontactaddress WHERE OnlineStatus='Y' AND LangRefer=1 "; if ($queDetail = mysql_query($sqlDetail)){ $rwDetail = mysql_fetch_array($queDetail); $txtName = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Name"]))); $txtAddress = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Address"]))); $txtTelephone = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Telephone"]))); $txtFax = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Fax"]))); $txtEmail = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Email"]))); $txtFacebook = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Facebook"]))); $txtMapGoogle = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["MapGoogle"]))); $txtMap = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail["Map"]))); }@mysql_free_result($queDetail); $sqlDetail1 = "SELECT * FROM tkw_tblcontrol_sociallink"; if ($queDetail1 = mysql_query($sqlDetail1)){ $rwDetail1 = mysql_fetch_array($queDetail1); $FacebookLink = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["FacebookLink"]))); $TwitterLink = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["TwitterLink"]))); $LineLink = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["LineLink"]))); $LineMessage = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["LineMessage"]))); $YoutubeLink = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["YoutubeLink"]))); $InstagramLink = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["InstagramLink"]))); $GoogleLink = convertToHtmlFCKImage(convertToHtmlFCK(stripStr($rwDetail1["GoogleLink"]))); }@mysql_free_result($queDetail); ?>