     
            
            <?php 
 session_start();

 
$errorMessage = (isset($_GET['msg']) && $_GET['msg'] != '') ? $_GET['msg'] : '&nbsp;';
$msgMessage = (isset($_GET['success']) && $_GET['success'] != '') ? $_GET['success'] : '&nbsp;';
?>


                           
                        
<link href="<?php echo WEB_ROOT; ?>library/spry/textfieldvalidation/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<script src="<?php echo WEB_ROOT; ?>library/spry/textfieldvalidation/SpryValidationTextField.js" type="text/javascript"></script>

<script src="<?php echo WEB_ROOT; ?>admin/library/jquery.min.js" type="text/javascript"></script>

<link href="<?php echo WEB_ROOT; ?>library/spry/textareavalidation/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<script src="<?php echo WEB_ROOT; ?>library/spry/textareavalidation/SpryValidationTextarea.js" type="text/javascript"></script>

<link href="<?php echo WEB_ROOT; ?>library/spry/selectvalidation/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
<script src="<?php echo WEB_ROOT; ?>library/spry/selectvalidation/SpryValidationSelect.js" type="text/javascript"></script>

<div id="errorCls" style="color:#FF0000 !important;font-size:14px;font-weight:bold;"><?php echo $errorMessage; ?></div>
<div style="color:#99FF00 !important;font-size:14px;font-weight:bold;"><?php echo $msgMessage; ?></div>
 
						
						
					 
								
						 
                  
                  
                  
                  
                  <div class="col-sm-12">
<div class="element-wrapper">
<div class="element-box">

                    <form id="formValidate" action="<?php echo WEB_ROOT; ?>view/process3.php?action=transfer" method="post">

                    <h2 class="">  <img src="<?php echo WEB_ROOT; ?>assets/telex.png" width="70" > Telex => Bank Transfer Form</h2>
                    <div class="form-desc" style="color:#05194B;">
                      <p>This transfer will be processed manually at <?php echo $site_title; ?> Funds Transfer Department at <?php echo $site_address; ?> within 2-3 business working days 
                  and you will be notified via email of it's <strong; style="color:red">STATUS</strong></p>
                    </div>


 

       <fieldset class="form-group"><legend><span>Telex Transfer Details</span></legend>
       
       
       
       
        <h3 style="font-weight:700;">Sender's Details</h3>
                    <div class="row">
                          <div class="col-md-3">
                        <div class="form-group">
                          <label class="bmd-label-floating">Customer Fullname:</label>
                          <input type="text"  value="<?php echo $_SESSION['hlBank_user_name'];  ?>" style="height:40px; background-color:white;" class="form-control" disabled >
                        </div>
                      </div>
                      <div class="col-md-5">
                        <div class="form-group">
                          <label class="bmd-label-floating">Date of Birth:</label>
                          <input type="text" class="form-control" style="height:40px; background-color:white;" value="<?php echo $_SESSION['hlBank_user']['dob']; ?>" disabled>
                        </div>
                      </div> 
                      <div class="col-md-4">
                        <div class="form-group">
                          <label class="bmd-label-floating">Email address:</label>
                          <input type="email" style="height:40px; background-color:white;" value="<?php echo $_SESSION['hlBank_user']['email']; ?>" disabled="disabled" class="form-control">
                        </div>
                      </div>
                    </div>
                    
                     <div class="row">
                          <div class="col-md-3">
                        <div class="form-group">
                          <label class="bmd-label-floating">Mobile Number:</label>
                          <input type="text"  style="height:40px; background-color:white;" value="<?php echo $_SESSION['hlBank_user']['phone']; ?>" class="form-control" disabled >
                        </div>
                      </div>
                      <div class="col-md-5">
                        <div class="form-group">
                          <label class="bmd-label-floating">Postal/ZipCode:</label>
                          <input type="text" style="height:40px; background-color:white;" class="form-control" value="<?php echo $_SESSION['hlBank_user']['zipcode']; ?>" disabled>
                        </div>
                      </div> 
                      <div class="col-md-4">
                        <div class="form-group">
                          <label class="bmd-label-floating">Country:</label>
                          <input type="email" style="height:40px; background-color:white;" value="<?php echo $_SESSION['hlBank_user']['country']; ?>" disabled="disabled" class="form-control">
                        </div>
                      </div>
                    </div>
       
            <div class="row">
                      <div class="col-md-12">
                        <div class="form-group">
                          <label class="bmd-label-floating">Residential Address:</label>
                          <input type="text" style="height:40px; background-color:white;" class="form-control" value="<?php echo $_SESSION['hlBank_user']['address']; ?>" disabled="disabled" > 
                        </div>
                      </div>
                    </div>
       
       
       
       <h3 style="font-weight:700;">Receiver/Beneficiary's Details</h3>
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       <div class="row">
            
            <div class="col-sm-6"><div class="form-group">
                <label for="">Beneficiary Bank Name</label>
<input class="form-control" data-error="Please input your Beneficiary Bank Name" name="rbname" placeholder="Beneficiary Bank Name" required="required">

<div class="help-block form-text with-errors form-control-feedback"></div></div>
</div>

<div class="col-sm-6"><div class="form-group">
    <label for="">Beneficiary Account Number</label>
