<div class="panel panel-default ">
        <input type='hidden' name='resultado' data-encode='<?php echo $encode?>' id='resultado' />
        <div class="panel-heading">
            <h3 class="panel-title">Pesquisa </h3>
        </div>
        <form id="form_emails" action="<?php echo base_url().'newsletter/painel/relatorio_email#table-label-E-mails'; ?>" method="post">
            <input type='hidden' name='type' value='' id='type_search' />
        </form>
        <div class="panel-body">
            <div class="row">
                <div class="col-lg-3 col-md-6">
                    <div class="panel panel-verde">
                        <div class="panel-heading">
                            <div class="row">
                                <div class="col-xs-3">
                                    <i class="fa fa-users fa-5x"></i>
                                </div>
                                <div class="col-xs-9 text-right">
                                    <div class="huge">
                                        <?php  echo $emails_totais;?>
                                    </div>
                                    <div>E-mails Totais</div>
                                </div>
                            </div>
                        </div>
                        <a class="send_form" data-parm="false" href="#">
                            <div class="panel-footer">
                                <span class="pull-left">View Details</span>
                                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                                <div class="clearfix"></div>
                            </div>
                        </a>
                    </div>
                </div>
                
                <div class="col-lg-3 col-md-6">
                    <div class="panel panel-azul">
                        <div class="panel-heading">
                            <div class="row">
                                <div class="col-xs-3">
                                    <i class="fa fa-check-square-o fa-5x"></i>
                                </div>
                                <div class="col-xs-9 text-right">
                                    <div class="huge">
                                        <?php  echo $emails_ativos;?>
                                    </div>
                                    <div>E-mails Ativados</div>
                                </div>
                            </div>
                        </div>
                        <a class="send_form" data-parm="1" href="#">
                            <div class="panel-footer">
                                <span class="pull-left">View Details</span>
                                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                                <div class="clearfix"></div>
                            </div>
                        </a>
                    </div>
                </div>
                
                <div class="col-lg-3 col-md-6">
                    <div class="panel panel-laranja">
                        <div class="panel-heading">
                            <div class="row">
                                <div class="col-xs-3">
                                    <i class="fa fa-pencil-square-o fa-5x"></i>
                                </div>
                                <div class="col-xs-9 text-right">
                                    <div class="huge">
                                        <?php  echo $emails_pendentes;?>
                                    </div>
                                    <div>E-mails Pendentes</div>
                                </div>
                            </div>
                        </div>
                        <a class="send_form" data-parm="0" href="#">
                            <div class="panel-footer">
                                <span class="pull-left">View Details</span>
                                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                                <div class="clearfix"></div>
                            </div>
                        </a>
                    </div>
                </div>
                
                <div class="col-lg-3 col-md-6">
                    <div class="panel panel-vermelho">
                        <!---->
                        <div class="panel-heading">
                            <div class="row">
                                <div class="col-xs-3">
                                    <i class="fa fa-square-o fa-5x"></i>
                                </div>
                                <div class="col-xs-9 text-right">
                                    <div class="huge">
                                        <!--style="font-size: 37px;margin: 7px;"-->
                                        <?php  echo $emails_desescritos;?>
                                    </div>
                                    <div>E-mails Descadastrados</div>
                                </div>
                            </div>
                        </div>
                        <a class="send_form" data-parm="2" href="#">
                            <div class="panel-footer">
                                <span class="pull-left">View Details</span>
                                <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                                <div class="clearfix"></div>
                            </div>
                        </a>
                    </div>
                </div>
                
                <!--<div class="col-lg-3 col-md-6">
                        <div class="panel panel-roxo">
                            <div class="panel-heading">
                                <div class="row">
                                    <div class="col-xs-3">
                                        <i class="fa fa-bar-chart fa-5x"></i>
                                    </div>
                                    <div class="col-xs-9 text-right">
                                        <div class="huge">
                                            <?php // echo $total_resultados;?>
                                        </div>
                                        <div>Resultados da pesquisa</div>
                                    </div>
                                </div>
                            </div>
                            <a class="send_form" data-parm="1" href="#">
                                <div class="panel-footer">
                                    <span class="pull-left">View Details</span>
                                    <span class="pull-right"><i class="fa fa-arrow-circle-right"></i></span>
                                    <div class="clearfix"></div>
                                </div>
                            </a>
                        </div>
                    </div>-->

            </div>
            <?php // if($total['fechado'] > 0 || $total['aberto'] > 0 || $total_nrespondido > 0){?>
                <div class="col-md-3">
                </div>
                <div class="col-md-7 col-sm-12">
                    <div id="donutchart" style="width: 100%; height: 350px;"></div>
                </div>
                <div class="col-md-2"></div>
                <?php // }?>

        </div>
    </div>