<div class="col-lg-12">
    <div class="portlet">
        <div class="portlet-heading bg-success">
            <h3 class="portlet-title">
                <span class="icon"><i class="fa fa-calendar"></i> Números do Sistema
            </h3>
            <div class="portlet-widgets">
                <a href="javascript:;" data-toggle="reload"><i class="zmdi zmdi-refresh"></i></a>
                <a data-toggle="collapse" data-parent="#accordion1" href="#bg-primaryNumeros"><i
                        class="zmdi zmdi-minus"></i></a>
                <a href="#" data-toggle="remove"><i class="zmdi zmdi-close"></i></a>
            </div>
            <div class="clearfix"></div>
        </div>
        <div id="bg-primaryNumeros" class="panel-collapse collapse in">
            <div class="col-12" style="margin-top: 1%">
                <div class="row">
                    <!-- Column -->
                    <div class="col-md-6 col-lg-4 col-xlg-2">
                        <div class="card card-inverse card-info">
                            <div class="box bg-info text-center">
                                <h1 class="font-light text-white"><i class="fa fa-car"></i> <?php echo $this->db->count_all('veiculomorador') ?></h1>
                                <h6 class="text-white">Veículos</h6>
                            </div>
                        </div>
                    </div>
                    <!-- Column -->
                    <div class="col-md-6 col-lg-4 col-xlg-2">
                        <div class="card card-primary card-inverse">
                            <div class="box text-center">
                                <h1 class="font-light text-white"><i class="fa fa-twitter"></i> <?php echo $this->db->count_all('animaismorador') ?></h1>
                                <h6 class="text-white">Animais</h6>
                            </div>
                        </div>
                    </div>
                    <!-- Column -->
                    <div class="col-md-6 col-lg-4 col-xlg-2">
                        <div class="card card-inverse card-success">
                            <div class="box text-center">
                                <h1 class="font-light text-white"><i class="fa fa-user"></i> <?php echo $this->db->query("SELECT COUNT(*)as a FROM morador WHERE relacaoImovel = 'Locatário'")->row()->a ?></h1>
                                <h6 class="text-white">Locatários</h6>
                            </div>
                        </div>
                    </div>
                    <!-- Column -->
                    <div class="col-md-6 col-lg-4 col-xlg-2">
                        <div class="card card-inverse card-dark">
                            <div class="box text-center">
                                <h1 class="font-light text-white"><i class="fa fa-user"></i> <?php echo $this->db->query("SELECT COUNT(*)as a FROM morador WHERE relacaoImovel = 'Proprietario Residente'")->row()->a ?></h1>
                                <h6 class="text-white">Propriétarios</h6>
                            </div>
                        </div>
                    </div>
                    <!-- Column -->
                    <div class="col-md-6 col-lg-4 col-xlg-2">
                        <div class="card card-inverse card-megna">
                            <div class="box text-center">
                                <h1 class="font-light text-white"><i class="fa fa-pencil"></i> <?php echo $this->db->query("SELECT COUNT(*)as a FROM multanotificacao WHERE tipo = 'advertencia'")->row()->a ?></h1>
                                <h6 class="text-white">Advertências</h6>
                            </div>
                        </div>
                    </div>
                    <!-- Column -->
                    <div class="col-md-6 col-lg-4 col-xlg-2">
                        <div class="card card-inverse card-warning">
                            <div class="box text-center">
                                <h1 class="font-light text-white"><i class="fa fa-pencil"></i> <?php echo $this->db->query("SELECT COUNT(*)as a FROM multanotificacao WHERE tipo = 'multa'")->row()->a ?></h1>
                                <h6 class="text-white">Multas</h6>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!---->
<!--<div class="span12">-->
<!--    <ul class="site-stats">-->
<!--        <li class="bg_lh"><i class="icon-group"></i>-->
<!--            <strong>--><?php //echo $this->db->count_all('funcionario') ?><!--</strong>-->
<!--            <small>Funcionários</small>-->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-car"></i>-->
<!--            <strong>--><?php //echo $this->db->count_all('veiculomorador') ?><!--</strong>-->
<!--            <small>Veículos</small>-->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-twitter"></i>-->
<!--            <strong>--><?php //echo $this->db->count_all('animaismorador') ?><!--</strong>-->
<!--            <small>Animais</small>-->
<!--        </li>-->
<!---->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-wrench"></i>-->
<!--            <strong>--><?php //echo $this->db->query("SELECT COUNT(*)as a FROM livro_ocorrencia ")->row()->a ?><!--</strong>-->
<!--            <small>Ocorrências</small>-->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-tags"></i>-->
<!--            <strong>--><?php //echo $this->db->query("SELECT COUNT(*)as a FROM multanotificacao WHERE tipo = 'notificacao'")->row()->a ?><!--</strong>-->
<!--            <small>Notificações</small>-->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-tags"></i>-->
<!--            <strong>--><?php //echo $this->db->query("SELECT COUNT(*)as a FROM multanotificacao WHERE tipo = 'advertencia'")->row()->a ?><!--</strong>-->
<!--            <small>Advertências</small>-->
<!--        </li>-->
<!---->
<!--        <li class="bg_lh"><i class="fa fa-user"></i>-->
<!--            <strong>--><?php //echo $this->db->query("SELECT COUNT(*)as a FROM morador WHERE relacaoImovel = 'Locatário'")->row()->a ?><!--</strong>-->
<!--            <small>Locatários</small>-->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-user"></i>-->
<!--            <strong>--><?php //echo $this->db->query("SELECT COUNT(*)as a FROM morador WHERE relacaoImovel = 'Proprietario Residente'")->row()->a ?><!--</strong>-->
<!--            <small>Proprietários Residente</small>-->
<!--        </li>-->
<!--        <li class="bg_lh"><i class="fa fa-user"></i>-->
<!--            <strong>--><?php //echo $this->db->query("SELECT COUNT(*)as a FROM morador WHERE relacaoImovel = 'Proprietario Locador'")->row()->a ?><!--</strong>-->
<!--            <small>Proprietários Locador</small>-->
<!--    </ul>-->
<!--</div>-->