<?php
    include_once('../config.php');
    include_once(ABS_PATH.'/custom_function/default.php'); 
    
    
                
                
                
                $data['email'] =   'vsn.national@gmail.com';
                $data['type'] =   1;
                    
            
		 
                
                $to = $data['email'];
                
                if($data['type'] ==1)
                {
                    $subject = "Thanks for registration on BBC xx";      
                    
                    $message  = "<!DOCTYPE html>
<html amp lang='en'><head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Paykindia Online Payment Services
</title>

</head>
<body>

 
<table style='max-width:600px;margin:auto;border-spacing:0;background:#138808;padding:4px;border-radius:16px;overflow:hidden' align='center' border='0' cellpadding='0' cellspacing='0' width='100%'>
   <tbody>
      <tr>
         <td style='border-collapse:collapse'>
            <table style='margin:auto;border-spacing:0;background:white;border-radius:12px;overflow:hidden' align='center' border='0' cellpadding='0' cellspacing='0' width='100%'>
               <tbody>
                  <tr>
                     <td style='border-collapse:collapse'>
                        <table style='border-spacing:0;border-collapse:collapse' bgcolor='#ffffff' border='0' cellpadding='0' cellspacing='0' width='100%'>
                           <tbody>
                              <tr>
                                 <td style='border-collapse:collapse;padding:16px 103px;background: #fff url(https://www.paykindia.com/images/headerbg.jpg) no-repeat; background-size: 100% 100%;' align='left' valign='middle'     >
                                    <table style='border-spacing:0;border-collapse:collapse' bgcolor='#ffffff' border='0' cellpadding='0' cellspacing='0' width='100%'>
                                       <tbody>
                                          <tr>
                                             <td style='padding:0;text-align:left;border-collapse:collapse' width='140' align='left' valign='middle'> &nbsp;                    
                                             </td>
                                             <td width='16' align='left' valign='middle' style='border-collapse:collapse;text-align:center;'>                                                <a href='https://www.paykindia.com' style='text-decoration:none;color:#ffffff;outline:0;outline:none;border:0;border:none' rel='noreferrer' target='_blank' data-saferedirecturl='' title='".$SITE_NAME."' alt='".$SITE_NAME."'  style='margin:auto;text-align:center;border:0;outline:none;text-decoration:none;min-height:40px' align='middle' border='0' width='40' class='CToWUd'><img src='https://www.universetrade.in/view/images/1logo.png' title='".$SITE_NAME."' alt='".$SITE_NAME."' style='margin:auto;text-align:center;border:0;outline:none;text-decoration:none;min-height:40px' align='middle' border='0'   class='CToWUd'>                     </a>             
</td>
                                             <td align='right' valign='middle'>&nbsp;</td>
                                          </tr>
                                       </tbody>
                                    </table>
                                 </td>
                              </tr>
                           </tbody>
                        </table>
                     </td>
                  </tr>
                  $message
                  <tr>
                     <td style='border-collapse:collapse;padding:32px 18px;background:#ffffff;'>
                        <p style='padding:0;margin:0'>Thank your for registered with us. <Br> Kindly conatct us at http://www.universetrade.in/ for any issues arise. <br><br>Regards!<br>Team Universetrade</p>
                     </td>
                  </tr>
                  <tr>
                     <td style='border-collapse:collapse;padding:16px 18px;border-top:1px solid #eaeaed;'>
                        <table align='center' border='0' cellpadding='0' cellspacing='0' width='100%'>
                           <tbody>
                              <tr>
                                 <td align='left' valign='middle' style='border-collapse:collapse;font-weight:normal'>                     
                                    <a href='#' style='color:#673ab7;font-size:12px;padding:4px;height:24px;display:inline-block;text-transform:capitalize;outline:0;outline:none;border:0;border:none' rel='noreferrer' target='_blank' data-saferedirecturl='#'>About us</a>                     
									<a href='#' style='color:#673ab7;font-size:12px;padding:4px;height:24px;display:inline-block;text-transform:capitalize;outline:0;outline:none;border:0;border:none' rel='noreferrer' target='_blank' data-saferedirecturl='#'>Policy</a>                     
									<a href='#' style='color:#673ab7;font-size:12px;padding:4px;height:24px;display:inline-block;text-transform:capitalize;outline:0;outline:none;border:0;border:none' rel='noreferrer' target='_blank' data-saferedirecturl='#'>Terms</a>                 
                                 </td>
                                 <td width='16' align='left' valign='middle' style='border-collapse:collapse'>&nbsp;</td>
                                 <td align='right' valign='middle' style='border-collapse:collapse;padding:0px 18px'>
                                    <table border='0' cellspacing='0' cellpadding='0'>
                                       <tbody>
                                          <tr>
                                             <td style='border-collapse:collapse'>                             
                                                <a href='#' style='font-size:0;border:0;outline:0;border:none;outline:none;text-decoration:none;margin-right:4px' rel='noreferrer' target='_blank' data-saferedirecturl='#'>                             
                                                <img width='24' src='https://www.paykindia.com/view/images/facebook-logo-mail.png' title='Facebook' alt='Facebook' class='CToWUd'></a>                             
                                                <a href='#' style='font-size:0;border:0;outline:0;border:none;outline:none;text-decoration:none;margin-right:4px' rel='noreferrer' target='_blank' data-saferedirecturl='#'>                             
                                                <img width='24' src='https://www.paykindia.com/view/images/twitter-logo-mail.png' title='Twitter' alt='Twitter' class='CToWUd'></a>
                                             </td>
                                          </tr>
                                       </tbody>
                                    </table>
                                 </td>
                              </tr>
                              <tr>
                                 <td style='border-collapse:collapse;font-weight:normal;padding-top:16px;font-style:italic;color:#7e818c' colspan='3'>                  
                                    Universetrade, provides secure and user friendly opetions to do your Trading, currency   exachnage and many more. 
                                 </td>
                              </tr>
                           </tbody>
                        </table>
                     </td>
                  </tr>
               </tbody>
            </table>
         </td>
      </tr>
   </tbody>
</table>
</body>
</head>
</html>";

                }
                
                $attachment='';
                SendMail($to,$subject,$message,1,$attachment);
?>