<section class="content-header">
    <h1>Dashboard <small>Control panel</small></h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
        <li class="active">Dashboard</li>
    </ol>
</section>

<!-- Main content -->
<section class="content">
    <div class="row">

        <div class="col-md-6 col-xs-12">
            <!-- Widget: user widget style 1 -->
            <div class="box box-solid">
                <div class="box-header with-border">
                    <h3 class="box-title">Informações de Acesso</h3>
                </div>
                <!-- /.box-header -->
                <div class="box-body box-profile">
                    <h3 class="profile-username text-center"><?php echo $nome; ?></h3>
                    <p class="text-muted text-center">Seja bem-vindo(a)</p>
                    <br/>
                    <ul class="list-group list-group-unbordered">
                        <li class="list-group-item text-center">
                            Esse é o seu <b id="acesso"><?php echo $n_acessos_sistema;?></b>° acesso.
                            <!--<b>Followers</b> <a class="pull-right">1,322</a>-->
                        </li>
                        <li class="list-group-item">
                            <b>Seu último acesso foi em</b> <a class="pull-right"><?php echo $data_acesso;?> as <?php echo $hora_acesso; ?></a>
                        </li>
                        <li class="list-group-item">
                            <b>Ip de Acesso:</b> <a class="pull-right"><?php echo $ip_atual;?></a>
                        </li>
                    </ul>
                </div>
                <!-- /.box-body -->
            </div>
        </div>
    </div>
</section>

<?php if(isset($modal)){ echo $modal;} ?>