fixed a couple of silly display errors
[openemr.git] / contrib / forms / documents / print.php
blob325249faf02a8db26e59b12e4eb88a86a59c228f
1 <?
2 # print scanned documents
4 include("../../../library/api.inc");
6 formHeader("Patient's Scanned Documents");
8 $row = formFetch('form_documents', $_GET['id']);
10 $doc=$row["document_path"]."/".$row["document_image"];
11 $thatfile=$row["document_image"];
12 $localpath="../../forms/documents/scanned/".$GLOBALS['pid'];
13 $relink=$localpath."/".$thatfile;
15 echo ("<span class=text>Document path on server is: $doc ");
16 echo ("<br>");
17 echo ("Document Source is: ");
18 echo $row["document_source"];
19 echo ("<br>");
20 echo $row["document_description"];
21 echo ("<br>");
22 echo ("<IMG SRC=\"$relink\" ALT=\"$relink\">");
25 <hr>
26 <a href="../../patient_file/encounter/patient_encounter.php">Done</a>
28 <?php
29 formFooter();