</td>
                        </tr>
                       
                        
                          <tr>
                            <td class="col1">
                               <?php 
Forms::printLabel('Asignar Dependientes');
?>
                                
                            </td>
                            <td class="col2">
                               
                                <?php 
$student = new Student($db);
$catalogo1 = $student->getListStudent();
$itemsSelect = array();
foreach ($catalogo1 as $item) {
    $itemsSelect[$item['id']] = $item['full_name'];
}
Forms::printInput('SELECT', 'student', null, 'combobox', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), $itemsSelect);
?>
                               
                            </td>
                        </tr>
                        
                        <tr>
                            <td style="vertical-align: top; padding-top: 9px;">
                                
                            </td>
                          
예제 #2
0
    echo $action;
    ?>
" >

                
                 <tr>
                            <td class="col1">
                                <?php 
    Forms::printLabel('Estudiante');
    ?>
                                
                            </td>
                            <td class="col2">
                                <?php 
    $object = new Student($db);
    $data_student = $object->getListStudent($_GET['ASSIGN_FAMILY']);
    $item = $data_student[0];
    Forms::printInput('TEXT', 'NAME', $item['name'] . ' ' . $item['last_name'], 'mini', array());
    ?>
                                
                            </td>
                        </tr>                                                                          
                        <tr>
                            <td class="col1">
                                <?php 
    Forms::printLabel("Familiares");
    ?>
                                
                            </td>
                            <td class="col2">                 
                                     <a  href="javascript:void(0);" class="button_form modal_ajax_form" 
예제 #3
0
                        $pk_resultado = $pk_idh;
                    }
                }
            }
        }
        if ($pk_resultado > 0) {
            Forms::setMessage('SUCCESS', $v_label["SHORT_MESSAGE_OK_NEW"], $v_label["DETAIL_MESSAGE_OK_NEW"]);
        } else {
            Forms::setMessage('ERROR', $v_label["SHORT_MESSAGE_NOOK_NEW"], $v_label["DETAIL_MESSAGE_NOOK_NEW"]);
        }
        break;
    default:
        break;
}
// Obtener lista
$list = $catalog->getListStudent();
?>
<div class="grid_10">
    <div class="box round first">
        <h2><?php 
echo $v_label["TITLE"];
?>
</h2>


        <?php 
include "view/wallejlla/templates/tpl_messages_1.php";
?>
 
        <h5><?php 
echo $v_label["TITLE_LIST"];
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
include_once 'course_save_script.php';
$pk_id_student = 0;
$name_student = '';
$string_student_data = '';
$courseHard = new CourseHard($registry[$nameDataBase]);
$student = new Student($registry[$nameDataBase]);
if (isset($_GET['PK_ID_COURSE_HARD'])) {
    $res = $courseHard->getListCourseHard($_GET['PK_ID_COURSE_HARD']);
    $data = $res[0];
}
if (isset($_GET['pk_id_student']) && $_GET['pk_id_student'] > 0) {
    $pk_id_student = $_GET['pk_id_student'];
    $studentData = $student->getListStudent($pk_id_student);
    $name_student = $studentData[0]['full_name'];
    $string_student_data = "&pk_id_student={$pk_id_student}";
}
$labelAdminCourses = 'Administrar Datos de Curso';
if (in_array($_SESSION['pk_id_role'], array(ROLE_TITULAR))) {
    $labelAdminCourses = "Datos de Curso";
}
if (in_array($_SESSION['pk_id_role'], array(ROLE_PROFESOR, ROLE_ESTUDIANTE))) {
    $labelAdminCourses = "Mis Datos de Curso";
}
$labelAdminMatterTeacher = 'Asignacion Materia-Profesor';
if (in_array($_SESSION['pk_id_role'], array(ROLE_ESTUDIANTE))) {
    $labelAdminMatterTeacher = "Mis datos de Materia-Profesor";
}
$labelAdminRequests = 'Consultas';
$preview_flag = 0;
$data = array();
if ($action == 'EDIT') {
    null;
}
// Simplificar la ruta de propiedades
$v_label = $property["pages"]["course/student_admin"];
$v_label_list = $property["pages"]["general_list"];
// Simplificar el ruteo de edicion/visualizacion
$v_route_edit_preview = 'index.php?page=course/student_family_form';
// Simplificar el ruteo de insert
$v_route_insert = '?page=course/student_family_form';
// Simplificar el ruteo de lista
$v_route_list = 'index.php?page=course/student_admin';
$student = new Student($db);
$catalog = $student->getListStudent($_GET['id']);
$data_student = array();
if (count($catalog) > 0) {
    $data_student = $catalog[0];
}
//
// Obtener lista
$family = $student->getListFamily($_GET['id']);
$data_family = array();
if (count($family) > 0) {
    $data_family = $family[0];
}
?>