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:document.find_patient.action='<?echo $rootdir?>/main/finder/patient_finder.php';document.find_patient.submit();" class=link
> 
;<?
xl('Find','e'); ?
> 
;<?
xl('Patient','e'); ?
></a
>
36 $npauth = acl_check('patients', 'demo');
37 if ($npauth == 'write' ||
$npauth == 'addonly') {
39 <td align
="center" nowrap
>
40  
;<a
class="menu" target
=_top href
="../new/new_patient.php"><?
xl('New','e'); ?
> 
;<?
xl('Patient','e'); ?
></a
> 
;
44 <td align
="center" nowrap
>
45  
;<a href
="../usergroup/user_info.php" target
="Main" class="menu"><?
xl('Password','e'); ?
></a
> 
;
48 <?
if (acl_check('admin', 'calendar') ||
acl_check('admin', 'database') ||
49 acl_check('admin', 'forms') ||
acl_check('admin', 'practice') ||
50 acl_check('admin', 'users')) { ?
>
51 <td align
="center" nowrap
>
52  
;<a
class=menu target
=_top href
="../usergroup/usergroup.php"><?
xl('Administration','e'); ?
></a
> 
;
56 <td align
="center" nowrap
>
57  
;<a href
="../reports/index.php" target
="Main" class="menu"><?
xl('Reports','e'); ?
></a
> 
;
60 <td align
="center" nowrap
>
61  
;<a href
="onotes/office_comments.php" target
="Main" class="menu"><?
xl('Notes','e'); ?
></a
> 
;
65 if ($GLOBALS['hylafax_server']) {
66 // Count the number of faxes in the recvq:
68 exec("faxstat -r -l -h " . $GLOBALS['hylafax_server'], $statlines);
70 foreach ($statlines as $line) {
71 if (substr($line, 0, 1) == '-') ++
$faxcount;
73 $faxcount = $faxcount ?
"($faxcount)" : "";
75 <td align
="center" nowrap
>
76  
;<a href
="../fax/faxq.php" target
="Main" class="menu"><?php
echo xl('Fax') . $faxcount; ?
></a
> 
;
80 <?
if (acl_check('acct', 'rep') ||
acl_check('acct', 'eob') ||
acl_check('acct', 'bill')) { ?
>
81 <td align
="center" nowrap
>
82  
;<a href
="../billing/billing_report.php" target
="Main" class="menu"><?
xl('Billing','e'); ?
></a
> 
;
86 <?
if ($GLOBALS['athletic_team']) { ?
>
87 <td align
="center" nowrap
>
88  
;<a href
="../reports/players_report.php?embed=1" target
="Main" class="menu"><?
xl('Roster','e'); ?
></a
> 
;
90 <td align
="center" nowrap
>
91  
;<a href
="main.php" target
="Main" class="menu"><?
xl('Calendar','e'); ?
></a
> 
;
94 <td align
="center" nowrap
>
95  
;<a href
="main.php" target
="Main" class="menu"><?
xl('Home','e'); ?
></a
> 
;
99 <td align
="center" nowrap
>
100  
;<a href
="../logout.php?auth=logout" target
="_top" class="menu"><?
xl('Logout','e'); ?
></a
> 
; 
;