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

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>Arquivar</h1>
    </section>
    <!-- Main content -->
    <section class="content container-fluid">
        <div class="box">
            <div class="box-body">

                <?php echo $this->session->flashdata('erro-form'); ?>

                <?php if ($assinaturas != NULL) { ?>

                    <div class="row">
                        <div class="col-sm-12">
                            <form action="<?= base_url('certificadosarquivados') ?>" method="POST"  id="form-arquivado">
                                <div align="center">
                                <div class="col-sm-4">
                                   <label>Início</label>
                                    <div class="input-group">
                                        <span class="input-group-btn">
                                            <button type="button" class="btn btn-flat btn-botao"> <i class="fa fa-calendar" aria-hidden="true"></i></button>
                                        </span>
                                        <input type="text" name="inicio" class="form-control datas" required="" style="cursor: pointer">
                                    </div>
                                </div>
                                <div class="col-sm-4">
                                   <label>Fim</label>
                                    <div class="input-group">
                                        <span class="input-group-btn">
                                            <button type="button" class="btn btn-flat btn-botao"> <i class="fa fa-calendar" aria-hidden="true"></i></button>
                                        </span>
                                        <input type="text" name="fim" class="form-control datas" required="" style="cursor: pointer">
                                        <span class="input-group-btn">
                                            <button type="submit" class="btn btn-flat btn-botao"> Enviar</button>
                                        </span>
                                    </div>
                                </div>
                                </div>

                            </form>
                        </div>
                    </div>
                <?php } else { ?>
                    <span style="font-size: 13pt;">  <i class="fa fa-info-circle" aria-hidden="true"></i> Nenhum registro encontrado</span>
                <?php } ?>
                    <br>
          <?php echo $this->session->flashdata('erro-certificado'); ?>

            </div>
        </div>

    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $this->load->view('commons/rodape'); ?>
