<span class='checkbox-material'></span> Todos </label> </div> </th> <th>#</th> <th>Foto</th> <th>Ape. Paterno</th> <th>Ape. Materno</th> <th>Nombre</th> <th>Edad</th> <th>Curso</th> <th>Grupo</th> <th>Tutor</th> <th>Opciones</th> </tr> </thead> <tbody> <?php echo showStudents('2'); ?> </tbody> <tfoot class="hidden changeopttwo"> <tr> <td><a href="#" onclick="selectNewClass()" data-toggle="modal" data-target=".bs-example-modal-change" class="label label-primary">Cambiar <span class="glyphicon glyphicon-share-alt"></span></a></td> </tr> </tfoot> </table> </div> </aside> </section> <!-- FIN DE SECCION DE ALUMNOS PRIMARY -->
}*/ if ($result = mysqli_query($conn, $query)) { while ($students = mysqli_fetch_assoc($result)) { $student_reg_no = $students['reg_no']; //Not needed...already in session data $student_name = $students['full_name']; $student_phonenumber = $students['phonenumber']; $student_email = $students['email']; $student_category = $students['student_category']; $student_adm_yr = $students['adm_yr']; $student_pursuing_course = $students['pursuing_course']; $student_department_id = $students['department_id']; $student_faculty_id = $students['faculty_id']; $student_campus_id = $students['campus_id']; if ($client == "desktop") { showStudents($student_reg_no, $student_name, $student_phonenumber, $student_email, $student_category, $student_adm_yr, $student_pursuing_course, $student_department_id, $student_faculty_id, $student_campus_id); } else { echo json_encode(array_map("utf8_encode", $students)); } } } else { echo "Error " . mysqli_error($conn) . "<br />"; } function showStudents($student_reg_no, $student_name, $student_phonenumber, $student_email, $student_category, $student_adm_yr, $student_pursuing_course, $student_department_id, $student_faculty_id, $student_campus_id) { //create student info page } ?>
<span class='checkbox-material'></span> Todos </label> </div> </th> <th>#</th> <th>Foto</th> <th>Ape. Paterno</th> <th>Ape. Materno</th> <th>Nombre</th> <th>Edad</th> <th>Curso</th> <th>Grupo</th> <th>Tutor</th> <th>Opciones</th> </tr> </thead> <tbody> <?php echo showStudents('1'); ?> </tbody> <tfoot class="hidden changeopttwo"> <tr> <td><a href="#" onclick="selectNewClass()" data-toggle="modal" data-target=".bs-example-modal-change" class="label label-primary">Cambiar <span class="glyphicon glyphicon-share-alt"></span></a></td> </tr> </tfoot> </table> </div> </aside> </section> <!-- FIN DE SECCION DE ALUMNOS CLUB -->
<th>#</th> <th>Foto</th> <th>Nombre</th> <th>Ape. Paterno</th> <th>Ape. Materno</th> <th>Edad</th> <th>Sexo</th> <th>Ocupación</th> <th>Curso</th> <th>Grupo</th> <th>Turor</th> <th>Ver más..</th> </tr> </thead> <tbody> <?php echo showStudents('Adultos'); ?> </tbody> </table> </div> </aside> </section> </div> </div> </div> </div> </div> <!-- <div class="col-lg-1"></div> --> </div> </div>
<span class='checkbox-material'></span> Todos </label> </div> </th> <th>#</th> <th>Foto</th> <th>Ape. Paterno</th> <th>Ape. Materno</th> <th>Nombre</th> <th>Edad</th> <th>Curso</th> <th>Grupo</th> <th>Tutor</th> <th>Opciones</th> </tr> </thead> <tbody> <?php echo showStudents('4'); ?> </tbody> <tfoot class="hidden changeopttwo"> <tr> <td><a href="#" onclick="selectNewClass()" data-toggle="modal" data-target=".bs-example-modal-change" class="label label-primary">Cambiar <span class="glyphicon glyphicon-share-alt"></span></a></td> </tr> </tfoot> </table> </div> </aside> </section> <!-- FIN DE SECCION DE ALUMNOS ADULTOS -->
<span class='checkbox-material'></span> Todos </label> </div> </th> <th>#</th> <th>Foto</th> <th>Ape. Paterno</th> <th>Ape. Materno</th> <th>Nombre</th> <th>Edad</th> <th>Curso</th> <th>Grupo</th> <th>Tutor</th> <th>Opciones</th> </tr> </thead> <tbody> <?php echo showStudents('3'); ?> </tbody> <tfoot class="hidden changeopttwo"> <tr> <td><a href="#" onclick="selectNewClass()" data-toggle="modal" data-target=".bs-example-modal-change" class="label label-primary">Cambiar <span class="glyphicon glyphicon-share-alt"></span></a></td> </tr> </tfoot> </table> </div> </aside> </section> <!-- FIN DE SECCION DE ALUMNOS ADULTOS -->