Пример #1
0
 function load_tabla_voters_Lider_Candidato($user, $id_lider)
 {
     $daoL_V = new DAOListaLider_Votante();
     echo '<thead><tr>
                 <td class="text-center"><strong>Cédula de ciudadanía</strong></td>
                 <td class="text-center"><strong>Nombre</strong></td>
                 <td class="text-center"><strong>Apellidos</strong></td>
                 <td class="text-center"><strong>Departamento</strong></td>
                 <td class="text-center"><strong>Municipio</strong></td>
                 <td class="text-center"><strong>Puesto</strong></td>
                 <td class="text-center"><strong>Mesa</strong></td>
             </tr></thead>';
     $lista = $daoL_V->mostrarVotantesLider_Candidato($user, $id_lider);
     for ($x = 0; $x < count($lista); $x++) {
         echo '
                 <tr>
                     <td>' . $lista[$x][0] . '</td>
                     <td>' . $lista[$x][1] . '</td>
                     <td>' . $lista[$x][2] . '</td>
                     <td>' . $lista[$x][3] . '</td>
                     <td>' . $lista[$x][4] . '</td>
                     <td>' . $lista[$x][5] . '</td>
                     <td>' . $lista[$x][6] . '</td>
                 </tr>';
     }
     echo '</tbody>';
 }