<form action="<?=base_url('settings/save-payment-setting')?>" method="POST" id="setting-form">

    <div class="card-header">
      <h4><?=$this->lang->line('paypal')?$this->lang->line('paypal'):'Paypal'?></h4>
    </div>
    <div class="card-body row">
      <div class="form-group col-md-12">
        <label><?=$this->lang->line('paypal_client_id')?$this->lang->line('paypal_client_id'):'Paypal Client ID'?></label>
        <input type="text" name="paypal_client_id" value="<?=(isset($paypal_client_id) && !empty($paypal_client_id))?htmlspecialchars($paypal_client_id):''?>" class="form-control">
      </div>
    </div>

    <div class="card-header">
      <h4><?=$this->lang->line('stripe')?$this->lang->line('stripe'):'Stripe'?></h4>
    </div>
    <div class="card-body row">
      <div class="form-group col-md-12">
        <label><?=$this->lang->line('publishable_key')?$this->lang->line('publishable_key'):'Publishable Key'?></label>
        <input type="text" name="stripe_publishable_key" value="<?=(isset($stripe_publishable_key) && !empty($stripe_publishable_key))?htmlspecialchars($stripe_publishable_key):''?>" class="form-control">
      </div>
      <div class="form-group col-md-12">
        <label><?=$this->lang->line('secret_key')?$this->lang->line('secret_key'):'Secret Key'?></label>
        <input type="text" name="stripe_secret_key" value="<?=(isset($stripe_secret_key) && !empty($stripe_secret_key))?htmlspecialchars($stripe_secret_key):''?>" class="form-control">
      </div>
    </div>


    <div class="card-header">
      <h4><?=$this->lang->line('razorpay')?$this->lang->line('razorpay'):'Razorpay'?></h4>
    </div>
    <div class="card-body row">
      <div class="form-group col-md-12">
        <label><?=$this->lang->line('key_id')?$this->lang->line('key_id'):'Key ID'?></label>
        <input type="text" name="razorpay_key_id" value="<?=(isset($razorpay_key_id) && !empty($razorpay_key_id))?htmlspecialchars($razorpay_key_id):''?>" class="form-control">
      </div>
    </div>

    
    <div class="card-header">
      <h4><?=$this->lang->line('offline_bank_transfer')?$this->lang->line('offline_bank_transfer'):'Offline / Bank Transfer'?></h4>
    </div>
    <div class="card-body row">
      <div class="form-group col-md-12">
        <div class="form-check form-check-inline">
          <input class="form-check-input" type="checkbox" id="offline_bank_transfer" name="offline_bank_transfer" value="<?=(isset($offline_bank_transfer) && !empty($offline_bank_transfer))?$offline_bank_transfer:0?>" <?=(isset($offline_bank_transfer) && !empty($offline_bank_transfer) && $offline_bank_transfer == 1)?'checked':''?>>
          <label class="d-block form-check-label" for="offline_bank_transfer"><?=$this->lang->line('active')?$this->lang->line('active'):'Active'?> 
            <i class="fas fa-question-circle" data-toggle="tooltip" data-placement="right" title="" data-original-title="<?=$this->lang->line('you_have_to_contact_a_user_by_yourself_for_further_process')?$this->lang->line('you_have_to_contact_a_user_by_yourself_for_further_process'):'You have to contact a user by yourself for further process.'?>"></i>
          </label>
        </div>
      </div>
    </div>

    <div class="card-footer bg-whitesmoke text-md-right">
      <button class="btn btn-primary savebtn"><?=$this->lang->line('save_changes')?$this->lang->line('save_changes'):'Save Changes'?></button>
    </div>
    <div class="result"></div>
</form>