<?php if ($acceso == 1) { if (!empty($_POST)) { require_once "../require/asistencias_class.php"; $asistencias = new asistencias(); $integrantes_aux = new integrantes(); $asistencias_aux = new asistencias(); $id_reunion = $_POST["id_reunion"]; $div_ancho = $_POST["div_ancho"]; $num_asistentes = $asistencias->num_asistentes($id_reunion); $num_col = (int) ($div_ancho / 400); $num_row = (int) ($num_asistentes / $num_col); $rest_row = $num_asistentes % $num_col; ?> <table align="center" width="100%" > <tr class="tabla2_encabezado" > <?php for ($i = 0; $i < $num_col; $i++) { ?> <td align="center" valign="top" width="50" > Foto </td> <td align="center" valign="top" width="250" > Nombre </td> <td align="center" valign="top" width="100" > Hora </td> <td align="center" valign="top" width="100" > Asistencia