<?php
// Defina o conteúdo da página, incluindo a consulta ao banco de dados
$page_content = '
<meta http-equiv="refresh" content="10">
<style>
    table.table-striped.table-bordered {
        text-align: center;
    }
    table.table-striped.table-bordered th,
    table.table-striped.table-bordered td {
        text-align: center;
        vertical-align: middle;
    }
</style>
<div class="right_col" role="main">
    <div class="row">
      <div class="col-md-12 col-sm-12 col-xs-12">
        <div class="x_panel">
          <div class="x_title">
            <h2>Puxador V 3.13 <small>Users</small></h2>
            <ul class="nav navbar-right panel_toolbox">
              <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
              </li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="#">Settings 1</a>
                  </li>
                  <li><a href="#">Settings 2</a>
                  </li>
                </ul>
              </li>
              <li><a class="close-link"><i class="fa fa-close"></i></a>
              </li>
            </ul>
            <div class="clearfix"></div>
          </div>
        <div class="x_content">
        <table id="datatable" class="table table-striped table-bordered">
          <thead>
            <tr>
              <th>Data Coleta</th>
              <th>Lid</th>
              <th>Origem</th>
              <th>Status</th>
              <th>Data Envio</th>
              <th>User Envio</th>
            </tr>
          </thead>
          <tbody>';

// Conecte-se ao banco de dados e recupere os dados
$servername = "br386.hostgator.com.br:3306";
$username = "onabet10_dashboard";
$password = "102030Bacon!";
$dbname = "onabet10_brejonetwork";
$conn = new mysqli($servername, $username, $password, $dbname);
$conn->set_charset("utf8mb4");

if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}


// Inclua o template da sidebar
include 'sidebar.php';
?>
