<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <?php
    $this->load->view('user/common_style');
  ?>
  <link rel="stylesheet" href="<?php echo base_url();?>styles/fonts/Socialico/stylesheet.css">
  <link href="<?php echo base_url();?>styles/css/table.css" type="text/css" rel="stylesheet" />
  <script src="<?php echo base_url();?>styles/js/modernizr.js"></script>
  <style>
    .accordion_top_button_area button[type=submit]{
      font-size: 14px;
      color: #fff;
      text-transform: uppercase;
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      line-height: 50px;
      display: block;
      text-align: center;
    }
    .datatable select {
     background-size: 35% auto;
    }
  </style>
</head>
<body>
  <div id="preloader">
    <div class="preloader_spinner"> </div>
  </div>

  <section class="body_wrapper home_one">
    <?php
      $this->load->view('user/header');
    ?> 

    <!-- ============= banner_area start ============== -->
    <section class="about_banner_area">
      <div class="about_banner_area_bg"></div> <!-- this code is for parallax -->
      <div class="about_banner_area_table">
        <div class="about_banner_area_table_cell">
          <div class="container">
            <div class="row">
              <div class="col-xs-12">
                <div class="about_banner_area_content">
                  <h3><?php echo $this->lang->line('Investors_lbl'); ?> <?php echo $this->lang->line('menu_statistics'); ?></h3>
                  <ul>
                    <li><a href="<?php echo base_url(); ?>"><?php echo $this->lang->line('text_home'); ?></a></li>
                    <li><a href=""><?php echo $this->lang->line('Investors_lbl'); ?> <?php echo $this->lang->line('menu_statistics'); ?></a></li>
                  </ul>
                </div>
              </div>
            </div>
          </div> <!-- container end -->
        </div> <!-- table_cell end -->
      </div> <!-- table end -->
    </section>
    <!-- ============= banner_area end ============== -->

    <section class="dmain1">
    	<div style="margin-top:50px;margin-bottom:50px;" class="container"> 
        <h2 class="section_hedings1">
          <?php echo $this->lang->line('Investors_lbl'); ?> 
          <span> <?php echo $this->lang->line('menu_statistics'); ?> </span>
        </h2>
        <br/>
        <div class="row">
          <div class="col-lg-12">
            <div class="">
              <?php $currency_info = defaultcurrency();?>
              <table>
                <colgroup>
                  <col width="50%">
                  <col width="50%">
                </colgroup>
                <thead>
                  <tr>
                    <th><?php echo $this->lang->line('menu_statistics'); ?> </th>
                    <th><?php echo $this->lang->line('values_lbl'); ?></th>
                  </tr>
                </thead>
                <tbody>
                  <?php if($show_stats_box == 'on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_started_lbl');?></td>
                      <td><?php echo $stat_started;?></td>
                    </tr>
                    <tr>
                      <td><?php echo $this->lang->line('site_running_lbl');?></td>
                      <td><?php echo $running_days;?></td>
                    </tr>
                    <?php if($show_total_account == 'on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_totacc_lbl');?></td>
                      <td><?php echo $total_accounts;?></td>
                    </tr>
                    <?php } ?>
                    <?php if($show_active_accounts =='on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_activeac_lbl');?></td>
                      <td><?php echo $total_active_acc;?></td>
                    </tr>
                    <?php } ?>
                    <?php if($show_deposit_amount == 'on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_totdep_lbl');?></td>
                      <td><?php echo $currency_info->currency_symbol."".number_format($total_deposit_amnt, $currency_info->deimal_point, '.', '').' '.strtoupper($currency_info->currency_unit);?></td>
                    </tr>
                    <?php } ?>
                    <?php if($show_withdraw_amount == 'on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_totwith_lbl');?></td>
                      <td><?php echo $currency_info->currency_symbol."".number_format($total_with_amnt, $currency_info->deimal_point, '.', '').' '.strtoupper($currency_info->currency_unit); ?></td>
                    </tr>
                    <?php } ?>
                    <?php if($show_today_deposit == 'on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_todayde_lbl');?></td>
                      <td><?php if($today_with_amnt != '') { echo $currency_info->currency_symbol."".number_format($today_with_amnt, $currency_info->deimal_point, '.', '').' '.strtoupper($currency_info->currency_unit); } else {  echo "Nil";} ?></td>
                    </tr>
                    <?php } ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_news_mem_lbl');?></td>
                      <td><?php echo ($new_member_acc) ? $new_member_acc : '0';?></td>
                    </tr>
                    <?php if($show_today_withdraw == 'on') { ?>
                    <tr>
                      <td><?php echo $this->lang->line('site_today_with_lbl');?></td>
                      <td><?php if($today_with_amnt != '') { echo $currency_info->currency_symbol."".number_format($today_with_amnt, $currency_info->deimal_point, '.', '').' '.strtoupper($currency_info->currency_unit);} else { echo "Nil"; } ?></td>
                    </tr>
                    <?php } ?>
                    <?php } else { ?>
                      <tr>
                        <td colspan="2"><?php echo $this->lang->line('lbl_investors_status_disabled');?></td>
                      </tr>
                    <?php } ?>
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
    </section>

    <?php
      $this->load->view('user/footer');
    ?>
  </section>

  <?php
    $this->load->view('user/common_script');
  ?>
</body>
</html>
