Пример #1
0
 * Rua Laudemira Maria de Jesus, 51 - Lourdes
 * Arcos - MG - CEP 35588-000
 *
 *
 */
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();
$paciente->LoadPaciente($_GET['codigo']);
$query = mysql_query("SELECT * FROM odontograma WHERE codigo_paciente = " . $_GET['codigo']) or die('Line 39: ' . mysql_error());
while ($row = mysql_fetch_assoc($query)) {
    $dente[$row['dente']] = $row['descricao'];
}
?>
<br />
<div align="center"><font size="4"><b><?php 
echo $LANG['reports']['odontogram'];
?>
</b></font></div><br /><br />
<font size="2"><?php 
echo $LANG['reports']['patient'];
?>
:<br />
<b><?php 
Пример #2
0
 *
 *
 */
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);
}
$paciente = new TPacientes();
$strUpCase = "ALTERAÇÂO";
$strLoCase = encontra_valor('pacientes', 'codigo', $_GET[codigo], 'nome') . ' - ' . $_GET['codigo'];
$frmActEdt = "?acao=editar&codigo=" . $_GET[codigo];
$paciente->LoadPaciente($_GET[codigo]);
$row = $paciente->RetornaTodosDados();
$row[nascimento] = converte_data($row[nascimento], 2);
$row[nascimentomae] = converte_data($row[nascimentomae], 2);
$row[nascimentopai] = converte_data($row[nascimentopai], 2);
$row[datacadastro] = converte_data($row[datacadastro], 2);
$acao = '&acao=editar';
if (isset($strScrp)) {
    echo '<scr' . 'ipt>' . $strScrp . '</scr' . 'ipt>';
    die;
}
?>
<link href="../css/smile.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style4 {color: #FFFFFF}