Initial import.
[siap.git] / site / content / necropsia / view.php
CommitLineData
696f20d5
MS
1<?\r
2include("../../../_system/app.php");\r
3include("../../inc/structure/posApp.php");\r
4$selected = 'diagnosticos';\r
5\r
6$load->config('classes/Diagnostico.php');\r
7$o_diagnostico = new Diagnostico();\r
8$rowDiagnostico = $o_diagnostico->findDiagnoticoById($input->get('id',true));\r
9if($rowDiagnostico->EOF){\r
10 redir('index.php');\r
11 die;\r
12}\r
13?>\r
14<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
15<html>\r
16 <head>\r
17 <? include("../../inc/structure/header.php"); ?>\r
18 <title><?= $cfg["site_title"]; ?></title>\r
19 </head>\r
20 <body oncontextmenu="return false;">\r
21 <table cellspacing="0" cellpadding="0" width="100%" height="100%">\r
22 <?include('../../inc/structure/topo.php');?>\r
23 <tr height="100%">\r
24 <td>\r
25 <table cellspacing="0" cellpadding="0" align="center" width="994">\r
26 <tr>\r
27 <td>\r
28 <div>\r
29 <?swf("../../swf/common/titulo.swf",330,30,"txt=DIAGNÓSTICOS","","transparent");?>\r
30 </div>\r
31 <br /><br />\r
32 <table cellspacing="0" cellpadding="0">\r
33 <tr>\r
34 <td colspan="100%">\r
35 <div>\r
36 <b><?=$rowDiagnostico->fields('nome');?></b>\r
37 </div>\r
38 <div style="margin-top:3px; margin-bottom:3px;">\r
39 <i><?=$rowDiagnostico->fields('especialidade');?></i>\r
40 </div>\r
41 <? if($rowDiagnostico->fields('cid10') != ''){?>\r
42 <div>\r
43 <i><?=$rowDiagnostico->fields('cid10');?></i>\r
44 </div>\r
45 <? }?>\r
46 </td>\r
47 </tr>\r
48 <tr height="330">\r
49 <td width="410">\r
50 <table cellspacing="0" cellpadding="0">\r
51 <tr>\r
52 <td style="padding-bottom:15px;padding-top:15px;">\r
53 <?=$rowDiagnostico->fields('texto');?>\r
54 </td>\r
55 </tr>\r
56 <tr>\r
57 <td style="font-size:10px;">\r
58 <?=$o_diagnostico->orgaosrelacionados($rowDiagnostico->fields('id'));?>\r
59 </td>\r
60 </tr>\r
61 <tr>\r
62 <td style="padding-top:25px;">\r
63 <img src="../../img/pt/bt/voltar.jpg" <?=$o_html->alt('Voltar');?> style="cursor:pointer;" onclick="javascript: window.history.back();" />\r
64 </td>\r
65 </tr>\r
66 </table>\r
67 </td>\r
68 <td style="border-left:1px solid #DABA89; padding-left:10px;" width="280">\r
69 <div style="margin-bottom:15px;">\r
70 <img src="../../img/pt/tit/imagensrelacionadas.gif" <?=$o_html->alt('Imagens Relacionadas');?> />\r
71 </div>\r
72 <?=$o_diagnostico->getImgesRelacionadas($rowDiagnostico->fields('id'));?>\r
73 </td>\r
74 <td style="border-left:1px solid #DABA89; padding-left:10px;" width="280">\r
75 <div style="margin-bottom:15px;">\r
76 <img src="../../img/pt/tit/casosdeestudorelacionados.gif" <?=$o_html->alt('Casos de Estudo Relacionados');?> />\r
77 </div>\r
78 <?=$o_diagnostico->casosdeestudorelacionados($rowDiagnostico->fields('id'));?>\r
79 </td>\r
80 </tr>\r
81 </table>\r
82 </td>\r
83 </tr>\r
84 </table>\r
85 </td>\r
86 </tr>\r
87 <?include('../../inc/structure/rodape.php');?>\r
88 </table>\r
89 </body>\r
90</html>\r
91<? include("../../inc/structure/footer.php"); ?>