updated acknowledgments
[openemr.git] / interface / main / main_navigation.php
blob2576018c6b46c27e5471ee3dae0e9f241056212f
1 <?php
2 include_once("../globals.php");
3 include_once("../../library/acl.inc");
4 ?>
5 <html>
6 <head>
7 <title>Navigation</title>
9 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
11 </head>
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%">
18 <tr>
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>
28 </select>
29 </td>
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'>&nbsp;<?php xl('Find','e'); ?>&nbsp;<?php xl('Patient','e'); ?></a>
34 &nbsp;
35 </td>
37 <?php
38 if (acl_check('patients','demo','',array('write','addonly') )) {
40 <td align="center" nowrap>
41 &nbsp;<a class="menu" target=_top href="../new/new_patient.php" onclick="top.restoreSession()">
42 <?php xl('New','e'); ?>&nbsp;<?php xl('Patient','e'); ?></a>&nbsp;
43 </td>
44 <?php } ?>
46 <td align="center" nowrap>
47 &nbsp;<a href="../usergroup/user_info.php" target="Main" class="menu" onclick="top.restoreSession()">
48 <?php xl('Password','e'); ?></a>&nbsp;
49 </td>
51 <td align="center" nowrap>
52 &nbsp;<a href="../super/edit_globals.php?mode=user" target="Main" class="menu" onclick="top.restoreSession()">
53 <?php xl('Settings','e'); ?></a>&nbsp;
54 </td>
56 <?php if (acl_check('admin', 'calendar') || acl_check('admin', 'database') ||
57 acl_check('admin', 'forms') || acl_check('admin', 'practice') ||
58 acl_check('admin', 'users') || acl_check('admin', 'acl')) { ?>
59 <td align="center" nowrap>
60 &nbsp;<a class="menu" target=_top href="../usergroup/usergroup.php" onclick="top.restoreSession()">
61 <?php xl('Admin','e'); ?></a>&nbsp;
62 </td>
63 <?php } ?>
65 <td align="center" nowrap>
66 &nbsp;<a href="../reports/appointments_report.php" target="_new" class="menu"> <?php xl('Appts','e'); ?></a>&nbsp;&nbsp;
67 </td>
68 <td align="center" nowrap>
69 &nbsp;<a href="../reports/index.php" target="Main" class="menu" onclick="top.restoreSession()">
70 <?php xl('Reports','e'); ?></a>&nbsp;
71 </td>
73 <td align="center" nowrap>
74 &nbsp;<a href="onotes/office_comments.php" target="Main" class="menu" onclick="top.restoreSession()">
75 <?php xl('Notes','e'); ?></a>&nbsp;
76 </td>
78 <td align="center" nowrap>
79 &nbsp;<a href="../usergroup/addrbook_list.php" target="Main" class="menu" onclick="top.restoreSession()">
80 <?php xl('AB','e'); ?></a>&nbsp;
81 </td>
83 <?php
84 if ( (acl_check('patients','demo','',array('write','addonly') )) &&
85 is_readable("$webserver_root/custom/import.php")) {
87 <td align="center" nowrap>
88 &nbsp;<a href="<?php echo $web_root; ?>/custom/import.php" target="Main" class="menu"
89 onclick="top.restoreSession()"><?php xl('Import','e'); ?></a>&nbsp;
90 </td>
91 <?php } ?>
93 <?php
94 if ($GLOBALS['enable_hylafax'] || $GLOBALS['enable_scanner']) {
95 $faxcount = 0;
96 if ($GLOBALS['enable_hylafax']) {
97 // Count the number of faxes in the recvq:
98 $statlines = array();
99 exec("faxstat -r -l -h " . $GLOBALS['hylafax_server'], $statlines);
100 foreach ($statlines as $line) {
101 if (substr($line, 0, 1) == '-') ++$faxcount;
104 $faxcount = $faxcount ? "($faxcount)" : "";
106 <td align="center" nowrap>
107 &nbsp;<a href="../fax/faxq.php" target="Main" class="menu" onclick="top.restoreSession()">
108 <?php echo xl('Docs') . $faxcount; ?></a>&nbsp;
109 </td>
110 <?php } ?>
112 <?php if (acl_check('acct', 'rep') || acl_check('acct', 'eob') || acl_check('acct', 'bill')) { ?>
113 <td align="center" nowrap>
114 &nbsp;<a href="../billing/billing_report.php" target="Main" class="menu" onclick="top.restoreSession()">
115 <?php xl('Billing','e'); ?></a>&nbsp;
116 </td>
117 <?php } ?>
120 <td align="center" nowrap>
121 &nbsp;<a href="main.php" target="Main" class="menu" onclick="top.restoreSession()">
122 <?php xl('Home','e'); ?></a>&nbsp;
123 </td>
126 <td align="center" nowrap>
127 &nbsp;<a href="../logout.php" target="_top" class="menu" onclick="top.restoreSession()">
128 <?php xl('Logout','e'); ?></a>&nbsp;&nbsp;
129 </td>
131 <td align="center" nowrap>
132 &nbsp;<a href="http://open-emr.org/wiki/index.php/OpenEMR_4.2.2_Users_Guide" target="_blank" class="menu">
133 <?php xl('Manual','e'); ?></a>&nbsp;&nbsp;
134 </td>
136 </tr>
137 </table>
138 </div>
140 </form>
142 </body>
143 </html>