2 include_once("../globals.php");
3 include_once("../../library/acl.inc");
7 <title
>Navigation
</title
>
9 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
12 <body
class="body_nav">
14 <form border
=0 method
=post target
="_top" name
="find_patient" action
="<?php echo $rootdir?>/main/finder/patient_finder.php">
16 <div id
="nav_topmenu">
17 <table border
="0" cellspacing
="0" cellpadding
="0" width
="100%" height
="100%">
19 <td width
="10%" nowrap
>
20 <?php
///<a href="javascript:document.find_patient.action='finder/patient_finder_keyboard.php';document.find_patient.submit();" class='link'>Find Patient:</a> ?>
21 <input type
="entry" size
="10" name
="patient" />
22 <select name
="findBy" size
=1>
23 <option value
="Last" selected
><?php
xl ('Name','e'); ?
></option
>
24 <option value
="Phone"><?php
xl ('Phone','e'); ?
></option
>
25 <option value
="ID"><?php
xl ('ID','e'); ?
></option
>
26 <option value
="SSN"><?php
xl ('SSN','e'); ?
></option
>
27 <option value
="DOB"><?php
xl ('DOB','e'); ?
></option
>
31 <td width
="5%" nowrap
>
32 <a href
="javascript:top.restoreSession();document.find_patient.action='<?php echo $rootdir?>/main/finder/patient_finder.php';document.find_patient.submit();"
33 class='link'> 
;<?php
xl('Find','e'); ?
> 
;<?php
xl('Patient','e'); ?
></a
>
38 $npauth = acl_check('patients', 'demo');
39 if ($npauth == 'write' ||
$npauth == 'addonly') {
41 <td align
="center" nowrap
>
42  
;<a
class="menu" target
=_top href
="../new/new_patient.php" onclick
="top.restoreSession()">
43 <?php
xl('New','e'); ?
> 
;<?php
xl('Patient','e'); ?
></a
> 
;
47 <td align
="center" nowrap
>
48  
;<a href
="../usergroup/user_info.php" target
="Main" class="menu" onclick
="top.restoreSession()">
49 <?php
xl('Password','e'); ?
></a
> 
;
52 <td align
="center" nowrap
>
53  
;<a href
="../super/edit_globals.php?mode=user" target
="Main" class="menu" onclick
="top.restoreSession()">
54 <?php
xl('Settings','e'); ?
></a
> 
;
57 <?php
if (acl_check('admin', 'calendar') ||
acl_check('admin', 'database') ||
58 acl_check('admin', 'forms') ||
acl_check('admin', 'practice') ||
59 acl_check('admin', 'users') ||
acl_check('admin', 'acl')) { ?
>
60 <td align
="center" nowrap
>
61  
;<a
class="menu" target
=_top href
="../usergroup/usergroup.php" onclick
="top.restoreSession()">
62 <?php
xl('Admin','e'); ?
></a
> 
;
66 <td align
="center" nowrap
>
67  
;<a href
="../reports/appointments_report.php" target
="_new" class="menu"> <?php
xl('Appts','e'); ?
></a
> 
; 
;
69 <td align
="center" nowrap
>
70  
;<a href
="../reports/index.php" target
="Main" class="menu" onclick
="top.restoreSession()">
71 <?php
xl('Reports','e'); ?
></a
> 
;
74 <td align
="center" nowrap
>
75  
;<a href
="onotes/office_comments.php" target
="Main" class="menu" onclick
="top.restoreSession()">
76 <?php
xl('Notes','e'); ?
></a
> 
;
79 <td align
="center" nowrap
>
80  
;<a href
="../usergroup/addrbook_list.php" target
="Main" class="menu" onclick
="top.restoreSession()">
81 <?php
xl('AB','e'); ?
></a
> 
;
85 $tmp = acl_check('patients', 'demo');
86 if (($tmp == 'write' ||
$tmp == 'addonly') &&
87 is_readable("$webserver_root/custom/import.php")) {
89 <td align
="center" nowrap
>
90  
;<a href
="<?php echo $web_root; ?>/custom/import.php" target
="Main" class="menu"
91 onclick
="top.restoreSession()"><?php
xl('Import','e'); ?
></a
> 
;
96 if ($GLOBALS['enable_hylafax'] ||
$GLOBALS['enable_scanner']) {
98 if ($GLOBALS['enable_hylafax']) {
99 // Count the number of faxes in the recvq:
100 $statlines = array();
101 exec("faxstat -r -l -h " . $GLOBALS['hylafax_server'], $statlines);
102 foreach ($statlines as $line) {
103 if (substr($line, 0, 1) == '-') ++
$faxcount;
106 $faxcount = $faxcount ?
"($faxcount)" : "";
108 <td align
="center" nowrap
>
109  
;<a href
="../fax/faxq.php" target
="Main" class="menu" onclick
="top.restoreSession()">
110 <?php
echo xl('Docs') . $faxcount; ?
></a
> 
;
114 <?php
if (acl_check('acct', 'rep') ||
acl_check('acct', 'eob') ||
acl_check('acct', 'bill')) { ?
>
115 <td align
="center" nowrap
>
116  
;<a href
="../billing/billing_report.php" target
="Main" class="menu" onclick
="top.restoreSession()">
117 <?php
xl('Billing','e'); ?
></a
> 
;
121 <?php
if ($GLOBALS['athletic_team']) { ?
>
123 <td align
="center" nowrap
>
124  
;<a href
="../reports/players_report.php?embed=1" target
="Main" class="menu" onclick
="top.restoreSession()">
125 <?php
xl('Roster','e'); ?
></a
> 
;
127 <td align
="center" nowrap
>
128  
;<a href
="main.php" target
="Main" class="menu" onclick
="top.restoreSession()">
129 <?php
xl('Calendar','e'); ?
></a
> 
;
134 <td align
="center" nowrap
>
135  
;<a href
="main.php" target
="Main" class="menu" onclick
="top.restoreSession()">
136 <?php
xl('Home','e'); ?
></a
> 
;
141 <td align
="center" nowrap
>
142  
;<a href
="../logout.php?auth=logout" target
="_top" class="menu" onclick
="top.restoreSession()">
143 <?php
xl('Logout','e'); ?
></a
> 
; 
;
146 <td align
="center" nowrap
>
147  
;<a href
="http://open-emr.org/wiki/index.php/OpenEMR_4.1_Users_Guide" target
="_blank" class="menu">
148 <?php
xl('Manual','e'); ?
></a
> 
; 
;