<div class="row">
<div class="col-lg-12">
    <div class="main-box col-lg-12">
        
        <form action="nuevorep.php" method="POST">
            <div class="main-box-body col-lg-12">
                <div class="row">
                   

<?php 
//Se realiza la consulta a la base de datos
//para mostrar los representantes registrados
if ($tipo2['login_tipo'] == 0) {
    $result = $rep->obtenerRep();
} else {
    $result = $rep->obtenerAgente($repId);
}
?>



<div class="col-lg-12">
<div class="main-box clearfix">

<div class="main-box-body clearfix">
<div class="table-responsive">
<table id="table-example-fixed" class="table table-hover">
<thead>