2 include_once("../globals.php");
3 include_once("$srcdir/acl.inc");
5 $ie_auth = ((acl_check('encounters', 'notes') == 'write' ||
6 acl_check('encounters', 'notes_a') == 'write') &&
7 acl_check('patients', 'med') == 'write');
11 <title
><?php
xl('Navigation','e'); ?
></title
>
12 <link rel
=stylesheet href
="<?echo $css_header;?>" type
="text/css">
13 <script type
="text/javascript" src
="../../library/dialog.js"></script
>
14 <script language
="JavaScript">
15 // This is invoked to pop up some window when a popup item is selected.
16 function selpopup(selobj
) {
17 var i
= selobj
.selectedIndex
;
18 var opt
= selobj
.options
[i
];
22 if (opt
.text
== 'Export' || opt
.text
== 'Import') {
26 else if (opt
.text
== 'Refer') {
30 dlgopen(opt
.value
, '_blank', width
, height
);
32 selobj
.selectedIndex
= 0;
37 <body
<?php
echo $nav_bg_line ?
> topmargin
='0' rightmargin
='0' leftmargin
='5'
38 marginheight
='0' bottommargin
='0'
39 link
='#000000' vlink
='#000000' alink
='#000000'>
42 <table border
="0" cellspacing
="0" cellpadding
="0" width
="100%" height
="100%">
44 <td align
="center" valign
="middle">
45 <a href
="javascript:top.restoreSession();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"><?
xl('Summary','e'); ?
></a
>
47 <td align
="center" valign
="middle">
48 <a href
="javascript:top.restoreSession();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"><?
xl('History','e'); ?
></a
>
50 <td align
="center" valign
="middle">
51 <a href
="javascript:top.restoreSession();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"><?
xl('Encounter','e'); ?
></a
>
53 <td align
="center" valign
="middle">
54 <a href
="javascript:top.restoreSession();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"><?
xl('Transaction','e'); ?
></a
>
56 <td align
="center" valign
="middle">
57 <a href
="<?echo $GLOBALS['web_root'];?>/controller.php?document&list&patient_id=<?=$pid?>"
58 target
="Main" class="menu" onclick
="top.restoreSession()"><?
xl('Documents','e'); ?
></a
>
60 <td align
="center" valign
="middle">
61 <a href
="javascript:top.restoreSession();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"><?
xl('Report','e'); ?
></a
>
63 <td align
="center" align
="right" valign
="middle">
64 <a href
="../main/main_screen.php" target
="_top" class="logout" onclick
="top.restoreSession()"><?
xl('Close','e'); ?
></a
> 
; 
;
66 <td align
="right" valign
="middle">
67 <select onchange
='selpopup(this)' style
='background-color:transparent'>
68 <option value
=''><?
xl('Popups','e'); ?
></option
>
69 <?php
if ($ie_auth) { ?
>
70 <option value
='problem_encounter.php'><?
xl('Issues','e'); ?
></option
>
72 <option value
='../../custom/export_xml.php'><?
xl('Export','e'); ?
></option
>
73 <option value
='../../custom/import_xml.php'><?
xl('Import','e'); ?
></option
>
74 <?php
if ($GLOBALS['athletic_team']) { ?
>
75 <option value
='../reports/players_report.php'><?
xl('Roster','e'); ?
></option
>
77 <option value
='../reports/appointments_report.php?patient=<?php echo $pid ?>'><?
xl('Appts','e'); ?
></option
>
78 <?php
if (file_exists("$webserver_root/custom/refer.php")) { ?
>
79 <option value
='../../custom/refer.php'><?
xl('Refer','e'); ?
></option
>
81 <?php
if ($GLOBALS['inhouse_pharmacy']) { ?
>
82 <option value
='pos_checkout.php'><?
xl('Payment','e'); ?
></option
>
84 <option value
='front_payment.php'><?
xl('Payment','e'); ?
></option
>