<thead>
            <tr>
                <th>Nombre/Raz&oacute;n</th>
                <th>RFC</th>
                <th>Categor&iacute;a de Riesgo</th>
                <th>Frecuencia de Contratos</th>
                <th>Frecuencia de Movimientos</th>
                <th>Acciones</th>
            </tr>
        </thead>
 
        <tbody style="text-transform: uppercase;">
<?php 
include_once '../controller/cPerfilTransaccional.php';
$perfiles = new cPerfilTransaccional();
$perf = $perfiles->getCLientes($_POST['inicio'], $_POST['fin'], $_POST['activo']);
while ($l = $perf->NextRow()) {
    ?>
        	<tr>
        		<td><?php 
    echo $l['razon'] . $l['nombre'] . " " . $l['a_pat'] . " " . $l['a_mat'];
    ?>
</td>
        		<td><?php 
    echo $l['rfc'];
    ?>
</td>
        		<td class="odd"><?php 
    switch ($l['categoria_riesgo']) {
        case 1:
            echo "BAJA";
        <thead>
            <tr>
                <th>Nombre/Raz&oacute;n</th>
                <th>RFC</th>
                <th>Categor&iacute;a de Riesgo</th>
                <th>Frecuencia de Contratos</th>
                <th>Frecuencia de Operaciones</th>
                <th>Acciones</th>
            </tr>
        </thead>
 
        <tbody style="text-transform: uppercase;">
        	<?php 
include_once '../controller/cPerfilTransaccional.php';
$perfs = new cPerfilTransaccional();
$contratos = $perfs->getCLientes();
while ($l = $contratos->NextRow()) {
    ?>
        	<tr>
        		<td class="odd"><?php 
    echo $l['razon'] . " " . $l['nombre'] . " " . $l['a_pat'] . " " . $l['a_mat'];
    ?>
</td>
        		<td class="odd"><?php 
    echo $l['rfc'];
    ?>
</td>
        		<td class="odd"><?php 
    echo $l['categoria_riesgo'];
    ?>
</td>
        <thead>
            <tr>
                <th>Nombre/Raz&oacute;n</th>
                <th>RFC</th>
                <th>Categor&iacute;a de Riesgo</th>
                <th>Frecuencia de Contratos</th>
                <th>Frecuencia de Movimientos</th>
                <th>Acciones</th>
            </tr>
        </thead>

        <tbody style="text-transform: uppercase;">
        	<?php 
include_once '../controller/cPerfilTransaccional.php';
$perfiles = new cPerfilTransaccional();
$perf = $perfiles->getCLientes($inicio, $fin, 'true');
while ($l = $perf->NextRow()) {
    ?>
        	<tr>
        		<td><?php 
    echo $l['razon'] . $l['nombre'] . " " . $l['a_pat'] . " " . $l['a_mat'];
    ?>
</td>
        		<td><?php 
    echo $l['rfc'];
    ?>
</td>
        		<td class="odd"><?php 
    switch ($l['categoria_riesgo']) {
        case 1:
            echo "BAJA";