<? include("../settings.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Nanoman2024 Acknowledgement</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap -->
    <link href="css/bootstrap.css" rel="stylesheet">
      <link href="css/bootstrap-theme.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <?
		$bind = array(":search1"=>$_REQUEST['id']);
		$results = $db->select("tbl_registrant","registrant_id = :search1",$bind);
		$registrant = $results[0];
		$bind = array(":search1"=>"banktransfer");
		$results = $db->select("tbl_email","email_description = :search1",$bind);
		$result = $results[0];
		$subject = $result['email_subject'];
		$message = $result['email_content'];
		$message = str_replace("@registrant_salutation@",$registrant['registrant_salutation'],$message);
		$message = str_replace("@registrant_firstname@",$registrant['registrant_firstname'],$message);
		$message = str_replace("@registrant_lastname@",$registrant['registrant_lastname'],$message);
		$email = $registrant['registrant_email'];
		$mail->IsHTML(true);
		$mail->SetFrom("secretariat@nanoman2024.com","NANOMAN 2024 Secretariat");
		$mail->AddAddress($email);
		$mail->Subject = $subject;
		$mail->Body = $message;
		$mail->Send(); // send message
	?>
        <noscript>
            <p>This site is best viewed with Javascript.</p>
        </noscript>
     
  </head>
  <body>
<div class="well">
<div class="content" bgcolor="#FFFFD0">
  <div class="col-12 feature">
      <form class="form-horizontal" method="post" action="processing.php" enctype="multipart/form-data">
          <center>
              <img src="masthead.jpg" width="800"></img>
          </center>
          <br/>
            
       <div class="panel panel-info">
            <div class="panel-heading  text-center"><h3>Registration Acknowledgement</h3></div>
            <div class="panel-body">
                <div class="col-lg-1"></div>
                <div class="col-lg-10">
                	Thank you for registering for the Nanoman2024 Conference.  <br/><br/>

					Please instruct your bank to transfer funds to the stated account below:
					<table width="100%">
					<tr><td colspan="2" bgcolor='black'><font color='white'>Bank Payment Account Details</font></td></tr>
					<tr><td width='30%'>Bank:</td><td width='70%'>United Overseas Bank</td></tr>
					<tr><td width='30%'>Bank Branch:</td><td width='70%'>No 149 Rochor Road, #01-26 Fu Lu Shou ComplexSingapore 188425</td></tr>
					<tr><td width='30%'>Bank Code:</td><td width='70%'>7375</td></tr>
					<tr><td width='30%'>Swift Code:</td><td width='70%'>UOVBSGSG</td></tr>
					<tr><td width='30%'>Account Number :</td><td width='70%'>354-317-7308</td></tr>
					<tr><td width='30%'>Account Name:</td><td width='70%'>Spark Planners Pte Ltd</td></tr>
					<tr><td colspan="2" bgcolor='black'><font color='white'>Payment Instructions</font></td></tr>
					<tr><td colspan="2">
						<ol>
						  <li>1.	Please ensure that the conference name; <b><u>nanoMan2024</u></b> and the <b><u>name of the participant</u></b> are stated in the bank transfer. </li>
						  <li>2.	All bank charges are the responsibility of the participant and should be paid at the source in addition to the registration fees. </li>
						  <li>3.	A completed remittance advice of the bank transfer should be sent to the conference secretariat, Ms Nicole May at  <a href='mailto:secretariat@nanoman2024.com'>secretariat@nanoman2024.com.</a></li>
						  <li>4.	Registration will only be confirmed upon receipt of full payment.</li>
						</ol>
						</td></tr>
					<tr><td colspan="2" bgcolor='black'><font color='white'>Enquiry and Contact Information</font></td></tr>
					<tr><td colspan="2">
						
For the latest updates of the event, please visit https://nanoman2024.com/ .<br/><br/>

Please feel free to contact the event secretariat, Ms Nicole May at secretariat@nanoman2024.com for any further enquiries. 	


						</td></tr>
				</table>

                </div>
                <div class="col-lg-1"></div>
            </div>
        </div>     
        
        </form>
    </div>


    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery-1.11.2.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="js/bootstrap.min.js"></script>
    
  </div>
</div>
</body>
</html>
