<? 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 provide your credit card details...";
$gateway_payment_step = "deposit_creditcard_1_new.gate";
$message_width = "auto";
include($template[company][file_path] . "shared/start_TABLE_IV_sysmsg.shared"); ?>


<? $form_action = "deposit_creditcard_2.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>: -->



<?  $row_title = "<font color='#DD3333'>Provide Your Credit Card Details:</font>";
  include($template[company][file_path] . "shared/TABLE_X_ROW_title.shared"); ?>




<? $row_title = "Purchase Amount:";
$field_name = "requested_value";
$row_input = "<select name=\"$field_name\" onChange=\"checkField(this, 'onChange');\">";
if($transaction[requested_value]) {
  $row_input = $row_input . "
  <option value='{$transaction[requested_value]}' selected>" . displayCURRENCY1($transaction[requested_value]) . "</option>
  <option value=''></option>";
}
$row_input = $row_input . "
  <option value=''>Select One...
  <option value=''>
  <option value='20.00'>" . displayCURRENCY1("20.00") . "
  <option value='25.00'>" . displayCURRENCY1("25.00") . "
  <option value='30.00'>" . displayCURRENCY1("30.00") . "
  <option value='35.00'>" . displayCURRENCY1("35.00") . "
  <option value='40.00'>" . displayCURRENCY1("40.00") . "
  <option value='45.00'>" . displayCURRENCY1("45.00") . "
  <option value='50.00'>" . displayCURRENCY1("50.00") . "
  <option value='60.00'>" . displayCURRENCY1("60.00") . "
  <option value='70.00'>" . displayCURRENCY1("70.00") . "
  <option value='80.00'>" . displayCURRENCY1("80.00") . "
  <option value='90.00'>" . displayCURRENCY1("90.00") . "
  <option value='100.00'>" . displayCURRENCY1("100.00") . "
  <option value='125.00'>" . displayCURRENCY1("125.00") . "
  <option value='150.00'>" . displayCURRENCY1("150.00") . "
  <option value='175.00'>" . displayCURRENCY1("175.00") . "
  <option value='200.00'>" . displayCURRENCY1("200.00") . "
  <option value='250.00'>" . displayCURRENCY1("250.00") . "
  </select>
";
$row_faq_name = "Limits";
$row_faq_id = "26";
$row_example = "";
$row_required = "yes";
$row_variable = $transaction[requested_value];
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>



<? $row_title = "Type of Card:";
$field_name = "account_method";
$row_input = "<select name=\"$field_name\" onChange=\"checkField(this, 'onChange');\">";
if($transaction[account][method]) {
  $row_input = $row_input . "
  <option value='{$transaction[account][method]}' selected>{$transaction[account][method]}</option>
  <option value=''></option>";
}
$row_input = $row_input . "
  <option value=''>Select One...
  <option value=''>
  <option value='Discover'>Discover
  <option value='MasterCard'>MasterCard
  <option value='VISA'>VISA
  </select>
";
$row_example = "";
$row_required = "yes";
$row_variable = $transaction[account][method];
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>




<? $row_title = "Card Number:";
$field_name = "account_number";
$row_input = "<input onFocus=\"checkField(this, 'onFocus', 'phone')\" onBlur=\"checkField(this, 'onBlur','phone')\" onChange=\"checkField(this, 'onChange', 'phone')\" " ;
$row_input .= "onKeyUp=\"checkField(this, '', 'phone')\" type=\"text\" size=\"25\" maxlength=\"255\" name=\"$field_name\" value='{$transaction[account][number]}'>";
$row_input .= "<input type=hidden name=source value=new>";
$row_example = "(Example: 4444-3333-2222-1111)";
$row_required = "yes";
$row_variable = $transaction[account][number];
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>






<? $row_title = "Expiration Date: ";
$field_name = "expmonth";
$row_input = "<select id=\"expmonth_id\" name=\"$field_name\" onClick=\"checkExpireDate(this, 'onClick')\" onFocus=\"checkExpireDate(this, 'onFocus')\" ";
$row_input .= "        onBlur=\"checkExpireDate(this, 'onBlur')\" type=\"text\" onChange=\"checkExpireDate(this, 'onChange')\">";

