styling adjustments (#822)
[openemr.git] / templates / patient_finder / general_find.html
bloba04dbeb443200115c3933ca65f5a5022dd2e8cd3
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 <link rel="stylesheet" href="{php}echo $GLOBALS['css_header'];{/php}" type="text/css">
33 </head>
34 <body bgcolor="{$STYLE.BGCOLOR2}">
35 <form name="patientfinder" method="post" action="{$FORM_ACTION}" onsubmit="return top.restoreSession()">
36 <table>
37 <tr>
38 <td>{xl t='Name'}</td>
39 <td>
40 <input type="text" size="40" name="searchstring" value=""/>
41 </td>
42 </tr>
43 <tr>
44 <td>
45 <input type="submit" value="{xl t='search'}"/>
46 </td>
47 </tr>
48 </table>
49 <input type="hidden" name="process" value="{$PROCESS}" />
50 <input type="hidden" name="pid" value="{$hidden_ispid}" />
51 </form>
52 <table>
53 {if count($result_set) > 0}
54 <tr>
55 <td>{xl t='Results Found For Search'} '{$search_string}'</td>
56 </tr>
57 <tr>
58 <td>{xl t='Name'}</td><td>{xl t='DOB'}</td><td>{xl t='Patient ID'}</td>
59 {/if}
60 {foreach name="search_results" from=$result_set item=result}
61 <tr>
62 <td>
63 <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>
64 </td>
65 <td>{$result.DOB}</td>
66 <td>{$result.pubpid}</td>
67 </tr>
68 {foreachelse}
69 {if is_array($result_set)}
70 <tr>
71 <td>{xl t='No Results Found For Search'} '{$search_string}'</td>
72 </tr>
73 {/if}
74 {/foreach}
75 </table>
76 </body>
77 </html>