2 include_once("../globals.php");
3 $_SESSION["encounter"] = "";
5 if ($GLOBALS['athletic_team']) {
6 $frame1url = "../reports/players_report.php?embed=1";
8 if (isset($_GET['mode']) && $_GET['mode'] == "loadcalendar") {
9 $frame1url = "calendar/index.php?pid=" . $_GET['pid'];
10 if (isset($_GET['date'])) $frame1url .= "&date=" . $_GET['date'];
12 if ($GLOBALS['concurrent_layout'])
13 $frame1url = "main_info.php";
15 $frame1url = "main.php?mode=" . $_GET['mode'];
22 <?php
echo $openemr_name ?
>
24 <script type
="text/javascript" src
="../../library/topdialog.js"></script
>
26 <script language
='JavaScript'>
27 <?php
require($GLOBALS['srcdir'] . "/restoreSession.php"); ?
>
30 <?php
if ($GLOBALS['concurrent_layout']) { // start new layout ?>
33 <!-- border (mozilla
) and framespacing (ie
) are the same thing
. -->
34 <!-- frameborder specifies a
3d look
, not whether there are borders
. -->
36 <frameset rows
='<?php echo $GLOBALS['titleBarHeight
'] ?>,*' frameborder
='1' border
='1' framespacing
='1' onunload
='imclosing()'>
37 <frame src
='main_title.php' name
='Title' scrolling
='no' frameborder
='1' noresize
/>
38 <frameset cols
='130,*' id
='fsbody' frameborder
='1' border
='4' framespacing
='4'>
39 <frameset rows
='*,0' frameborder
='0' border
='0' framespacing
='0'>
40 <frame src
='left_nav.php' name
='left_nav' />
41 <frame src
='daemon_frame.php' name
='Daemon' scrolling
='no' frameborder
='0'
42 border
='0' framespacing
='0' />
44 <frameset rows
='60%,*' id
='fsright' bordercolor
='#999999' frameborder
='1'>
45 <frame src
='<?php echo $frame1url ?>' name
='RTop' scrolling
='auto' />
46 <frame src
='authorizations/authorizations.php' name
='RBot' scrolling
='auto' />
51 <?php
} else { // start old layout ?>
54 <frameset rows
="<?echo "$GLOBALS[navBarHeight
],$GLOBALS[titleBarHeight
]" ?>,*"
55 cols
="*" frameborder
="no" border
="0" framespacing
="0"
56 onunload
="imclosing()">
57 <frame src
="main_navigation.php" name
="Navigation" scrolling
="no" noresize frameborder
="no">
58 <frame src
="main_title.php" name
="Title" scrolling
="no" noresize frameborder
="no">
59 <frame src
='<?php echo $frame1url ?>' name
='Main' scrolling
='auto' noresize frameborder
='no'>
61 <noframes
><body bgcolor
="#FFFFFF">
64 <?php
} // end old layout ?>