//PHP maileric]
Define(_vStrRootPath,"../../../");
Include( _vStrRootPath . "_tarad/_libraries/class.phpmailer.php" );
Include( _vStrRootPath . "_tarad/_libraries/function_mailer.php" ); // include for use class phpmailer to send email
Include( _vStrRootPath . "_tarad/_libraries/function_mailer_return.php" );
mysql_query("SET NAMES 'tis620'");
echo "";
if($mode=='regis'){
$pic_path="http://www.tarad.com/_tarad/landingpages/celebrate/";
$vStrCodeFileHTMLToSale='
ฉลอง ครบ 80000 ร้านค้า
| |
|
ชื่อ (First name) : |
'.$fname.'
|
|
นามสกุล (Last name) : |
'.$lname.'
|
|
อีเมลล์ (e-Mail) : |
'.$email.'
|
|
โทรศัพท์ (Telephone) : |
'.$tel .'
|
|
มือถือ (Mobile) : |
'.$mobile.'
|
| |
ขอบคุณสำหรับการลงทะเบียน
|
|
|
';
//************* send to owner ****************
$vStrEmailTo = "massupa@tarad.com";
$vStrEmailSubject = "ฉลอง ครบ 80000 ร้านค้า";
$vStrEmailMessage = $vStrCodeFileHTMLToSale;
phpmailer($email,$vStrEmailTo,$vStrEmailSubject,$vStrEmailMessage); // from, to , subject , message
$vStrCodeFileHTMLToCustomer='
ฉลอง ครบ 80000 ร้านค้า
| |
|
ชื่อ (First name) : |
'.$fname.'
|
|
นามสกุล (Last name) : |
'.$lname.'
|
|
อีเมลล์ (e-Mail) : |
'.$email.'
|
|
โทรศัพท์ (Telephone) : |
'.$tel .'
|
|
มือถือ (Mobile) : |
'.$mobile.'
|
| |
ขอบคุณสำหรับการลงทะเบียน
|
|
|
';
//************* send to customer ****************
$vStrEmailTo2 =$email;
$vStrEmailSubject2= "ฉลอง ครบ 80000 ร้านค้า";
$vStrEmailMessage2 = $vStrCodeFileHTMLToCustomer;
phpmailer("massupa@tarad.com",$vStrEmailTo2,$vStrEmailSubject2,$vStrEmailMessage2); // from, to , subject , message
echo $vStrCodeFileHTMLToCustomer;
} else { // end if regis
?>
ฉลอง ครบ 80000 ร้านค้า
}?>