Revert "Update shared.make_timestamp.php"
[openemr.git] / templates / patient_finder / general_find.html
bloba2649108c616e6563af40f1912dc4095d568049a
1 <html>
2 <head>
3 {php}html_header_show();{/php}
5 {literal}
6 <style type="text/css" title="mystyles" media="all">
7 <!--
8 td {
9 font-size:12pt;
10 font-family:helvetica;
12 .small {
13 font-size:9pt;
14 font-family:helvetica;
15 text-decoration: none;
17 .small:hover {
18 text-decoration: underline;
20 li{
21 font-size:11pt;
22 font-family:helvetica;
23 margin-left: 15px;
25 a {
26 font-size:11pt;
27 font-family:helvetica;
29 -->
30 </style>
31 {/literal}
32 </head>
33 <body bgcolor="{$STYLE.BGCOLOR2}">
34 <form name="patientfinder" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
35 <table>
36 <tr>
37 <td>{xl t='Name'}</td>
38 <td>
39 <input type="text" size="40" name="searchstring" value=""/>
40 </td>
41 </tr>
42 <tr>
43 <td>
44 <input type="submit" value="{xl t='search'}"/>
45 </td>
46 </tr>
47 </table>
48 <input type="hidden" name="process" value="{$PROCESS}" />
49 <input type="hidden" name="pid" value="{$hidden_ispid}" />
50 </form>
51 <table>
52 {if count($result_set) > 0}
53 <tr>
54 <td>{xl t='Results Found For Search'} '{$search_string}'</td>
55 </tr>
56 <tr>
57 <td>{xl t='Name'}</td><td>{xl t='DOB'}</td><td>{xl t='Patient ID'}</td>
58 {/if}
59 {foreach name="search_results" from=$result_set item=result}
60 <tr>
61 <td>
62 <a href="javascript:{literal}{}{/literal}" onclick="window.opener.document.{$form_id}.value='{if $ispub == true }{$result.pubpid}{else}{$result.pid}{/if}'; window.opener.document.{$form_name}.value='{$result.name}'; window.close();">{$result.name}</a>
63 </td>
64 <td>{$result.DOB}</td>
65 <td>{$result.pubpid}</td>
66 </tr>
67 {foreachelse}
68 {if is_array($result_set)}
69 <tr>
70 <td>{xl t='No Results Found For Search'} '{$search_string}'</td>
71 </tr>
72 {/if}
73 {/foreach}
74 </table>
75 </body>
76 </html>