* */ include "../lib/config.inc.php"; include "../lib/func.inc.php"; include "../lib/classes.inc.php"; require_once '../lang/' . $idioma . '.php'; header("Content-type: text/html; charset=ISO-8859-1", true); if (!checklog()) { die($frase_log); } include "../timbre_head.php"; $paciente = new TPacientes(); $clinica = new TClinica(); $exame = new TExame(); $exame->Codigo_Paciente = $_GET['codigo']; $exame->LoadInfo(); if ($exame->Exame == '') { $exame->SalvarNovo(); } if (isset($_POST['send'])) { $exame->Exame = htmlspecialchars(trim($_POST['exame']), ENT_QUOTES); $exame->Salvar(); } $paciente->LoadPaciente($_GET['codigo']); $clinica->LoadInfo(); $exame->LoadInfo(); ?> <br /> <div align="center"><font size="4"><b><?php echo $LANG['reports']['request_for_examination']; ?>