<section class=" bg-primary position-relative mountain-bg pt-5 pb-5">


<?php 
use App\Models\CommonModel;
$common_model = model('CommonModel');
$site_data = $common_model->GetSettingall('footer');
if($site_data) {
foreach ($site_data as $row) {
$this->data[$row->site_key] = $row->site_value;
}
} else {
$site_data_default = $common_model->defaultlangSettingall('footer');
foreach ($site_data_default as $row) {
$this->data[$row->site_key] = $row->site_value;
}
}
?>

  <div class="container">
    <div class="row" style="position:relative; z-index:2">
      <div class="col-lg-4"> <div class="footer-logo  wow fadeInUp"  data-wow-delay="0.5s">
        <?php 
            $logo_img = site_info('site_logo');
            if($logo_img) {
            ?>
        <a  href="<?php echo base_url();?>"><img  src="<?php echo base_url();?>/content/site/<?php echo site_info('site_logo');?>" alt="<?php echo site_info('site_logo');?>"  class="mb-4" style="width: 75%;"></a> 
            <?php } else { ?>
        <a href="<?php echo base_url();?>"><img src="<?php echo base_url();?>/styles/new_style/images/home-logo.png" alt="logo" class="mb-4 " ></a> 
      <?
    }
    ?>
      </div> </div>
      <div class="col-lg-8">
        <div class="row">
         <?php echo $this->data['footer1']; ?>
          <div class="col-lg-4  col-md-4 col-sm-4">
              <?php echo $this->data['footer2']; ?>
          </div>
        </div>
      </div>
    </div>
    <div class="row" style="position:relative; z-index:2">
      <div class="col-lg-12 text-center"> <span class="text-white text-opacity-50 fs-6 fw-bold " >  <?php echo $this->data['footer_note']; ?></span> </div>
    </div>
  </div>
  <?php

      echo view('user/tradingDetaction');

?>
</section>
<script src="<?php echo base_url()?>/styles/new_style/js/jquery-2.1.4.min.js"></script>



<!-- <script src="<?php echo base_url()?>/styles/new_style/js/bootstrap.min.js"></script> -->
<script src="<?php echo base_url()?>/styles/new_style/js/owl.carousel.min.js"></script>
<script src="<?php echo base_url()?>/styles/new_style/js/script.js"></script>
<script src="<?php echo base_url()?>/styles/new_style/js/wow.min.js"></script>
<script src="<?php echo base_url('/assets/js/plugins/notifications/jquery.quicksearch.js');?>"></script>
<script type="text/javascript">
$(document).ready(function() {

    //     var xhr3;
    // var fn3 = function(){
    // if(xhr3 && xhr3.readyState != 4){
    // xhr3.abort();
    // }
    // xhr3 = $.ajax({
    // type: 'post',
    // url: "<?php echo base_url("cron_third");?>",
    // success: function(data) {
    // console.log(data);
    // }
    // });
    // };
    // var interval = setInterval(fn3, 20000);
    //   var xhr1;
    // var fn1 = function(){
    //     if(xhr1 && xhr1.readyState != 4){
    //         xhr1.abort();
    //     }
    //     xhr1 = $.ajax({
    //         type: 'post',
    //         url: "<?php echo base_url("cron_first");?>",
    //         success: function(data) {

    //             console.log(data);
    //         }
    //     });
    // };
    // var interval = setInterval(fn1, 20000);

    // var xhr2;
    // var fn2 = function(){
    // if(xhr2 && xhr2.readyState != 4){
    // xhr2.abort();
    // }
    // xhr2 = $.ajax({
    // type: 'post',
    // url: "<?php echo base_url("cron_second");?>",
    // success: function(data) {

    // console.log(data);

    // }
    // });
    // };
    // var interval = setInterval(fn2, 10000);





    //   var xhr4;
    // var fn4 = function(){
    // if(xhr4 && xhr4.readyState != 4){
    // xhr4.abort();
    // }
    // xhr4 = $.ajax({
    // type: 'post',
    // url: "<?php echo base_url("trade_fill_check_local");?>",
    // success: function(data) {

    // console.log(data);

    // }
    // });
    // };
    // var interval = setInterval(fn4, 20000);
    });
</script>
  <script type="text/javascript">
jQuery(document).ready(function(){       
$('.selects').on('change', function(e)
{
var str = $(".selects").val();
window.location = str ; 
});
});

</script>
