<!doctype html>
<html lang="en">
<?php 
$validation =  \Config\Services::validation();
use App\Libraries\MyEncrypt;

$this->db = db_connect();
 $session= \Config\Services::session();
echo view('user/common_style1');?>
</head>
<body>
<?php echo view('user/common_header');?>
 
<link rel="stylesheet" href="<?php echo base_url();?>styles/fonts/Socialico/stylesheet.css">
<link rel="stylesheet" href="<?php echo base_url();?>styles/css/set1.css">
<script src="<?php echo base_url();?>styles/js/modernizr.js"></script>
 <style>
  .contact_one .contact_left_content form input[type="text"]{border:0px;}
  .prfledit label, .prfledit label {
  padding-top: 10px;
}

.help-block {
    color: #eb5055;
    margin: 0em 0em 0em !important;
}
p.frgtpwd {

text-transform: none;
  }
  .profilesub ul li label{
  display: inline;
  color: #eb5055;
}
.h6
{
  font-size: 17px;
}
.preca-bg {
    padding: 20px 10px 10px 20px;
}
.mont
{

    font-size: 15px;
}
  </style>
        

</head>
  <body>
      <?php
    
        $currency_info = defaultcurrency();
      ?>

<?php 
 
    $first_dat=$this->db->query("SELECT * FROM coin_info"); 
    $coin_det=$first_dat->getResult();    


 $site_lang_data = $this->common_model->GetSiteSettings('site');
 $token_symbol =$site_lang_data[19]->site_value;

?> 
<section class="trading-bg">
  <div class="container-fluid">
    <div class="row">
      <div class="col-lg-12">
        <div class="pairlist-bg bg-primary mt-3">
          <div class="d-mg-flex justify-content-between">
            <div class="pairlist-con">
              <h4 class="text-white mont"><span>Total assets converted(USDT):</span> 32.728114</h4>
            </div>
            <div class="pairlist-btn"><a href="" class="btn btn-outline-primary">Batch setting</a></div>
          </div>
        </div>
      </div>
    </div>
      <div class="row">
      <div class="col-lg-12">
        <div class="trading_pairbg bg-white inner-box mt-3 px-3 py-4">
          <br>

          <form class="steps-validation activation offset-lg-1" method="post" action="<?php echo base_url();?>/user/activation">
                <div class="profilesub clearfix profilesub2">
                        <h4 class="other-title theme-color"><i class="fab fa-bitcoin"></i>Activation</h4>
                      <?php if($session->getFlashData('success_message')) 
                     {?>
                        <div class="row"><div class="col-lg-12 ">
                          <p class="frgtpwd frgtpwd1"><i class="fa fa-thumbs-up"></i><?php echo $session->getFlashData('success_message');?></p></div></div>
                    <?php } 
                          elseif ($session->getFlashData('error_message')) 
                          { ?>
                             <div class="row"><div class="col-lg-12">  <p class="frgtpwd frgtpwd1 frgtpwdred"><i class="fa fa-thumbs-down"></i><?php echo $session->getFlashData('error_message');?></p></div></div>
                    <?php } 
                          else { }?>

                       <div style="clear:both;"><br></div>
            <?php 
                $coun=$this->db->query("SELECT * FROM  country");
                $countries=$coun->getResult();
            ?>

             <div class="col-lg-8 offset-lg-1">
          <div class="pair-tab">
            <div class="trading-tab">
              <ul class="nav nav-pills " id="pills-tab" role="tablist">
                <li class="nav-item col-lg-4" role="presentation">
                  <h6 class="mont">Select Country*</h6>                
                </li>
                <li class="col-lg-3">
                  <select name="country" id="country"  class="">
                    <option value="">Select country</option>
                      <?php foreach ($countries as $country) { ?>
                        <option value="<?php echo $country->Country;?>"><?php echo $country->Country;?>                          
                    </option>
                      <?php } ?>
                  </select>
                </li>
              </ul>
            </div>
          </div>
        </div>
        <div style="clear:both;"><br></div>
        <?php
          $amt=$this->db->query("SELECT * FROM  adminsettings WHERE id=1 ")->getResult();
          $amnt=$amt[0];
        ?>
        <div class="col-lg-8 offset-lg-1">
          <div class="pair-tab">
            <div class="trading-tab">
              <ul class="nav nav-pills " id="pills-tab" role="tablist">
                <li class="nav-item col-lg-4" role="presentation">
                  <h6 class="mont"><?php echo "Amount";?></h6>                
                </li>
                <li class="col-lg-4">
                  <input type="text" value="<?php echo $amnt->activation_cost;?>" name="stratgy" class="form-control"readonly/>
                </li>
                <li class="mont" style="margin-top: 15px;"> USD</li>
              </ul>
            </div>
          </div>
        </div>            

          <br>
           <div class="pair-tab">
          <div class="trading-tab">
            <div class="col-lg-5 offset-lg-4"> 
                <button class="nav-link offset-lg-3" type="submit" style="color:white;border-radius: 18px;background:#f3c356;" id="submits" >CLICK TO PAY
                </button>

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


        </div>
      </form>
      </div>
    </div>
    </div>
  </section>
 
         
           
    
            
               
><br></div>
 
       


                    


</body>

<script src="<?php echo base_url();?>styles/js/jquery-1.12.2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/js/formValidation.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>assets/js/bootstrap.js"></script>
<script src="<?php echo base_url();?>/assets/boots/js/select_min.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>/assets/boots/css/select2.css">
<script type="text/javascript">
(function( $ ) {
  $(function() {
     $(document).ready(function() {
            $('.activation').formValidation({
                framework: 'bootstrap',
                excluded: [':disabled'],
                field{
                    country: {
                                validators: {
                                    notEmpty: {
                                        message: 'select country'
                                    }

                                }
                            }
                }
            });
        });
 });
});

</script>
<?php
 echo view('user/footer1');
  echo view('user/common_script');
?> 
</html>


        
        