isMobile() && empty($_SESSION['mobile'])) { $_SESSION['mobile']=1; header("Location:http://mobile.bangkokfeliz.com/sukhumvit69/"); exit(); } ?> คอนโด แบงค์คอก'เฟลิซ สุขุมวิท 69 | Bangkokfeliz Sukhumvit 69 "; exit; } ///fun function sendEmail($emailTo,$subject,$message,$from,$replyTo) { $boundary = uniqid(""); $subject = "=?utf-8?B?".base64_encode("$subject")."?="; //$header = "Content-type: text/plain; charset=utf-8\r\n"; $header .= "From: $from\r\n"; $header .= "Reply-To: $replyTo\r\n"; $header .= "Content-type: multipart/mixed; boundary=\"$boundary\"\n"; $body = "--$boundary\n"; $body .= "Content-type: text/html; charset=utf-8;\n"; $body .= "Content-disposition: inline;\n"; $body .= "Content-transfer-encoding: 8bit\n\n"; $body .= "$message\n"; $body .= "--$boundary--\n"; mail($emailTo, $subject, $body, $header); } ?> 0) { $time_out.="$hh$join_time$mm$join_time$ss"; } else { $time_out.="$hh$join_time$mm"; } return $time_out; } function timeFormat2($dateIn){ list($d,$t) = explode(" ",$dateIn); list($yy,$mm,$dd)=explode("-",$d); if($yy==0) return -1; list($h,$m,$s)=explode(":",$t); return $h+0; } function dateFormat($date_in, $time=0, $join_date=" ", $join_datetime=" ", $join_time=":"){ // Date_in is type date or datetime in Database YYYY-MM-DD hh:mm:ss global $FORMAT_DATE; if($date_in=="") { $timeNow = getdate(); return dateFormat($timeNow[year]."-".$timeNow[mon]."-".$timeNow[mday]); }elseif(substr($date_in,0,4) < 1901) { return ""; } $date_only=explode(" ",$date_in); list($year, $month, $day)=explode("-",$date_only[0]); if(strlen($day)<2) $day = "0".$day; $year+=DIFF_THAIYEAR; preg_match("/^(\d{2})(\d{2})$/", $year, $matches); /* if ($matches[2]) { $new_year = $matches[2]; } else { $new_year = $year; } */ $new_year = $year; $date_out=$day.$join_date.$FORMAT_DATE[shortMonth][$month-1].$join_date.$new_year; if($time>0){ $date_out.=$join_datetime.timeFormat($date_only[1],$join_time); } return $date_out; } function dateToDB($strDate){ global $FORMAT_DATE; if(trim($strDate)=="") return "0000-00-00 00:00:00"; list($day,$month,$year)=explode(" ",trim($strDate)); $year = $year -DIFF_THAIYEAR; list($month) = array_keys($FORMAT_DATE[shortMonth],$month); $month++; if($month<10) $month = "0".$month; $outDate="$year-$month-$day"; return $outDate; } function timeToDB($strHour){ // Format hour if(trim($strHour)=="") return "0000-00-00 00:00:00"; if($strHour<10) $strHour= "0".$strHour; return "1900-01-01 ".$strHour.":00:00"; } ?>
X Close
X Close
X Close
ชื่อ เลขที่
ตำบล / แขวง
* * *
นามสกุล หมู่ อำเภอ / เขต
*   *
เพศ : ชาย หญิง   จังหวัด
โทรศัพท์ หมู่บ้าน/อาคาร *
รหัสไปรษณีย์
โทรศัพท์มือถือ ตรอก/ซอย *
*    
อีเมล์ ถนน
* *
 

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

 
     
 
© 2010 Chaopraya Mahanakorn Public Company Limited. All rights reserved.