12345678910111213141516171819202122232425 |
- <?php
- require_once "{$_SERVER['DOCUMENT_ROOT']}/dependencies.php";
- $calificaciones = $db
- ->where('moodle_host_id', $_SESSION['moodle_id'])
- ->get('snapshot_calificaciones');
- ?>
- <table>
- <thead>
- <tr>
- <th>Nombre</th>
- <th>Calificación</th>
- <th>Fecha</th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($calificaciones as $calificacion): ?>
- <tr>
- <td><?= $calificacion['moodle_host_id'] ?></td>
- <td><?= strlen($calificacion['calificaciones']) > 100 ? substr($calificacion['calificaciones'], 0, 100) . '...' : $calificacion['calificaciones'] ?></td>
- <td><?= $calificacion['created_at'] ?></td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
|