<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<form method="POST" action="/payment/make-cc-payment/<?=$token?>" target="_blank">
<div data-type="PaymentContent" data-code="0" class="showDiv">   

  <div id="PaidListID"></div> 

  <div class="remainingBox">    
      <div class="rbTop">        
          <div class="rbtLeft">             
          <div class="rbtTitle">Ödediğiniz Toplam Tutar</div>
           <div class="rbtPrice" id="TotalLeftPriceJS"><?=$res_detail->payment?> TRY</div>         
            </div>


<div class="rbtRight">  
 <div class="rbtTitle">Toplam Ödemenizden Kalan Tutar</div> 
   <div class="rbtPrice greenColor" id="TotalBalancePriceJS"><?=$res_detail->total_sales?> TRY</div>          </div>      
    </div>   
     <div class="rbBottom"> 

<div class="rbLabel">Ödemek İstediğiniz Tutar</div>

<input class="rbInput" id="PayPrice" placeholder="Tutar Giriniz" value="<?=$res_detail->remaining_payment?>">         
 <p class="hideDiv" style="padding: 5px; font-size: 12px; color: red; text-align: right;" id="minPriceInfoID"></p>

       </div>      
      </div>

       <div class="biCardInst relativeDiv"> 
                 <div class="localLoading hideDiv"></div>      

<style>
	 .cardList .cardBox.selected {
    border: 2px solid 
    #1f9bde;
}
</style>
<div class="biHalf">

	<div class="cardListTitle">Ödeme Yapmak İstediğiniz Kartı Seçiniz</div>          

	<div class="vposcardList">


<div id="CardListID">

</div> 


	         </div> 

<div class="allCards taksitler" price="<?=$res_detail->total_sales?>" hotel-id="<?=$res_detail->product_id?>" data-type="<?=$res_detail->reservation_type?>">Tüm Kartlara Göre Taksit Tablosu</div>      </div> 








 <div class="biHalf fr">          <div class="cardListTitle blueTitle" id="CardNameId"> </div>   
 <div class="instList" id="CardInstallmenID"> 




</div>        </div>       </div>  


 <div class="biSpacer"></div> 

<input type="text" id="total_amount" name="amount" value="">
<input type="text" id="total_totalamount" name="totalamount" value="">
<input type="text" id="total_card_id" name="card_id" value="">
<input type="text" id="total_installment" name="installment" value="">
<input type="text" id="total_extrainstallment" name="extrainstallment" value="">


  <div class="biCardDetails">  

      <div class="biInputMain">  

              <div class="full-label">Kart Üzerindeki İsim ve Soyisim</div>    


<input type="text" name="card_holder_name"  placeholder="Kart Sahibinin Adını" class="full-input">      </div>

<div class="biInputMain">          <div class="full-label">Kart Numarası</div>          <input type="text" data-control="cardtrue" placeholder="Kart Numarasını" name="cardNumber" class="full-input credit_card">      </div> 

<div class="biInputMain expiration">          <div class="full-label">Son Kullanma Tarihi</div>

<select class="full-select" name="ccmonth" placeholder="Kart Son Kullanım Tarihini">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>


<select class="full-select fr" name="ccyear" palaceholder="Kart Son Kullanım Tarihini">
<?php for ($i=date('Y'); $i <(date('Y')+15) ; $i++) { ?>
<option value="<?=$i?>"><?=$i?></option>         
<?php }?>
         </select>      </div> 


<div class="biInputMain ccv">          <div class="full-label">CCV No</div>          <input type="text" data-control="cardtrue" name="CCV" placeholder="Kart CCV" maxlength="3" class="full-input">      </div>  </div>  <!-- Bi Card Details -->  </div>


<div class="clearfix">                      </div>
                    <div class="bcbHolderNew">
<button  class="bcButtonNew">Ödemeyi Tamamla <i class="fa fa-arrow-circle-right"></i></button>
                    </div>           
                  </form>