//------------------------------------------------------------------------------------------------------------------------------------- $o_arv_patient =& new ART_patient($_REQUEST['pid'], $_REQUEST['registration_id']); $registration_data = $o_arv_patient->getRegistrationData(); global $vart1, $vart2, $vart3, $valt1, $valt2, $valt3, $signature; $eyeclinic = new eyeclinic(); $eyeclinic->setcr1($_POST['cr1']); $cr1 = $eyeclinic->getcr1(); $eyeclinic->setcl1($_POST['cl1']); $cl1 = $eyeclinic->getcl1(); $eyeclinic->setcr2($_POST['cr2']); $cr2 = $eyeclinic->getcr2(); $eyeclinic->setcl2($_POST['cl2']); $cl2 = $eyeclinic->getcl2(); $eyeclinic->setcr3($_POST['cr3']); $cr3 = $eyeclinic->getcr3(); $eyeclinic->setcl3($_POST['cl3']); $cl3 = $eyeclinic->getcl3(); $eyeclinic->setcr4($_POST['cr4']); $cr4 = $eyeclinic->getcr4(); $eyeclinic->setcl4($_POST['cl4']); $cl4 = $eyeclinic->getcl4(); $eyeclinic->setcr5($_POST['cr5']); $cr5 = $eyeclinic->getcr5(); $eyeclinic->setcl5($_POST['cl5']); $cl5 = $eyeclinic->getcl5(); $eyeclinic->setcr6($_POST['cr6']); $cr6 = $eyeclinic->getcr6(); $eyeclinic->setcl6($_POST['cl6']); $cl6 = $eyeclinic->getcl6(); $eyeclinic->setcr7($_POST['cr7']); $cr7 = $eyeclinic->getcr7();