$title_1 = $v_label["VIEW_NOTE_TITLE"]; $elementAction = $_GET['VIEW_NOTE']; } if ($action != 'INSERT') { $element = new Student($registry[$nameDataBase]); $list = $element->getListStudent($elementAction); $data_student = $list[0]; } // simplificar acceso a etiquetas de formulario $v_label_gral_form = $property["pages"]["general_form"]; if ($action == 'PREVIEW' || $action == 'EDIT') { $person = new Person($registry[$nameDataBase]); $list = $person->getListPerson($data_student['fk_id_person']); $data_per = $list[0]; $assDir = new AssignPersonDirection($registry[$nameDataBase]); $dirs = $assDir->getListAssingPersonDirection($data_student['fk_id_person']); //print_r($billData); if ($action == 'PREVIEW') { $preview_flag = 1; } } ?> <div class="grid_10"> <div class="box round first"> <h2><?php echo $title_1;
case 'PREVIEW': $title_1 = $property["pages"]["security/person"]["PREVIEW_TITLE"]; break; default: break; } if ($action == 'PREVIEW' || $action == 'EDIT') { $person = new Person($registry[$nameDataBase]); $list = $person->getListPerson($_GET['PK_ID_PERSON']); $data = $list[0]; $cont = new AssignPersonContact($registry[$nameDataBase]); $contacts = $cont->getListAssingPersonContact($data['pk_id_person']); $assProf = new AssignPersonProfession($registry[$nameDataBase]); $profs = $assProf->getListAssingPersonProfession($data['pk_id_person']); $assDir = new AssignPersonDirection($registry[$nameDataBase]); $dirs = $assDir->getListAssingPersonDirection($data['pk_id_person']); $assDoc = new AssignPersonIdentifyDoc($registry[$nameDataBase]); $docs = $assDoc->getListAssingPersonIdentifyDoc($data['pk_id_person']); $bill = new BillingData($registry[$nameDataBase]); $billData = $bill->getListBillingData($data['pk_id_person']); //print_r($billData); if ($action == 'PREVIEW') { $preview_flag = 1; } } ?> <div class="grid_10">