Initial import.
[openemr.git] / interface / patient_file / navigation.php
blobd4d484a63b1c5b54ac8f1b35c039fd7372b05dbc
1 <?
2 include_once("../globals.php");
3 ?>
5 <html>
6 <head>
7 <title>Navigation</title>
9 <link rel=stylesheet href="<?echo $css_header;?>" type="text/css">
11 <script language="JavaScript">
12 // This is invoked to pop up some window when a popup item is selected.
13 function selpopup(selobj) {
14 var i = selobj.selectedIndex;
15 if (i > 0) {
16 var parms = (i == 1) ?
17 'menubar=1,resizable=1' : (i == 2) ?
18 'width=400,height=300,resizable=1' :
19 'width=750,height=550,resizable=1';
20 window.open(selobj.options[i].value, '_blank', parms);
22 selobj.selectedIndex = 0;
24 </script>
26 </head>
27 <body <?echo $nav_bg_line;?> topmargin=0 rightmargin=0 leftmargin=5 marginheight=0 bottommargin=0 link=#000000 vlink=#000000 alink=#000000>
29 <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
30 <tr>
31 <td align="center" valign="middle">
32 <a href="javascript:parent.Title.location.href='<?echo $rootdir;?>/patient_file/summary/summary_title.php';parent.Main.location.href='<?echo $rootdir;?>/patient_file/summary/patient_summary.php'" target="Main" class="menu">Summary</a>
33 </td>
34 <td align="center" valign="middle">
35 <a href="javascript:parent.Title.location.href='<?echo $rootdir;?>/patient_file/history/history_title.php';parent.Main.location.href='<?echo $rootdir;?>/patient_file/history/patient_history.php'" target="Main" class="menu">History</a>
36 </td>
37 <td align="center" valign="middle">
38 <a href="javascript:parent.Title.location.href='<?echo $rootdir;?>/patient_file/encounter/encounter_title.php';parent.Main.location.href='<?echo $rootdir;?>/patient_file/encounter/patient_encounter.php?mode=new'" target="Main" class="menu">Encounter</a>
39 </td>
40 <td align="center" valign="middle">
41 <a href="javascript:parent.Title.location.href='<?echo $rootdir;?>/patient_file/transaction/transaction_title.php';parent.Main.location.href='<?echo $rootdir;?>/patient_file/transaction/patient_transaction.php'" target="Main" class="menu">Transaction</a>
42 </td>
43 <td align="center" valign="middle">
44 <a href="<?echo $GLOBALS['web_root'];?>/controller.php?document&list&patient_id=<?=$pid?>" target="Main" class="menu">Documents</a>
45 </td>
46 <td align="center" valign="middle">
47 <a href="javascript:parent.Title.location.href='<?echo $rootdir;?>/patient_file/report/report_title.php';parent.Main.location.href='<?echo $rootdir;?>/patient_file/report/patient_report.php'" target="Main" class="menu">Report</a>
48 </td>
49 <td align="center" align="right" valign="middle">
50 <a href="../main/main_screen.php" target="_top" class="logout">Close</a>&nbsp;&nbsp;
51 </td>
52 <td align="right" valign="middle">
53 <form>
54 <select onchange='selpopup(this)' style='background-color:transparent'>
55 <option value=''>Popups</option>
56 <option value='problem_encounter.php'>Issues</option>
57 <option value='../../custom/export_demographics.php'>Export</option>
58 <? if ($GLOBALS['athletic_team']) { ?>
59 <option value='../reports/players_report.php'>Roster</option>
60 <? } ?>
61 </select>
62 </form>
63 <!-- <a href="<?echo $rootdir;?>/patient_file/problem_encounter.php" target="_blank" class="menu">Issues</a> -->
64 </td>
65 </tr>
66 </table>
68 </body>
69 </html>