      <footer class="main-footer" style="<?php if($_GET['Box'] != ""){ echo "display: none;"; }?>">
          <div class="pull-right hidden-xs">
              <b>Versão</b> 1.0
          </div>
          <strong>Copyright &copy; <?php echo date('Y');?>.<a href="https://www.k88.com.br"> K88 </a>.</strong> Todos os Direitos Reservados.
      </footer>

      </div><!-- ./wrapper -->


      <!-- Bootstrap 3.3.2 JS -->
      <script src="bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

      <!-- DATA TABES SCRIPT -->
      <script src="plugins/datatables/jquery.dataTables.js" type="text/javascript"></script>
      <script src="plugins/datatables/dataTables.bootstrap.js" type="text/javascript"></script>
      <!-- SlimScroll -->
      <script src="plugins/slimScroll/jquery.slimscroll.min.js" type="text/javascript"></script>
      <!-- FastClick -->
      <script src='plugins/fastclick/fastclick.min.js'></script>
      <!-- ChartJS 1.0.1 -->
      <script src="plugins/chartjs/Chart.min.js" type="text/javascript"></script>
      <!-- AdminLTE App -->
      <script src="dist/js/app.min.js" type="text/javascript"></script>
      <!-- AdminLTE for demo purposes -->
      <script src="dist/js/demo.js" type="text/javascript"></script>

      <!-- page script -->
      <script type="text/javascript">
          $(function() {
              $("#example1").dataTable({
                  "iDisplayLength": 100,
                  "aaSorting": [
                      [0, 'desc']
                  ]
              });
              $('#example2').dataTable({
                  "iDisplayLength": 100,
                  "bPaginate": true,
                  "bLengthChange": false,
                  "bFilter": false,
                  "bSort": true,
                  "bInfo": true,
                  "bAutoWidth": false
              });

              $("#tabela_pedido2").dataTable({
                  "iDisplayLength": 100,
                  "aaSorting": [
                      [4, 'desc']
                  ]
              });

          });


          $("#tabela_pedido").dataTable({
              "iDisplayLength": 100,
              aaSorting: [],
              "bSort": true,
              responsive: true,
              dom: 'lBfrtip',
              buttons: [
                  'excel', 'pdf'
              ],

              "lengthChange": true,

              //"order": [[ 0, "desc" ]],
              /*
              "language":{            
              "emptyTable":     "Nenhum registro cadastrado",
              "info": "Exibindo _PAGE_ de _PAGES_",
              "infoEmpty": "Nenhum registro listado",
              "infoFiltered": "(filtro de _MAX_ total de registro)",            
              "thousands":      ",",
              "lengthMenu": "Exibindo _MENU_ registros por pagina, Exporte para : &nbsp;&nbsp;",
              "loadingRecords": "Carregando...",
              "processing":     "Processando...",
              "search":         "Filtrar tabela:",
              "zeroRecords": "Desculpe nenhum registro não encontrado",
              "paginate": {
              "first":      "Primeiro",
              "last":       "Ultimo",
              "next":       "Próximo",
              "previous":   "Anterior"
              },
              "aria": {
              "sortAscending":  ": Ativo Filtro ASC",
              "sortDescending": ": Ativo Filtro DESC"
              }
              }
              */
          });




          //SOMENTO NUMEROS

          function SomenteNumero(e) {
              var tecla = (window.event) ? event.keyCode : e.which;
              if ((tecla > 47 && tecla < 58)) return true;
              else {
                  if (tecla == 8 || tecla == 0) return true;
                  else return false;
              }
          }
      </script>

      <!-- Add fancyBox main JS and CSS files -->
      <script type="text/javascript" src="js/source/jquery.fancybox.js?v=2.1.5"></script>
      <link rel="stylesheet" type="text/css" href="js/source/jquery.fancybox.css?v=2.1.5" media="screen" />

      <script type="text/javascript">
          $(document).ready(function() {
              /*
               *  Simple image gallery. Uses default settings
               */

              $('.fancybox').fancybox({
                  afterClose: function() {
                      window.location.reload();
                  }
              });





          });
      </script>

      </body>

      </html>