Convert login screen/module to new security model
[openemr.git] / interface / main / finder / finder_navigation.php
blob96fd9a8943c220cb33b51aad1763c68149a37e5b
1 <?php
2 include_once("../../globals.php");
3 ?>
5 <html>
6 <head>
7 <?php html_header_show();?>
8 <title>Navigation</title>
10 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
12 </head>
13 <body class="body_nav">
15 <div id="nav_topmenu">
16 <form method='post' target="_top" name="find_patient" action="<?php echo $rootdir?>/main/finder/patient_finder.php" onsubmit="return top.restoreSession()">
18 <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
19 <tr>
21 <td style="text-align:left; width: 250px; white-space: nowrap;">
22 <input type="textbox" size="10" name="patient" value="<?php echo $_REQUEST['patient']; ?>" >
23 <select name="findBy">
24 <option value="Last" <?php if ($_REQUEST['findBy'] == 'Last') echo 'selected' ?>><?php xl('Name','e');?></option>
25 <option value="Phone" <?php if ($_REQUEST['findBy'] == 'Phone') echo 'selected' ?>><?php xl('Phone','e');?></option>
26 <option value="ID" <?php if ($_REQUEST['findBy'] == 'ID') echo 'selected' ?>><?php xl('ID','e');?></option>
27 <option value="SSN" <?php if ($_REQUEST['findBy'] == 'SSN') echo 'selected' ?>><?php xl('SSN','e');?></option>
28 <option value="DOB" <?php if ($_REQUEST['findBy'] == 'DOB') echo 'selected' ?>><?php xl('DOB','e');?></option>
29 </select>
30 <a href="javascript:top.restoreSession();document.find_patient.action='<?php echo $rootdir?>/main/finder/patient_finder.php';document.find_patient.submit();" class="link">&nbsp;<?php xl('Find Patient','e');?></a>
31 </td>
33 <td style="text-align:left">
34 &nbsp;&nbsp;&nbsp;<a class="menu" target="_top" href="../../new/new_patient.php" onclick="top.restoreSession()">
35 <?php xl('New Patient','e');?></a>&nbsp;
36 </td>
38 <td style="text-align:right">
39 &nbsp;<a href="../main_screen.php" target="_top" class="logout" onclick="top.restoreSession()">
40 <?php xl('Back','e');?></a>&nbsp;&nbsp;
41 </td>
42 </tr>
43 </table>
45 </form>
46 </div>
48 </body>
49 </html>