if($transaction[account][expiration_month]) {
  $row_input = $row_input . "
  <option value='{$transaction[account][expiration_month]}' selected>{$transaction[account][expiration_month]}</option>
  <option value=''></option>";
}
$row_input = $row_input . "
<option value=''>MM</option>
<option value='01'>01 JAN</option>
<option value='02'>02 FEB</option>
<option value='03'>03 MAR</option>
<option value='04'>04 APR</option>
<option value='05'>05 MAY</option>
<option value='06'>06 JUN</option>
<option value='07'>07 JUL</option>
<option value='08'>08 AUG</option>
<option value='09'>09 SEP</option>
<option value='10'>10 OCT</option>
<option value='11'>11 NOV</option>
<option value='12'>12 DEC</option>
</select> - ";

// expyear
$row_input .= "<select id='expyear' name='expyear' onFocus=\"checkExpireDate(this, 'onFocus')\" ";
$row_input .= "  onBlur=\"checkExpireDate(this, 'onBlur')\" type=\"text\" onChange=\"checkExpireDate(this, 'onChange')\">";

if($transaction[account][expiration_year]) {
  $row_input = $row_input . "
  <option value='{$transaction[account][expiration_year]}' selected>{$transaction[account][expiration_year]}</option>
  <option value=''></option>";
}
$row_input = $row_input . "
<option value=''>YYYY</option>
<option value='2003'>2003</option>
<option value='2004'>2004</option>
<option value='2005'>2005</option>
<option value='2006'>2006</option>
<option value='2007'>2007</option>
<option value='2008'>2008</option>
<option value='2009'>2009</option>
<option value='2010'>2010</option>
</select> 
";
$row_example = "";
$row_required = "yes";
if($transaction[account][expiration_month] && $transaction[account][expiration_year]) {
  $row_variable = "set";
} else {
  $row_variable = "";
}
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>








<? $row_title = "Name On Card:";
$field_name = " account_name";
$row_input  = "<input onFocus=\"checkField(this, 'onFocus')\" onBlur=\"checkField(this, 'onBlur')\" type=\"text\" onChange=\"checkField(this, 'onChange')\" " ;
$row_input .= "onKeyUp=\"checkField(this, 'onKeyUp')\" size=35 maxlength=100 name=\"$field_name\" value='{$transaction[account][name]}'>";
$row_example = "(Example: Jane D. Smith)";
$row_required = "yes";
$row_variable = $transaction[account][name];
include($template[company][file_path] . "shared/TABLE_X_ROW_I_input.shared"); ?>




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




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







<? $row_note = "<u>FEE NOTICE</u>:  A 10% transaction fee will be added to all credit card transactions.  This fee is imposed on us by our processing bank and cannot be avoided. ({$template[company][name]} does NOT make a profit on this fee.)";
//include($template[company][file_path] . "shared/TABLE_X_ROW_note.shared"); 
?>










        
<!-- -------------------- 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"); ?>

<?
if($walletid) { # set from deposit_cards.b!
  $leftfooter_name = "Use A Card From Your Wallet";
  $leftfooter_link = "deposit_creditcard_1.gate?source=wallet";
} else {
  $leftfooter_name = NULL;
  $leftfooter_link = NULL;
} 
$rightfooter_name = "required fields&nbsp<img src='" . image($http,$template[company][icon2]) . "'>";
$rightfooter_link = NULL;
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>:  -->
<?
$left_submit = "<input type=button name=cancel value='Cancel' onclick='jump(\"" . $http . $template[company][host_www] . "/deposit.b!\")'>";
$center_submit = ""; 
$right_submit = "<input type=button onclick='validateContinue()' name='continue' value='Click To Continue...'>";
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/js_generic_validation.shared"); ?> 

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

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

