alert_chi); $subject = htmlspecialchars($myrow3->subject_chi); $msg2 = (LF2BR($myrow3->msg_chi)); $INFO_EMAIL = htmlspecialchars($myrow3->email); } $msgTxt1 = $msgTxt1."
親愛的 Admin,

"; $msgTxt2 = $msgTxt2."
親愛的".$txtName.",

"; $msgTxt = $msgTxt.""; $msgTxt = $msgTxt.""; $msgTxt = $msgTxt.""; $msgTxt = $msgTxt.""; $msgTxt = $msgTxt.""; $msgTxt = $msgTxt."
姓名:".$txtName."
QQ:".$txtq."
電話:".$txtTel."
Message:".$txtbox."

".$msg2; $msgTxt1 = $msgTxt1."".$msgTxt."

"; $msgTxt2 = $msgTxt2."".$msgTxt."

"; $now = date("Y-m-d", time()); $sql = "INSERT INTO `fpi_qq` ( `txtName`, `txtTel`, `txtq`, `txtbox`, `date`) VALUES ('$txtName', '$txtTel', '$txtq', '$txtbox', '$now')"; mysql_query($sql, $conn) or die(mysql_error() . "
" . $sql); $chs2 = new Chinese("UTF8","BIG5",$subject); $titleb = $chs2->ConvertIT(); $chs2 = new Chinese("UTF8","BIG5",$msgTxt2); $msgTxt2 = $chs2->ConvertIT(); $chs2 = new Chinese("UTF8","BIG5",$msgTxt1); $msgTxt1 = $chs2->ConvertIT(); if ($msgTxt != "") { sendMail($titleb, $msgTxt1, $INFO_EMAIL, $INFO_EMAIL); sendMail($titleb, $msgTxt2, $txtEmail, $INFO_EMAIL); sendMail($titleb, $msgTxt1, "cs@fpigp.com", $INFO_EMAIL); } disconnectdb($conn); if ($link2 == "") { echo " "; } else { echo " "; } ?>