<?php 
            }
            ?>
  
                     </div>
</div>

<div id="div_general_2">
                &nbsp;&nbsp;<B>2013</B>
                <div id="div_button_2">
                    &nbsp;&nbsp;&nbsp;&nbsp;<a href="#" id="clase"><img src="view/img/icons/top.png"/></a></div>
                <div id="div_container_2" >                   
            <?php 
            $activity = new PlanificationActivity($registry[$nameDataBase]);
            if ($_SESSION['pk_id_role'] == ROLE_TITULAR) {
                $list = $activity->getListActivityByHolder($_SESSION['pk_id_holder']);
            }
            if ($_SESSION['pk_id_role'] == ROLE_PROFESOR) {
                $list = $activity->getListActivityByTeacherCourseHard($_SESSION['PK_ID_COURSE_HARD'], $_SESSION['pk_id_person']);
            }
            if ($_SESSION['pk_id_role'] == ROLE_ESTUDIANTE) {
                $list = $activity->getListActivityByStudentCourseHard($_SESSION['PK_ID_COURSE_HARD']);
            }
            foreach ($list as $item) {
                ?>
     
                         &nbsp;&nbsp;&nbsp;&nbsp;<div style=" width:100%; margin-bottom: 5px;   ">
                         <div class="activity type">                         
                         <table width="100%" >            
                             <tr>
                              <td>