minor cosmetic fixes
[openemr.git] / interface / main / main_title.php
blobd5e153f8cf7542f7e7b99ed2caba1128c87f483a
1 <?php
2 include_once("../globals.php");
3 ?>
5 <html>
6 <head>
8 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
10 </head>
11 <body class="body_title">
13 <?php
14 $res = sqlQuery("select * from users where username='".$_SESSION{"authUser"}."'");
17 <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
18 <tr>
20 <td>
21 <div style='float:left;margin-top:2px'>
22 <div style='margin-left:10px; float:left; display:none' id="current_patient_block">
23 <span class='text'><?php xl('Patient','e'); ?>:&nbsp;</span><span class='title_bar_top' id="current_patient"><b><?php xl('None','e'); ?></b></span>
24 </div>
25 <div style='margin-left:5px; float:left; display:none' class='text' id="current_encounter_block" >
26 <span class='text'>| <?php xl('Encounter','e'); ?>:&nbsp;</span><span class='title_bar_top' id="current_encounter"><b><?php xl('None','e'); ?></b></span>
27 </div>
28 </div>
29 </td>
31 <td valign="middle">
32 <div style='float:right; margin-left:5px'>
34 <div style='float:left; margin-top:3px' class = 'text'>
35 <a href="javascript:;" onclick="javascript:parent.left_nav.goHome();" ><?php xl('Home','e'); ?></a>
36 &nbsp;|&nbsp;
37 <a href="../../Documentation/User_Guide/" target="RTop" id="help_link" onclick="top.restoreSession()"> <?php xl('Manual','e'); ?></a>
38 &nbsp;|&nbsp;
39 </div>
41 <div style='float:left'>
42 <span class='text'><?php xl('Logged in','e'); ?></span>:&nbsp;<span class="title_bar_top"><?php echo $res{"fname"}.' '.$res{"lname"};?></span>
43 <span style="font-size:0.7em;"> (<?php echo $_SESSION['authGroup']?>)</span>
44 </div>
45 <div style='float:left;margin-left:5px'><a href="../logout.php?auth=logout" target="_top" class="css_button_small" id="logout_link"><span><?php xl('Logout', 'e'); ?></span></a></div>
46 </div>
47 </td>
50 </tr>
51 </table>
53 </body>
54 </html>