</p></th> <th width="80px"><p><?php echo 'DESCRIPCION'; ?> </p></th> <th width="80px"> </th> </tr> </thead> <tbody> <?php if ($_SESSION['pk_id_role'] == ROLE_PROFESOR || $_SESSION['pk_id_role'] == ROLE_ESTUDIANTE) { $task_list = array(); $task = new MatterTask($registry[$nameDataBase]); $task_list = $task->getListMatterTaskByActivity($item['pk_id_planification_activity']); foreach ($task_list as $item_task) { ?> <tr class="odd gradeX"> <td> <?php echo $item_task['title_task']; ?> </td> <td> <?php echo $item_task['description_task']; ?> </td> <td style="width: 16%; "> <span style="float:right;"> <?php if ($_SESSION['pk_id_role'] == ROLE_PROFESOR) {