2 include_once("../globals.php");
3 include_once("../../library/acl.inc");
7 <title
>Navigation
</title
>
9 <link rel
=stylesheet href
="<?echo $css_header;?>" type
="text/css">
12 <body
<?
echo $nav_bg_line;?
> topmargin
=0 rightmargin
=4 leftmargin
=2 marginheight
=0 bottommargin
=0 link
=#000000 vlink=#000000 alink=#000000>
14 <form border
=0 method
=post target
="_top" name
="find_patient" action
="<?echo $rootdir?>/main/finder/patient_finder.php">
17 <table border
="0" cellspacing
="0" cellpadding
="0" width
="100%" height
="100%">
19 <td width
="10%" nowrap
>
20 <?
//<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
="ID"><?
xl ('ID','e'); ?
></option
>
24 <option value
="Last" selected
><?
xl ('Name','e'); ?
></option
>
25 <option value
="SSN"><?
xl ('SSN','e'); ?
></option
>
26 <option value
="DOB"><?
xl ('DOB','e'); ?
></option
>
30 <td width
="5%" nowrap
>
31 <a href
="javascript:top.restoreSession();document.find_patient.action='<?echo $rootdir?>/main/finder/patient_finder.php';document.find_patient.submit();"
32 class='link'> 
;<?
xl('Find','e'); ?
> 
;<?
xl('Patient','e'); ?
></a
>
37 $npauth = acl_check('patients', 'demo');
38 if ($npauth == 'write' ||
$npauth == 'addonly') {
40 <td align
="center" nowrap
>
41  
;<a
class="menu" target
=_top href
="../new/new_patient.php" onclick
="top.restoreSession()">
42 <?
xl('New','e'); ?
> 
;<?
xl('Patient','e'); ?
></a
> 
;
46 <td align
="center" nowrap
>
47  
;<a href
="../usergroup/user_info.php" target
="Main" class="menu" onclick
="top.restoreSession()">
48 <?
xl('Password','e'); ?
></a
> 
;
51 <?
if (acl_check('admin', 'calendar') ||
acl_check('admin', 'database') ||
52 acl_check('admin', 'forms') ||
acl_check('admin', 'practice') ||
53 acl_check('admin', 'users')) { ?
>
54 <td align
="center" nowrap
>
55  
;<a
class=menu target
=_top href
="../usergroup/usergroup.php" onclick
="top.restoreSession()">
56 <?
xl('Admin','e'); ?
></a
> 
;
60 <td align
="center" nowrap
>
61  
;<a href
="../reports/appointments_report.php" target
="_new" class="menu"> <?
xl('Appts','e'); ?
></a
> 
; 
;
63 <td align
="center" nowrap
>
64  
;<a href
="../reports/index.php" target
="Main" class="menu" onclick
="top.restoreSession()">
65 <?
xl('Reports','e'); ?
></a
> 
;
68 <td align
="center" nowrap
>
69  
;<a href
="onotes/office_comments.php" target
="Main" class="menu" onclick
="top.restoreSession()">
70 <?
xl('Notes','e'); ?
></a
> 
;
73 <td align
="center" nowrap
>
74  
;<a href
="../usergroup/addrbook_list.php" target
="Main" class="menu" onclick
="top.restoreSession()">
75 <?
xl('AB','e'); ?
></a
> 
;
79 $tmp = acl_check('patients', 'demo');
80 if (($tmp == 'write' ||
$tmp == 'addonly') &&
81 is_readable("$webserver_root/custom/import.php")) {
83 <td align
="center" nowrap
>
84  
;<a href
="<?php echo $web_root; ?>/custom/import.php" target
="Main" class="menu"
85 onclick
="top.restoreSession()"><?
xl('Import','e'); ?
></a
> 
;
90 if ($GLOBALS['hylafax_server'] ||
$GLOBALS['scanner_output_directory']) {
92 if ($GLOBALS['hylafax_server']) {
93 // Count the number of faxes in the recvq:
95 exec("faxstat -r -l -h " . $GLOBALS['hylafax_server'], $statlines);
96 foreach ($statlines as $line) {
97 if (substr($line, 0, 1) == '-') ++
$faxcount;
100 $faxcount = $faxcount ?
"($faxcount)" : "";
102 <td align
="center" nowrap
>
103  
;<a href
="../fax/faxq.php" target
="Main" class="menu" onclick
="top.restoreSession()">
104 <?php
echo xl('Docs') . $faxcount; ?
></a
> 
;
108 <?
if (acl_check('acct', 'rep') ||
acl_check('acct', 'eob') ||
acl_check('acct', 'bill')) { ?
>
109 <td align
="center" nowrap
>
110  
;<a href
="../billing/billing_report.php" target
="Main" class="menu" onclick
="top.restoreSession()">
111 <?
xl('Billing','e'); ?
></a
> 
;
115 <?
if ($GLOBALS['athletic_team']) { ?
>
116 <td align
="center" nowrap
>
117  
;<a href
="../reports/players_report.php?embed=1" target
="Main" class="menu" onclick
="top.restoreSession()">
118 <?
xl('Roster','e'); ?
></a
> 
;
120 <td align
="center" nowrap
>
121  
;<a href
="main.php" target
="Main" class="menu" onclick
="top.restoreSession()">
122 <?
xl('Calendar','e'); ?
></a
> 
;
125 <td align
="center" nowrap
>
126  
;<a href
="main.php" target
="Main" class="menu" onclick
="top.restoreSession()">
127 <?
xl('Home','e'); ?
></a
> 
;
131 <td align
="center" nowrap
>
132  
;<a href
="../logout.php?auth=logout" target
="_top" class="menu" onclick
="top.restoreSession()">
133 <?
xl('Logout','e'); ?
></a
> 
; 
;