{% include 'header.twig' %}
</div>
    </div>
 <div class="inner-wrap">
      <div class="container">
    <div class="row">
      <div class="col-md-10 col-md-offset-1">
        <ul class="nav nav-tabs" id="myTab" role="tablist">
          <li class="nav-item active" role="presentation">
            <a class="nav-link active" id="home-tab" data-toggle="tab" href="#addfund" role="tab" aria-controls="home" aria-selected="true">Add Funds</a>
          </li>
          <li class="nav-item" role="presentation">
            <a class="nav-link" id="profile-tab" data-toggle="tab" href="#fundhistory" role="tab" aria-controls="profile" aria-selected="false">History</a>
          </li>
        </ul>
        
        {% if error %}
          <div class="alert alert-dismissible alert-danger">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            {{ errorText }}
          </div>
        {% endif %}
        {% if success %}
          <div class="alert alert-dismissible alert-success">
            <button type="button" class="close" data-dismiss="alert">&times;</button>
            {{ successText }}
          </div>
		  
<meta http-equiv="refresh" content="0; URL=/" />
        {% endif %}
      </div>
<div class="tab-content" id="myTabContent">
          <div class="tab-pane fade active in" id="addfund" role="tabpanel" aria-labelledby="home-tab">
            <div class="row fund-row">
              <div class="col-sm-7">
                <h2 class="dash-title">Add Funds </h2>

 
    <div class="col-md-12>

        {% if paymentsList %}
          <div class="well">
       
        
  
              <form method="post" action="addfunds">

                <div class="form-group">
                  <label for="method" class="control-label">{{ lang['addfunds.method'] }}</label>
                  <select class="form-control" id="payment_method" name="payment_type">
                   {% for payment in paymentsList %}
                      <option value="{{ payment['id'] }}" {% if data['payment_type'] == payment['id'] %} selected {% endif %} >{{ payment['method_name'] }}</option>
                    {% endfor %}
                  </select>
                </div>

                  <div class="form-group">
                      <label for="method" class="control-label">{{ lang['addfunds.amount'] }}</label>
                      <input class="form-control" name="payment_amount" value="{{ data['payment_amount'] }}">
                  </div>

                <button type="submit" class="btn btn-primary">{{ lang['addfunds.button'] }}</button>
              </form>
    
          </div>
        {% endif %}
      </div>
      <br>
      <div class="card">
{% if PaytmQR == 2 %}
        <div class="col-md-12">
           <div class="well">
            <div class="">
             <h1><center>
                PaytmQR
    			 </h1></center>
              <div class="panel-body">
                <form method="post" action="addfunds">
                    <center><img width="50%" src="{{ PaytmQRimage }}"></center>
                    <div class="form-group col-md-12">
                        <label for="method" class="control-label">Amount</label>
                        <input class="form-control" name="payment_amount" value="{{ data['payment_amount'] }}">
                    </div>
                    <div class="form-group col-md-12">
                        <label for="method" class="control-label">Order ID</label>
                        <p>Enter Transaction/Order ID without spaces. Example - 202010122210100058</p>
                        <input class="form-control" name="paytmqr_orderid" value="{{ data['paytmqr_orderid'] }}">
                    </div>
                    <input type="hidden" class="form-control" name="payment_type" value="14">
                    <div class="col-md-12">
                      <button type="submit" class="btn btn-primary">Submit</button>
                    </div>
                </form>
              </div>
            </div>  
          </div>
        </div>
      {% endif %}
</div>
     
       

 
                <div class="coin">
                	<img class="img-responsive" src="https://res.cloudinary.com/dntxtfcmk/image/upload/v1592036623/socialmatrix/coin.png" alt="coin"> 
                </div>
                <div class="coin-txt text-center">
                  <p>1$ Minimum Payment!<br>5% Bonus on Perfect Money Payments!</p>
                </div>
              </div>
              <div class="col-sm-5">
                <div class="credit-card">
                	<img class="img-responsive" src="https://res.cloudinary.com/dntxtfcmk/image/upload/v1592035370/socialmatrix/credit-card.png" alt="credit-card">
                </div>
                <div class="panel-group fund-tabs" id="accordion">
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"><i class="fas fa-angle-down"></i> Credit Card</a>
                      </h4>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse in">
                      <div class="panel-body">
                        <p>Credit Card payment is enabled only for some users,Please Open a <a href="/tickets" style="color:#fff;">new ticket</a> if you wish to use this payment method.</p>
                      </div>
                    </div>
                  </div>
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"><i class="fas fa-angle-down"></i> Paypal </a>
                      </h4>
                    </div>
                    <div id="collapseTwo" class="panel-collapse collapse">
                      <div class="panel-body">
                        <p> Paypal payment is enabled only for some users,Please Open a <a href="/tickets" style="color:#fff;">new ticket</a> if you wish to use this payment method. </p>
                      </div>
                    </div>
                  </div>
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree"><i class="fas fa-angle-down"></i> Bitcoin</a>
                      </h4>
                    </div>
                    <div id="collapseThree" class="panel-collapse collapse">
                      <div class="panel-body">
                        <p>BTC Adress - 3N5DNdPpEdbWywPPLMX8HWsPZghbqJoa4N [Please raise a ticket with your deposit id and wait for some hours. </p>
                      </div>
                    </div>
                  </div>
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion" href="#collapsefour"><i class="fas fa-angle-down"></i> Payoneer</a>
                      </h4>
                    </div>
                    <div id="collapsefour" class="panel-collapse collapse">
                      <div class="panel-body">
                        <p> email - satyamsamdhyan88@gmail.com [After payment raise a ticket with your deposit id and wait for some hours. </p>
                      </div>
                    </div>
                  </div>
                  <div class="panel panel-default">
                    <div class="panel-heading">
                      <h4 class="panel-title">
                        <a data-toggle="collapse" data-parent="#accordion" href="#collapsefive"><i class="fas fa-angle-down"></i> Skrill</a>
                      </h4>
                    </div>
                    <div id="collapsefive" class="panel-collapse collapse">
                      <div class="panel-body">
                        <p> email - satyamsamdhyan88@gmail.com [After payment raise a ticket with your deposit id and wait for some hours.</p>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              
            </div>
          </div>
          <div class="tab-pane fade" id="fundhistory" role="tabpanel" aria-labelledby="home-tab">
                        <div class="well text-center">
              <p><b>Fund History Not Found</b></p>
            </div>
                      </div>
        </div>
        
      </div>
    </div>
  </div>

  
    </div>
  </div>
{% include 'footer.twig' %}
