<footer>
    <div class="rodape-involucro">
        <div id="row_desk" class="row">
            <div class="col-md-2 col-lg-3 col-xs-3 rodape-esquerdo">
                <ul>
                    <li><a href="<?php echo base_url(); ?>termo">Termo de uso</a></li>
                    <li><a href="<?php echo base_url(); ?>autenticacao">Autenticador</a></li>
                    <li> <a class="itens_footer"  href="<?php echo base_url(); ?>pagina_login">Cadastro</a> </li>
                </ul>
            </div>
            <div class="col-md-8 col-lg-6 col-xs-6 rodape-centro">
                <ul>
<!--                    <li><a target="_blank" href="https://www.google.com/url?q=https://play.google.com/store/apps/details?id%3Dbr.com.ovumtec.deskcenter&sa=D&source=hangouts&ust=1539106124010000&usg=AFQjCNHD6OC9rhorz5eE28mPsuEJHeQiFg">DeskCenter</a></li>-->
<li><a href="<?php echo base_url(); ?>termo">Copyright &COPY; Imazon Cursos 2007/<?php echo date("Y") ?></a></li>

                </ul>
            </div>
            <div class="col-md-2  col-lg-3 col-xs-2 rodape-direito">
                <ul>
                    <li><a href="<?php echo base_url(); ?>suporte">Suporte</a></li>
                    <li><a href="<?php echo base_url(); ?>blog">Blog</a></li>
                    <li><a href="<?php echo base_url(); ?>cursos">Cursos</a></li>
                </ul>
            </div>
        </div>

        <!-- Footer Text -->
    <div id="row_mobi" class="container-fluid text-center text-md-left">

      <!-- Grid row -->
      <div class="row">

        <!-- Grid column -->
        <div class="col-md-6 mt-md-0 mt-3">

          <!-- Content -->
          <br><p><a class="itens_footer" href="<?php echo base_url(); ?>termo">Termo de uso</a> |
			  <a class="itens_footer"  href="<?php echo base_url(); ?>autenticacao">Autenticador</a> |
          
                          <a class="itens_footer"  href="<?php echo base_url(); ?>pagina_login">Cadastro</a> 
                          </p>

        </div>
        <!-- Grid column -->

        <hr class="clearfix w-100 d-md-none pb-3">

        <!-- Grid column -->
        <div class="col-md-6 mb-md-0 mb-3">

          <!-- Content -->
          <p><a class="itens_footer" href="<?php echo base_url(); ?>suporte">Suporte</a> |
            <a class="itens_footer" href="<?php echo base_url(); ?>blog">Blog</a> |
            <a class="itens_footer" href="<?php echo base_url(); ?>cursos">Cursos</a></p>

        </div>
        <!-- Grid column -->

      </div>
      <!-- Grid row -->

    </div>
    <!-- Footer Text -->
    <hr class="clearfix w-100 d-md-none pb-3">

    <!-- Copyright -->
<!--    <div class="footer-copyright text-center py-3"><a target="_blank" class="itens_footer" href="https://www.google.com/url?q=https://play.google.com/store/apps/details?id%3Dbr.com.ovumtec.deskcenter&sa=D&source=hangouts&ust=1539106124010000&usg=AFQjCNHD6OC9rhorz5eE28mPsuEJHeQiFg">DeskCenter</a>
    </div>-->
    <div class="footer-copyright text-center py-3"><a class="itens_footer" href="<?php echo base_url(); ?>suporte">E-mail: atendimento@imazoncursos.com.br</a>
    </div>
    <div class="footer-copyright text-center py-3"><a class="itens_footer" href="<?php echo base_url(); ?>site">Copyright © Imazon Cursos 2007/<?php echo date("Y");?></a>
    </div>
    <!-- Copyright -->

<!--        <hr>-->
        <div id="row-img" class="row">
            <div class="col-md-12 col-lg-12 col-xs-12" style="margin-left: 87px;">
                <a href="https://www.tray.com.br/" target="_blank">
                    <img src="<?php echo ROOT_URL; ?>imgs/TrayCheckout.png" style="width:65px; margin-right: 1%;">
                </a>
                <a href="http://lattes.cnpq.br/" target="_blank">
                    <img src="<?php echo ROOT_URL; ?>imgs/cnpq-lattes.jpeg" style="width:89px; margin-right:1%;"/>
                </a>
                <a href="http://di.cnpq.br/di/cadi/infoInstituicao.do?acao=buscaDadosInst&nroIdInst=744645" target="_blank">
                    <img src="<?php echo ROOT_URL; ?>imgs/cadi.jpg" style="width:226px; margin-right:1%;"/>
                </a>
               
                <a href="https://cidadeaprendizagem.com.br/entidade/imazon+cursos" target="_blank">
                    <img src="<?php echo ROOT_URL; ?>imgs/logo-cidade.jpg" style="width:158px; margin-right:1%;"/>
                </a>
                
                <a href="https://www.google.com/transparencyreport/safebrowsing/diagnostic/?hl=pt-BR#url=imazoncursos.com.br" target="_blank">
                    <img src="<?php echo ROOT_URL; ?>imgs/icone-google.png" style="width:140px; margin-right:1%;"/>
                </a>
                
                <a href="https://www.shopify.com.br/burst" target="_blank">
                    <img src="<?php echo ROOT_URL; ?>imgs/shopify.png" style="width:120px; margin-right:1%;"/>
                </a>
                <span id="ss_img_wrapper_115-55_image_en"><a href="http://www.alphassl.com/ssl-certificates/wildcard-ssl.html" target="_blank" title="SSL Certificates"><img alt="Wildcard SSL Certificates" border=0 id="ss_img" src="//seal.alphassl.com/SiteSeal/images/alpha_noscript_115-55_en.gif" title="SSL Certificate"></a></span><script type="text/javascript" src="//seal.alphassl.com/SiteSeal/alpha_image_115-55_en.js"></script>
            </div>
        </div>
    </div>
