Fix CRLF
[openemr.git] / contrib / forms / documents / print.php
blobc2304492eb7b6c1e055c6d92f7a7b114e189b470
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="<?php echo $GLOBALS['form_exit_url']; ?>" onclick="top.restoreSession()">Done</a>
28 <?php
29 formFooter();