<?php
/**
 * @property mysqli_connect $con
 */
?>
<?php
require("includes/logincheck.php");
require("config.php");
require("includes/functions.php");
require("includes/settings.php");

$titulo = "Minhas Transações";


//variavaeis de sessão

$revendaID = $_SESSION['adminid'];
$revendaLevel = $_SESSION['adminlevel'];
$revendaPre = $_SESSION['rev_pre'];


?>
<!-- topo -->
<?php require_once __DIR__ . '/includes/topo.php'; ?>
<!-- corpo -->
<div class="container">
    <!-- Menu -->
    <?php require_once __DIR__ . '/includes/menu.php'; ?>
    <!-- conteudo -->
    <h6>Escolha o relatorio</h6>
    <div>
        <?php if ($revendaPre == '0' || $revendaLevel == '0'): ?>
            <a href="relatorios.php" class="btn btn-default">Revendas Comum </a>&nbsp;
        <?php endif; ?>
        <?php if ($revendaPre == '1' || $revendaLevel == '0'): ?>
            <a href="cotas.php" class="btn btn-default">Revendas Pré Pago</a>
        <?php endif; ?>
    </div>

</div>
<?php require_once __DIR__ . '/includes/rodape.php'; ?>