</div>
</footer>
</body>
<!--<script src="<?php echo ROOT_URL; ?>template/js/script-min.js"></script>-->
<script src="<?php echo ROOT_URL; ?>template/js/script.js"></script>

<script type="text/javascript">
    $(function () {
        $(".alterar-data-matricula").on("click", function () {
            var tdi = $(this).attr("tdi");
            if (tdi) {
                $("#modalAlteraDataMatricula").modal("show");
                $('[name="tdi"]').val(tdi);
            }
            return false;
        });
    });
    
//     $(function () {
//        $(".alterar-data-conclusao").on("click", function () {
//            var tdi = $(this).attr("tdi");
//            var dataini = $(this).attr("dataini");
//            var datafim = $(this).attr("datafim");
//            if (tdi) {
//                $("#modalAlteraDataConclusao").modal("show");
//                $('[name="tdi"]').val(tdi);
//                $('[name="matricula"]').val(dataini);
//                $('[name="matriculafinal"]').val(datafim);
//            }
//            return false;
//        });
//        
//        
//        
//        
//        
//    });
    
        $(function () {
        $(".btn-salvar-data-conclusao").on("click", function () {
            var data = $('.datepicker').val();
            if (!data) {
                return false;
            }
        });
    });


    $(function () {
        $('.datepicker').keypress(function (e) {
            var keyCode = (e.keyCode ? e.keyCode : e.which);
            if (keyCode > 7 && keyCode < 58) {
                e.preventDefault();
            }
        });
    });
    
    

    $(function () {
        $(".btn-salvar-data-matricula").on("click", function () {
            var data = $('.datepicker').val();
            if (!data) {
                return false;
            }
        });
    });

    $(function () {
         
        $('.datepicker').datepicker({
            
        
            dateFormat: 'dd-mm-yy',
            autoApply: true,
            dayNames: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado', 'Domingo'],
            dayNamesMin: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S', 'D'],
            dayNamesShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb', 'Dom'],
            monthNames: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
            monthNamesShort: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
            minDate: dt,maxDate:null
        });
    });
    
    

    function queryObj() {
        var result = {}, keyValuePairs = location.search.slice(1).split("&");
        keyValuePairs.forEach(function (keyValuePair) {
            keyValuePair = keyValuePair.split('=');
            result[decodeURIComponent(keyValuePair[0])] = decodeURIComponent(keyValuePair[1]) || '';
        });
        return result;
    }
    var myParam = queryObj();


    $(function () {
        $("#busca-topo").popover({content: '<form class="form-inline" action="<?php echo base_url(); ?>buscar_curso" method="post">' +
                    '<div class="form-group">' +
                    '<div class="input-group">' +
                    '<input type="text" class="form-control" name="busca" required placeholder="Digite uma Palavra">' +
                    '<button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-search"></i></button>' +
                    '</div>' +
                    '</div>' +
                    '</form>',
            html: true});
    });

    $("#cep").blur(function () {

        var base_url = "<?php echo base_url();?>";
        var cep_code = $(this).val();
        if (cep_code.length <= 0)
            return;
        $.ajax({
            type: 'POST',
            //url: 'https://viacep.com.br/ws/' + cep_code + '/json/',
            url: base_url+'Cep/recupera_cep',
            data:{cep_code:cep_code},
            dataType: 'json',
            //crossDomain: true,
            success: function (result) {

                if (result) {
                    if (result.erro != true) {
                        $(".estado").each(function () {
                            if ($(this).val() == result.uf) {
                                $(this).prop("selected", "true");
                            }
                        });
                        //$("input#cep").val(result.cep);
                        $("input#cidade").val(result.localidade);
                        $("input#bairro").val(result.bairro);
                        $("input#endereco").val(result.logradouro);
                        $("input#estado").val(result.uf);
                    }
                }

            }
        });
    });


    /*$('#cep').on('keyup touchend', function(){
    //$("#cep").on("keydown", function () {

        $(this).inputmask({
            mask: '99999999'
        });
    });*/
</script>
<script>
    $(document).ready(function () {
               $('#cep').on('input', function () {
                   $(this).val($(this).val().replace(/[^0-9]/g, ""));
               });
           });
</script>
<?php $this->session->unset_userdata('rescad'); ?>



<?php
 if(isset($_GET['ovl_code'])){
   $this->session->set_userdata(array('ovl_code'=>$_GET['ovl_code']));
 }
?>


</html>