3 {php}html_header_show();{/php}
6 <style type=
"text/css" title=
"mystyles" media=
"all">
10 font-family:helvetica;
14 font-family:helvetica;
15 text-decoration: none;
18 text-decoration: underline;
22 font-family:helvetica;
27 font-family:helvetica;
33 <body bgcolor=
"{$STYLE.BGCOLOR2}">
34 <form name=
"patientfinder" method=
"post" action=
"{$FORM_ACTION}" onsubmit=
"return top.restoreSession()">
37 <td>{xl t='Name'}
</td>
39 <input type=
"text" size=
"40" name=
"searchstring" value=
""/>
44 <input type=
"submit" value=
"{xl t='search'}"/>
48 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />
49 <input type=
"hidden" name=
"pid" value=
"{$hidden_ispid}" />
52 {if count($result_set)
> 0}
54 <td>{xl t='Results Found For Search'} '{$search_string}'
</td>
57 <td>{xl t='Name'}
</td><td>{xl t='DOB'}
</td><td>{xl t='Patient ID'}
</td>
59 {foreach
name=
"search_results" from=$result_set item=result}
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>
64 <td>{$result.DOB}
</td>
65 <td>{$result.pubpid}
</td>
68 {if is_array($result_set)}
70 <td>{xl t='No Results Found For Search'} '{$search_string}'
</td>