
<!--Cabecalho -->
<?php $this->load->view('commons/cabecalho'); ?>
<!--Header -->
<?php $this->load->view('commons/header'); ?>

<?php echo $this->session->flashdata('saldo-transferido'); ?>
<?php echo $this->session->flashdata('termo-novo'); ?>
<?php echo $this->session->flashdata('sucesso-transacao'); ?>
<div id="conteudo">
<div class="col-md-3" >
    <div class="box box-solid">
        <div class="box-header with-border">
            <h3 class="box-title">Menu</h3>

        </div>
        <div class="box-body no-padding">
            <ul class="nav nav-pills nav-stacked">
                <li><a href="<?php echo base_url('saldo'); ?>"><i class="fa fa-usd" aria-hidden="true"></i> Saldo</a></li>
                <li><a href="<?php echo base_url('adicionarsaldo'); ?>"><i class="fa fa-plus-square" aria-hidden="true"></i>Adicionar Saldo</a></li>
                <li><a href="<?php echo base_url('transferencia'); ?>"><i class="fa fa-money" aria-hidden="true"></i>Realizar Transferência</a></li>
                <li><a href="<?php echo base_url('extrato'); ?>"><i class="fa fa-bar-chart" aria-hidden="true"></i> Minhas Transações</a></li>
                <li><a href="<?= base_url('termo') ?>"><i class="fa fa-pencil-square-o" aria-hidden="true"></i>Termo de Uso</a></li>
                <li><a href="<?= base_url('logout') ?>"><i  class="fa fa-sign-out"></i>Sair</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="container">
    <?php foreach ($saldos as $saldo) { ?>
        <div class="col-md-9">

            <div class="panel panel-primary">
                <div class="panel-heading">
                    <a class="btn btn-success btn-saldo" data-toggle="collapse" href="#collapseSaldo" aria-expanded="false" aria-controls="collapseSaldo">
                        &nbsp;Clique aqui para ver o seu saldo &nbsp;
                    </a>
                </div>
                <div class="collapse" id="collapseSaldo">
                    <div class="panel-body">
                        <ul class="list-inline">
                            <li><p class="saldo">O seu saldo é:</p></li>
                            <li><p class="dinheiro">R$ <?php echo number_format($saldo->saldo, 2, ',', '.') ?> </p></li>
                        </ul>
                    </div>
                </div> 
            </div>
              <div class="box box-success  alert-deslize">
                <div class="box-header with-border ">
                    <p class="box-title" style="font-size: 15px;">O seu ID de Negócio é: <?php echo $saldo->id_negocio ?>. <strong data-toggle="tooltip" data-placement="right" title="É número da sua conta">O que é o ID de Negócio?</strong></p>
                    <!-- /.box-tools -->
               
                </div>
                  
            </div>
            <br>
            <hr>
            <p style="font-size: 15pt;"> <i class="fa fa-exclamation-circle" style="font-size: 15pt;"></i> Notificações</p>
           
            <div class="box box-success  wow fadeInUp alert-deslizess"  data-wow-delay=".3s" >
                <div class="box-header with-border ">
                    <p class="box-title" style="font-size: 15px;">Você recebe <?php echo $cliente['bonificacao'] ?>% de bonificação por transferência realizada </p>
                    <!-- /.box-tools -->
                 <div class="box-tools pull-right">
                        <button type="button" class="btn btn-box-tool btn-alert-deslizess" data-widget="remove"><i class="fa fa-times"></i></button>
                    </div>
                </div>
            </div>
            <br>
            <div>
            <div class="embed-responsive embed-responsive-16by9 rounded ">
                    <iframe class="embed-responsive-item" src="//www.youtube.com/embed/lyEqXIBh5C4?rel=0" frameborder="0"></iframe>
            </div>
        </div>
    <?php } ?>

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

<?php $this->load->view('commons/rodape'); ?>