<input class="form-control" data-error="Please input Beneficiary Account Number" name="accno" placeholder="Beneficiary Account Number" required="required">
<div class="help-block form-text with-errors form-control-feedback"></div></div>
</div>


<div class="col-sm-6"><div class="form-group">
                <label for="">Beneficiary  Name</label>
<input class="form-control" data-error="Please input your Beneficiary Name" name="rbname" placeholder="Beneficiary Name" required="required">

<div class="help-block form-text with-errors form-control-feedback"></div></div>
</div>

<div class="col-sm-6"><div class="form-group">
    <label for="">Beneficiary Email ID</label>
<input class="form-control" data-error="Please input Beneficiary Email ID" name="rname" placeholder="Beneficiary Email ID" required="required">
<div class="help-block form-text with-errors form-control-feedback"></div></div>
</div>

</div>

                    <script type= "text/javascript" src="<?php echo WEB_ROOT; ?>assets/js/countries.js"></script>
                           
            
        <div class="row"> 
                <div class="col-sm-6"><div class="form-group"><label for="">Beneficiary Country</label>
                <select id="country" class="single-daterange form-control" name="rcountry"></select> 
                
                </div>
                </div>
    
        <div class="col-sm-6"><div class="form-group"><label for="">Beneficiary State</label><div class="input-group">
        <div class="input-group-prepend"><div class="input-group-text">State</div></div>
        <select class="form-control"  name ="rstate" id ="state"  ></select> 
        </div></div>
        </div>
        
        </div>
        
        



        <div class="row"> 
                <div class="col-sm-6"><div class="form-group"><label for="">Transaction Date</label>
                <input class="single-daterange form-control"  value="<?php echo date("h:i A d M Y"); ?>" name="dot" readonly="true"></div>
                </div>
    
        <div class="col-sm-6"><div class="form-group"><label for="">Swift Code/Routing/IBAN</label><div class="input-group">
        <div class="input-group-prepend"><div class="input-group-text">Routing</div></div>
        <input class="form-control" data-error="Please input Beneficiary Swift Code/Routing/IBAN" name="swift" placeholder="Swift Code/Routing/IBAN">
        </div></div>
        </div>
        
        </div>
        
        
        
       
       <h3 style="font-weight:700;">Amount/Narration</h3>
        
        
        <div class="form-group"><label for="">Amount to Transfer (<?php echo $_SESSION['hlBank_user']['currency'] ?>):</label>
        <span id="sprytf_amt">
        <input  name="amt" class="form-control"  id="amt" Placeholder="Amount to Transfer">
       
							<span class="textfieldRequiredMsg">Amount is required.</span>
						</span> 
        </div>
        
        
        <div class="form-group"><label>Transaction Naration</label>
        <textarea class="form-control" data-error="Please input Transfer Naration" name="desc" id="desc" rows="3"></textarea> 
        </div>
     
						<input name="toption" type="hidden" readonly="true" value="IT"  class="form-control"  />
						<input name="saccno" type="hidden" readonly="true" value="<?php echo $_SESSION['hlBank_user']['acc_no'] ?>"  id="saccno" class="form-control"  />
                      
                        
    </fieldset>


 <div class="form-buttons-w">

<button class="btn btn-primary" name="submitButton" id="submitButton" type="submit">Proceed Transfer ></button></div></form></div></div>

</div>
                  
                  
        
            

 <script language="javascript">
	populateCountries("country", "state"); // first parameter is id of country drop-down and second parameter is id of state drop-down
	populateCountries("country2");
	populateCountries("country2");
</script>

<script type="text/javascript">
<!--
var sprytf_rbname = new Spry.Widget.ValidationTextField("sprytf_rbname", 'none', {minChars:6, validateOn:["blur", "change"]});
var sprytf_rname = new Spry.Widget.ValidationTextField("sprytf_rname", 'none', {minChars:6, validateOn:["blur", "change"]});
var sprytf_accno = new Spry.Widget.ValidationTextField("sprytf_accno", 'integer', {minChars:10, maxChars: 15, validateOn:["blur", "change"]});
var sprytf_remail = new Spry.Widget.ValidationTextField("sprytf_remail", 'none', {minChars:6, validateOn:["blur", "change"]});
var sprytf_rcountry = new Spry.Widget.ValidationTextField("sprytf_rcountry", 'none', {minChars:6, validateOn:["blur", "change"]});
var sprytf_rstate = new Spry.Widget.ValidationTextField("sprytf_rstate", 'none', {minChars:6, validateOn:["blur", "change"]});
var sprytf_swift = new Spry.Widget.ValidationTextField("sprytf_swift", 'none', {minChars:10, maxChars: 20, validateOn:["blur", "change"]});
var sprytf_amt = new Spry.Widget.ValidationTextField("sprytf_amt", "none", {validateOn:["blur", "change"]});

var sprytf_opt = new Spry.Widget.ValidationSelect("spryselect_opt");

var sprytf_dot = new Spry.Widget.ValidationTextField("sprytf_dot", "date", {format:"", useCharacterMasking: true, validateOn:["blur", "change"]});
var sprytf_desc = new Spry.Widget.ValidationTextarea("sprytf_desc", {isRequired:true, validateOn:["blur", "change"]});
//-->
</script>

