<?php unset($_SESSION["lang"]); ?>
<?php if(isset($_GET["lang"]) && $_GET["lang"] != ""){ $_SESSION["lang"] = $_GET["lang"]; }else $_SESSION["lang"] = "th"; $lang = $_SESSION["lang"]; ?>
<?php if($_GET['lang']) $_SESSION['lang'] == ($_GET['lang'] == 'en') ? 'en' : 'th'; ?>
<? session_start(); if($_SESSION["lang"] == "EN") { include("en.php"); } else { include("th.php"); } ?>
<? $strTitle = "ยินดีต้อนรับเข้าสู่เว็บไซต์ของฉัน"; $strHome = "หน้าแรก"; $strService = "บริการของเรา"; $strAbout = "เกี่ยวกับเรา"; $strContact = "ติดต่อเรา"; //** สมมุติค่ามาจาก Database ที่ได้จากการ Query ***// $result["DETAIL_TH"] = "นี้คือเนื้อหาภาษาไทย"; $strDetail = $result["DETAIL_TH"]; ?>
<? $strTitle = "Welcome to My Web Site"; $strHome = "Home"; $strService = "Service"; $strAbout = "About Us"; $strContact = "Contact Us"; //** สมมุติค่ามาจาก Database ที่ได้จากการ Query ***// $result["DETAIL_EN"] = "This is content English"; $strDetail = $result["DETAIL_EN"]; ?>
<table width="80%" border="0" cellpadding="0" cellspacing="0" > <tr> <td align="right"> <script type="text/javascript"> //<![CDATA[ if(top.location!=self.location) top.location=self.location; window['_tipoff']=function(){}; window['_tipon']=function(a){}; var urlx='<?php echo "".WEB_URL.""; ?>'; function doTranslate(lang_pair) { if(lang_pair.value)lang_pair=lang_pair.value; if(location.hostname==urlx && lang_pair=='th|th')return; else if(location.hostname!=urlx && lang_pair=='th|th')location.href=unescape(gfg('u')); else if(location.hostname==urlx && lang_pair!='th|th')location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href); else location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href); } function gfg(name) { name=name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS="[\\?&]"+name+"=([^&#]*)"; var regex=new RegExp(regexS); var results=regex.exec(location.href); if(results==null)return ''; return results[1]; } //]]> </script> <a href="javascript:doTranslate('th|en')" title="English" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -0px -0px;"><img src="images/imlang/blank.png" alt="English" width="16" height="16" border="0" style="border:0;vertical-align:top;" /></a> <a href="javascript:doTranslate('th|zh-CN')" title="Chinese (Simplified)" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -300px -0px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Chinese (Simplified)" /></a> <a href="javascript:doTranslate('th|zh-TW')" title="Chinese (Traditional)" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -400px -0px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Chinese (Traditional)" /></a> <a href="javascript:doTranslate('th|fr')" title="French" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -200px -100px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="French" /></a> <a href="javascript:doTranslate('th|de')" title="German" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -300px -100px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="German" /></a> <a href="javascript:doTranslate('th|it')" title="Italian" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -600px -100px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Italian" /></a> <a href="javascript:doTranslate('th|ja')" title="Japanese" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -700px -100px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Japanese" /></a> <a href="javascript:doTranslate('th|ko')" title="Korean" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -0px -200px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Korean" /></a> <a href="javascript:doTranslate('th|pt')" title="Portuguese" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -300px -200px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Portuguese" /></a> <a href="javascript:doTranslate('th|ru')" title="Russian" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -500px -200px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Russian" /></a> <a href="javascript:doTranslate('th|es')" title="Spanish" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -600px -200px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Spanish" /></a> <a href="javascript:doTranslate('th|vi')" title="Vietnamese" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -200px -400px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Vietnamese" /></a> <a href="javascript:doTranslate('th|th')" title="Thai" style="font-size:16px;padding:1px 0;background:url('images/imlang/16.png') no-repeat scroll -0px -500px;"><img src="images/imlang/blank.png" height="16" width="16" style="border:0;vertical-align:top;" alt="Thai" /></a> <select onchange="doTranslate(this);"> <option value="">Select Language</option> <option value="th|en">English</option> <option value="th|ar">Arabic</option> <option value="th|bg">Bulgarian</option> <option value="th|zh-CN">Chinese (Simplified)</option> <option value="th|zh-TW">Chinese (Traditional)</option> <option value="th|hr">Croatian</option> <option value="th|cs">Czech</option> <option value="th|da">Danish</option> <option value="th|nl">Dutch</option> <option value="th|fi">Finnish</option> <option value="th|fr">French</option> <option value="th|de">German</option> <option value="th|el">Greek</option> <option value="th|hi">Hindi</option> <option value="th|it">Italian</option> <option value="th|ja">Japanese</option> <option value="th|ko">Korean</option> <option value="th|no">Norwegian</option> <option value="th|pl">Polish</option> <option value="th|pt">Portuguese</option> <option value="th|ro">Romanian</option> <option value="th|ru">Russian</option> <option value="th|es">Spanish</option> <option value="th|sv">Swedish</option> <option value="th|ca">Catalan</option> <option value="th|tl">Filipino</option> <option value="th|iw">Hebrew</option> <option value="th|id">Indonesian</option> <option value="th|lv">Latvian</option> <option value="th|lt">Lithuanian</option> <option value="th|sr">Serbian</option> <option value="th|sk">Slovak</option> <option value="th|sl">Slovenian</option> <option value="th|uk">Ukrainian</option> <option value="th|vi">Vietnamese</option> <option value="th|sq">Albanian</option> <option value="th|et">Estonian</option> <option value="th|gl">Galician</option> <option value="th|hu">Hungarian</option> <option value="th|mt">Maltese</option> <option value="th|th">Thai</option> <option value="th|tr">Turkish</option> </select> <br> </td> </tr> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง