<? include($template[company][file_path] . "shared/start_HTML.shared"); ?>


<? include($template[company][file_path] . "shared/HEADER.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_I_i.shared"); ?>
<? include($template[company][file_path] . "shared/start_TABLE_I_ii.shared"); ?>


<!-- NOTE:  cellpadding and cellspacing and TABLE II. must be done -->
<!-- this way in order to enable a ratio/"secured network" at the bottom -->
  

<? include($template[company][file_path] . "shared/start_TABLE_II.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_III_logo.shared"); ?>


<? $page_message = "Please confirm your \"Account to Account\" transfer below...";
$gateway_payment_step = "transfer_2.gate";
$message_width = "auto";
include($template[company][file_path] . "shared/start_TABLE_IV_sysmsg.shared"); ?>


<? $form_action = "transfer_3.gate";
include($template[company][file_path] . "shared/start_TABLE_V_form.shared"); ?>
<!-- --------------------INSERT FORM CONTENT BELOW <!TD!>: ------------------------ -->



<? $mastertab_status = "gateway";
include($template[company][file_path] . "shared/start_TABLE_VI_mast_tab.shared"); ?>
<? include($template[company][file_path] . "shared/start_TABLE_VII_i.shared"); ?>
<? include($template[company][file_path] . "shared/start_TABLE_VII_ii.shared"); ?>

<!-- NOTE: the gap between VII_ii and VII_iii allows for a tight 'reqired fields' footer -->

<? include($template[company][file_path] . "shared/start_TABLE_VII_iii.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_VIII_menu.shared"); ?>
<!-- -------------------- INSERT "MAIN MENU" CONTENT BELOW <TR>: ------------------------ -->
<!-- -------------------- INSERT "MAIN MENU" CONTENT BELOW <TR>: ------------------------ -->


<? $TABLE_VIII_colspan = "1";
include($template[company][file_path] . "shared/TABLE_VIII_colspan.shared"); ?>
<!-- SINCE THE REQUIRED COLSPAN IS SET ABOVE, NOW START MENU ROW CONTENT BELOW: <TR>: -->






<!-- START INNER MENU ROW - FITS IN AFTER TABLE VIII. -->
<? include($template[company][file_path] . "shared/start_TABLE_IX_i.shared"); ?>

<? include($template[company][file_path] . "shared/TABLE_IX_i_activeaccount.shared"); ?>


<? include($template[company][file_path] . "shared/start_TABLE_IX_ii.shared"); ?>

<? $accounttab_status = "off"; 
include($template[company][file_path] . "shared/TABLE_IX_ii_accounttabs.shared"); ?>

<? include($template[company][file_path] . "shared/start_TABLE_IX_iii.shared"); ?>
<!-- note: IX_iii enables account menu padding -->

<? include($template[company][file_path] . "shared/start_TABLE_X_acctmenu.shared"); ?>
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT BELOW <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT BELOW <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT BELOW <TR>: ------------------------ -->

<? 
$TABLE_X_colspan = "4";
include($template[company][file_path] . "shared/spacer_TABLE_X_colspan.shared"); ?>
<!-- SINCE THE REQUIRED COLSPAN IS SET ABOVE, NOW START ACCOUNT ROW CONTENT BELOW: <TR>: -->







<?
$height="10";
include($template[company][file_path] . "shared/TABLE_X_ROW_spacer.shared");



$row_title = "<font color='#DD3333'>Please Confirm Transfer Details:</font>";
include($template[company][file_path] . "shared/TABLE_X_ROW_title.shared");


$row_title = "Transfer (From Account):";
$row_value = $account[accountname];
$row_value_ii = $account[emailaddress];
$status = "complete";
$edit_link = "";
include($template[company][file_path] . "shared/TABLE_X_ROW_receipt.shared");


$row_title = "Current Account Balance:";
$row_value = currency1($balance[account][value],$blank);
$row_value_ii = "(" . currency2($balance[account][value],currencyRATIO()) . ")";
$status = "complete";
$edit_link = "";
# include($template[company][file_path] . "shared/TABLE_X_ROW_receipt.shared"); 


$row_title = "Transfer (To Account):";
$row_value = $transaction[recipient][accountname];
$row_value_ii = $transaction[recipient][emailaddress];
$status = "complete";
$edit_link = "";
include($template[company][file_path] . "shared/TABLE_X_ROW_receipt.shared");



$row_title = "Requested Transfer Amount:";
$row_value = currency1($transaction[requested_value],$blank);
$row_value_i = "(" . currency2($transaction[requested_value],currencyRATIO()) . ")";
$row_value_ii = "";
$status = "complete";
$edit_link = "";
include($template[company][file_path] . "shared/TABLE_X_ROW_receipt.shared");

?>



<?
$height="10";
#include($template[company][file_path] . "shared/TABLE_X_ROW_spacer.shared");



$row_title = "Transaction Confirmation:";
#include($template[company][file_path] . "shared/TABLE_X_ROW_title.shared");


######################################
$row_title = "Transfer Fee:";


if($transaction[fee_network_value] > "0") {
    $row_value = currency1($transaction[fee_network_value],$blank) . "&nbsp;&nbsp;<font color=aaaaaa>(" . currency2($transaction[fee_network_value],currencyRATIO()) . ")</font color>";
} else {
    $row_value = "<font color=aaaaaa>" . currency1($transaction[fee_network_value],$blank) . "&nbsp;&nbsp;<font color=aaaaaa>(" . currency2($transaction[fee_network_value],currencyRATIO()) . ")</font color>";
}

$row_value_ii = "";
$status = "pending";
$edit_link = "";
#include($template[company][file_path] . "shared/TABLE_X_ROW_receipt.shared");
######################################


$row_title = "Total Transaction Amount:";
$row_value = currency1($transaction[requested_value] + $transaction[fee_network_value],$blank) . "&nbsp;&nbsp;<font color=aaaaaa>(" . currency2($transaction[requested_value] + $transaction[fee_network_value],currencyRATIO()) . ")</font color>";
$row_value_ii = "";
$status = "pending";
$edit_link = "";
#include($template[company][file_path] . "shared/TABLE_X_ROW_receipt.shared");


?>




<?

include($template[company][file_path] . "shared/TABLE_X_ROW_endline.shared");
  
?>





<!-- !SUBMIT: INSERT TABLE V. LESS-TRAVELD SUBMIT BELOW <TR>:  -->
<?
  $left_submit = "<input type=submit name=cancel value='Cancel'>";
  $center_submit = "<input type=submit name=edit value='Edit'>";
  $right_submit = "<input type=submit name=submit value='Confirm and Authorize Now...'>";
  # include($template[company][file_path] . "shared/TABLE_XI_submit.shared"); ?>
<!-- !SUBMIT: INSERT TABLE V. LESS-TRAVELD SUBMIT ABOVE <TR>:  -->

  






<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT ABOVE <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT ABOVE <TR>: ------------------------ -->
<!-- -------------------- INSERT "ACCOUNT MENU" CONTENT ABOVE <TR>: ------------------------ -->      
<? include($template[company][file_path] . "shared/end_TABLE_X_accountmenu.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_IX_iii.shared"); ?>

<? $tightfooter = "";
include($template[company][file_path] . "shared/TABLE_IX_ii_tightfooter.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_IX_ii.shared"); ?>
<? include($template[company][file_path] . "shared/end_TABLE_IX_i.shared"); ?>
<!-- ENDS INNER MENU TABLE AND TABLE_VIII ROW <TR>: -->
    


<!-- --------------------INSERT "MAIN MENU" CONTENT ABOVE <TR>: ------------------------ -->
<!-- --------------------INSERT "MAIN MENU" CONTENT ABOVE <TR>: ------------------------ -->
<? include($template[company][file_path] . "shared/end_TABLE_VIII_mainmenu.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_VII_iii.shared"); ?>

<? 
$leftfooter_name = "Cancel";
$leftfooter_link = "cancel.gate?source=$PHP_SELF";
$rightfooter_name = "";
$rightfooter_link = "";
include($template[company][file_path] . "shared/TABLE_VII_ii_tightfooter.shared"); ?>

<? include($template[company][file_path] . "shared/end_TABLE_VII_ii.shared"); ?>
<? include($template[company][file_path] . "shared/end_TABLE_VII_i.shared"); ?>


<? include($template[company][file_path] . "shared/spacer_TABLE_V_form.shared"); ?>




<!-- !SUBMIT: INSERT TABLE V. LESS-TRAVELD SUBMIT BELOW <TR>:  -->
<?
if($gateway[requested_value]) {
  $left_submit = "";
  $right_submit = "";
  $center_submit = "<input type=submit name=submit value='Confirm and Authorize Now...'>";
} else {
  $left_submit = "<input type=submit name=cancel value='Cancel'>";
  $center_submit = "<input type=submit name=edit value='Edit'>";
  $right_submit = "<input type=submit name=submit value='Confirm and Authorize Now...'>";	
}
include($template[company][file_path] . "shared/TABLE_XI_submit.shared"); ?>
<!-- !SUBMIT: INSERT TABLE V. LESS-TRAVELD SUBMIT ABOVE <TR>:  -->

    
    
    
<!-- -------------------- INSERT FORM CONTENT ABOVE <TR>: ------------------------ -->
<? include($template[company][file_path] . "shared/end_TABLE_V_form.shared"); ?>



<? include($template[company][file_path] . "shared/end_TABLE_II.shared"); ?>


<? include($template[company][file_path] . "shared/TABLE_I_ii_tightfooter.shared"); ?>


<? include($template[company][file_path] . "shared/end_TABLE_I_ii.shared"); ?>
<? include($template[company][file_path] . "shared/end_TABLE_I_i.shared"); ?> 


<? include($template[company][file_path] . "shared/end_HTML.shared"); ?> 
