</td> <td class="col2"> <?php $object = new Teacher($db); $data_teacher = $object->getListTeacher($_GET['ASSIGN_COURSE']); $item = $data_teacher[0]; //Forms::printInput('TEXT', 'pk_id_student', $item['id'], 'mini', array()); 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"> <div class="dinamyc_element_new"> <a id="person_din_new" href="javascript:void(0);" class="normal_link">Nuevo Familiar</a> <input name="person_din_delete_array" id="person_din_delete_array" type="hidden" value="" class="" /> <input name="person_din_number" id="person_din_number" type="hidden" value="" class="" /> </div> <div id="person_din" class="dinamyc_container"> <?php // include_once('person_contacts.php'); ?> </div>
$birthday = $data['birthday']; } Forms::printInput('TEXT', 'BIRTHDAY', $birthday, 'datePicker', array()); ?> </td> </tr> </table> </div> --> <div id="existentPerson" > <table class="form"> <tr> <td class="col1"> <?php Forms::printLabel('Persona'); ?> </td> <td class="col2"> <?php $itemsSelect = array(); foreach ($listPerson as $person) { $itemsSelect[$person['pk_id_person']] = $person['name'] . ' ' . $person['last_name']; } $pk_id_person = 0; if (in_array($action, array('PREVIEW', 'EDIT'))) { $pk_id_person = $data['pk_id_person']; } Forms::printInput('SELECT', 'PK_ID_PERSON', $pk_id_person, 'combobox', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), $itemsSelect);
<input type="hidden" name="EDIT" value="<?php echo $data['id']; ?> " > <?php } ?> <input type="hidden" name="ACTION" value="<?php echo $action; ?> " > <tr> <td class="col1"> <?php Forms::printLabel($v_label["NAME_LBL"]); ?> </td> <td class="col2"> <?php $name = $action == 'EDIT' ? $data['name'] : ''; if ($action == 'EDIT' || $action == 'INSERT') { Forms::printInput('TEXT', 'NAME', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"])); } elseif ($action == 'PREVIEW') { echo $data['name']; } ?> </td> </tr>
<?php include "view/wallejlla/templates/tpl_messages_1.php"; ?> <div class="block" style="width:90%; height:500px; margin-left: 15px;"> <form id="admision_review_form" action="index.php?page=admision/admision_review" method="POST"> <table class="form"> <tr> <td> <?php Forms::printLabel('Codigo de Solicitud'); ?> </td> <td> <input type="hidden" name="REVIEW_REQUEST_FORM" value="1" > <?php $name = ''; Forms::printInput('TEXT', 'REQUEST_CODE', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), array(), 0); ?> </td> </tr> <tr> <td> </td>
</td> <td class="col2"> <?php $val_pass = array(); if ($action == 'EDIT') { $val_pass = array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"], 'MINLENGTH' => array(5, $property["FORMS"]["VALIDATION_GENERIC"]["MIN_5_CHAR"])); } Forms::printInput('PASSWORD', 'PASSWORD_1', '', '', $val_pass); ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel($property["pages"]["security/new_user"]["R_PASSWORD_LBL"]); ?> </td> <td class="col2"> <?php $val_pass = array(); if ($action == 'EDIT') { $val_pass = array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"], 'MINLENGTH' => array(5, $property["FORMS"]["VALIDATION_GENERIC"]["MIN_5_CHAR"]), 'EQUALTO' => array('#PASSWORD_1', $property["FORMS"]["VALIDATION_GENERIC"]["SAME_PASS"])); } Forms::printInput('PASSWORD', 'PASSWORD_2', '', '', $val_pass); ?> </td> </tr>
$auxCI = isset($item['ci']) ? '(CI. ' . $item['ci'] . ')' : '(CI. N/A)'; $itemsSelectPerson[$item['pk_id_person']] = $item['name'] . " " . $item['last_name'] . " " . $item['maternal_name'] . "( " . $auxCI . ")"; } $idPerson = null; if ($action == 'EDIT' || $action == 'PREVIEW') { $idPerson = $data['fk_id_person']; } Forms::printInput('SELECT', 'ID_PERSON', $idPerson, '', array(), $itemsSelectPerson); ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel($v_label["STATUS_SUPERVISOR"]); ?> </td> <td class="col2"> <?php $objectStatusSupervisor = new SystemCatalog($db); $catalogoStatusSupervisor = $objectStatusSupervisor->getListSystemCatalog('STATUS_SUPERVISOR_ADMISSION_AREA'); $itemsSelectStatusSupervisor = array(); foreach ($catalogoStatusSupervisor as $item) { $itemsSelectStatusSupervisor[$item['pk_id_catalog']] = $item['description']; } $idStatusSupervisor = null; if ($action == 'EDIT' || $action == 'PREVIEW') { $idStatusSupervisor = $data['status_supervisor_admission_area']; }
contactMan.addElement(serial); </script> <?php } } ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel("Direcciones"); ?> </td> <td class="col2"> <div class="dinamyc_element_new"> <a id="directions_din_new" href="javascript:void(0);" class="normal_link">Nueva Direccion</a> <input name="directions_din_delete_array" id="directions_din_delete_array" type="hidden" value="" class="" /> <input name="directions_din_number" id="directions_din_number" type="hidden" value="" class="" /> </div> <div id="directions_din" class="dinamyc_container"> <?php // include_once('person_contacts.php'); ?> </div>
<td class="col2"><?php Forms::printLabel($data_student_note['name_course']); ?> </td> </tr> <tr> <td class="col1">GESTION:</td> <td class="col2"><?php Forms::printLabel($data_student_note['period']); ?> </td> </tr> <tr> <td class="col1">NIVEL:</td> <td class="col2"><?php Forms::printLabel($data_student_note['level_student']); ?> </td> </tr> </table> </div> </tr> </tr> <tr> <td><div class="form_note"> <table width="100%" border="0" class="form"> <tr> <td COLSPAN="13"><div class="subtitle"><div class="subtitle_text">NOTAS</div></div></td> </tr> <tr> <td rowspan="2" class="fila1">MATERIAS</td>
<?php include "view/wallejlla/templates/tpl_messages_1.php"; ?> <h5><?php echo 'Lista de cursos'; ?> </h5><BR> <form id="course_data_form" method="POST" action="?page=course/course_admin" enctype="multipart/form-data" > <table class="form"> <tr> <td class="col1"> <?php Forms::printLabel('Periodos'); ?> </td> <td class="col2"> <?php $itemsSelect = array(); foreach ($listPeriod as $item) { $itemsSelect[$item['pk_id_period']] = $item['period']; } $valData = $period; Forms::printInput('SELECT', 'PERIODO', $valData, '', array(), $itemsSelect); ?> </td> <td class="col3"> </td>
} else { ?> <input type="hidden" name="fk_id_query_area" value="<?php echo $consult[0]['fk_id_response_area']; ?> " > <?php } ?> <tr> <td class="col1"> <?php Forms::printLabel('Respuesta'); ?> </td> <td class="col2"> <?php $valData = ''; Forms::printInput('TEXTAREA', 'response', $valData, 'large', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), 0); ?> </td> </tr> <tr>
</td> <td class="col2"> <?php $name = $action == 'EDIT' ? $data['name'] : ''; if ($action == 'EDIT' || $action == 'INSERT') { Forms::printInput('TEXT', 'NAME', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"])); } elseif ($action == 'PREVIEW') { echo $data['name']; } ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Pais'); ?> </td> <td class="col2"> <?php $object = new Country($db); $catalogo = $object->getListCountry(); $itemsSelect = array(); foreach ($catalogo as $item) { $itemsSelect[$item['id']] = $item['name']; } $id_country = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $id_country = $data['fk_id_country']; }
</td> <td class="col2"> <?php $data_4 = $action == 'EDIT' ? $data_main_course['data_4'] : ''; if ($action == 'EDIT' || $action == 'INSERT') { Forms::printInput('TEXT', 'data_4', $data_4, 'mini', array()); } elseif ($action == 'PREVIEW') { echo $data_main_course['data_4']; } ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Dato 5:'); ?> </td> <td class="col2"> <?php $data_5 = $action == 'EDIT' ? $data_main_course['data_5'] : ''; if ($action == 'EDIT' || $action == 'INSERT') { Forms::printInput('TEXT', 'data_5', $data_5, 'mini', array()); } elseif ($action == 'PREVIEW') { echo $data_main_course['data_5']; } ?> </td> </tr> <tr>
<?php $person = new Person($db); $catalogo1 = $person->getListPerson(); $itemsSelect = array(); foreach ($catalogo1 as $item) { $itemsSelect[$item['pk_id_person']] = $item['name'] . ' ' . $item['last_name'] . ' ' . $item['maternal_name']; } Forms::printInput('SELECT', 'person', null, 'combobox', array(), $itemsSelect); ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Parentesco'); ?> </td> <td class="col2"> <?php $kinship = new Kinship($db); $catalogo1 = $kinship->getListKinship(); $itemsSelect = array(); foreach ($catalogo1 as $item) { $itemsSelect[$item['id']] = $item['name']; } Forms::printInput('SELECT', 'kinship', null, 'combobox', array(), $itemsSelect); ?> </td>
$list = $matterCourse->getListAssignHCourseHardMatterTeacherByCourseHard($_GET['PK_ID_COURSE_HARD']); foreach ($list as $item) { $itemsSelect[$item['pk_id_hcourse_matter_teacher']] = $item['matter']; } $pk_id_hcourse_matter_teacher = ''; if ($action == 'EDIT') { $pk_id_hcourse_matter_teacher = $data['fk_id_hcourse_matter_teacher']; } Forms::printInput('SELECT', 'pk_id_hcourse_matter_teacher', $pk_id_hcourse_matter_teacher, '', array(), $itemsSelect); ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Descripcion'); ?> </td> <td class="col2"> <?php $activity_description = ''; if ($action == 'EDIT') { $activity_description = $data['activity_description']; } Forms::printInput('TEXTAREA', 'activity_description', $activity_description, 'large', array(), $preview_flag); ?> </td> </tr> <tr>
<tr> <td> <?php Forms::printLabel('Apellido Postulante'); ?> </td> <td> <?php Forms::printInput('TEXT', 'LAST_NAME', '', 'mini', array(), array(), 0); ?> </td> </tr> <tr> <td> <?php Forms::printLabel('Fecha entre :'); ?> </td> <td> <?php Forms::printInput('TEXT', 'DATE_INI', '', 'mini datePicker', array(), array(), 0); ?> y <?php Forms::printInput('TEXT', 'DATE_END', '', 'mini datePicker', array(), array(), 0); ?> </td> </tr> <tr> <td> </td> <td></td>
</td> <td class="col2"> <?php $doc_id = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $doc_id = $data['identify_document']; } Forms::printInput('TEXT', 'DOC_ID', $doc_id, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"]), array(), $preview_flag); ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel($property["pages"]["security/new_user"]["BIRTHDAY_LBL"]); ?> </td> <td class="col2"> <?php $birthday = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $birthday = $data['birthday']; } Forms::printInput('TEXT', 'BIRTHDAY', $birthday, 'datePicker', array(), array(), $preview_flag); ?> </td> </tr> <?php
</tr> <tr> <td class="col1"> <?php Forms::printLabel('Archivo'); ?> </td> <td class="col2"> <input type="file" name="archivo" id="archivo" /> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Descripcion Contenido'); ?> </td> <td class="col2"> <?php $description_file_contents = ''; if ($action == 'EDIT') { $description_file_contents = $data['description_file_contents']; } Forms::printInput('TEXTAREA', 'description_file_contents', $description_file_contents, 'large', array(), $preview_flag); ?> </td> </tr> </table>
<?php Forms::printLabel("Buscar Archivo"); ?> </td> <td class="col2"> <input type="file" name="archivo" id="archivo" /> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td><?php Forms::printLabel("Tipo Cuota"); ?> </td> <td> <?php $object = new TypeStructureNotes($db); $data_type_notes = $object->getListTypeStructureNotes(); $itemsSelect = array(); foreach ($data_type_notes as $item) { $itemsSelect[$item['id_type_notes']] = $item['type_structure_notes']; } Forms::printInput('SELECT', 'id_type_notes', null, '', array(), $itemsSelect); ?> </td> </tr> <tr>
<?php $valData = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $valData = $data['date_end']; } Forms::printInput('TEXT', 'DATE_END', $valData, 'datePicker', array(), array(), $preview_flag); ?> </td> </tr> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Comentarios'); ?> </td> <td class="col2"> <?php $valData = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $valData = $data['comments_aditional']; } Forms::printInput('TEXTAREA', 'COMMENTS_ADITIONAL', $valData, 'large datePicker', array(), array(), $preview_flag); ?> </td> </tr> <?php
<td class="col2"> <?php $codigo_titular = $data_titular['holder_code']; ?> <input id="titular" name="titular" disabled="true" size="70" value="<?php echo $data_titular['holder_code']; ?> "/> </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); ?>
<?php Forms::printLabel("Buscar Archivo"); ?> </td> <td class="col2"> <input type="file" name="archivo" id="archivo" /> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td><?php Forms::printLabel("Tipo Estructura de Notas"); ?> </td> <td> <?php $object = new TypeStructureNotes($db); $data_type_notes = $object->getListTypeStructureNotes(); $itemsSelect = array(); foreach ($data_type_notes as $item) { $itemsSelect[$item['id_type_notes']] = $item['type_structure_notes']; } Forms::printInput('SELECT', 'id_type_notes', null, '', array(), $itemsSelect); ?> </td> </tr> <tr>
<?php if ($action == 'EDIT') { ?> <input type="hidden" name="FK_ID_ASSIGN_HOLDER_STUDENT" value="<?php echo $_SESSION['pk_id_assign_holder_student']; ?> " > <?php } echo '<br>Estudiante: ' . $_SESSION['student_name']; ?> <br><br><tr> <td class="col1"> <?php Forms::printLabel('Gestion'); ?> </td> <td class="col2"> <?php $itemsSelect = array(); foreach ($listPeriods as $item) { $itemsSelect[$item['pk_id_seat_reservation_period']] = $item['period']; } $valData = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $valData = $item['pk_id_seat_reservation_period']; } Forms::printInput('SELECT', 'pk_id_seat_reservation_period', $valData, '', array(), $itemsSelect); ?>
</td> <td class="col2"> <?php $name = $action == 'EDIT' ? $data['name'] : ''; if ($action == 'EDIT' || $action == 'INSERT') { Forms::printInput('TEXT', 'NAME', $name, 'mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"])); } elseif ($action == 'PREVIEW') { echo $data['name']; } ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Ciudad'); ?> </td> <td class="col2"> <?php $object = new City($db); $catalogo = $object->getListCity(); $itemsSelect = array(); foreach ($catalogo as $item) { $itemsSelect[$item['id']] = $item['name']; } $id_city = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $id_city = $data['fk_id_city']; }
</td> <td class="col2"> <?php $end_datetime_admission = $action == 'EDIT' ? $data['end_datetime_admission'] : ''; if ($action == 'EDIT' || $action == 'INSERT') { Forms::printInput('TEXT', 'end_datetime_admission', $end_datetime_admission, 'datePicker mini', array('REQUIRED' => $property["FORMS"]["VALIDATION_GENERIC"]["REQUIRED_VALUE"])); } elseif ($action == 'PREVIEW') { echo $data['end_datetime_admission']; } ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Cursos Disponibles'); ?> </td> <td class="col2"> <?php $end_datetime_admission = $action == 'EDIT' ? $data['end_datetime_admission'] : ''; if ($action == 'INSERT') { $mcconfig = new MainCourse($registry[$nameDataBase]); $list_mcconfig = $mcconfig->getMainCourseConfigurationAll($action); $itemsSelect = array(); foreach ($list_mcconfig as $item) { echo "<input type='checkbox' name='chk_cursos[]' id='chk_cursos' value=" . $item['pk_id_main_course'] . ">" . $item['description'] . "<br>"; } echo '<br>'; } if ($action == 'EDIT') {
} $valData = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $valData = $data['fk_id_main_course_matter']; } Forms::printInput('SELECT', 'FK_ID_MAIN_COURSE_MATTER', $valData, '', array(), $itemsSelect); ?> </td> </tr> <tr> <td class="col1"> <?php Forms::printLabel('Profesor'); ?> </td> <td class="col2"> <?php $itemsSelect = array(); $list = $teacher->getListTeacher(); foreach ($list as $item) { $itemsSelect[$item['id']] = $item['teacher_full_name']; } $valData = ''; if ($action == 'EDIT' || $action == 'PREVIEW') { $valData = $data['fk_id_teacher']; } Forms::printInput('SELECT', 'FK_ID_TEACHER', $valData, '', array(), $itemsSelect);