Apparently the mysqldump was not acceptable for import.
[openemr.git] / interface / main / main_screen.php
blobfc8cc29253ff87d451240c3474398c419e152575
1 <?php
2 include_once("../globals.php");
3 $_SESSION["encounter"] = "";
5 if ($GLOBALS['athletic_team']) {
6 $frame1url = "../reports/players_report.php?embed=1";
7 } else {
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'];
11 } else {
12 if ($GLOBALS['concurrent_layout'])
13 // new layout
14 $frame1url = "main_info.php";
15 else
16 // old layout
17 $frame1url = "main.php?mode=" . $_GET['mode'];
21 <html>
22 <head>
23 <title>
24 <?php echo $openemr_name ?>
25 </title>
26 <script type="text/javascript" src="../../library/topdialog.js"></script>
28 <script language='JavaScript'>
29 <?php require($GLOBALS['srcdir'] . "/restoreSession.php"); ?>
30 </script>
32 <?php if ($GLOBALS['concurrent_layout']) { // start new layout ?>
34 </head>
35 <!-- border (mozilla) and framespacing (ie) are the same thing. -->
36 <!-- frameborder specifies a 3d look, not whether there are borders. -->
37 <frameset rows='<?php echo $GLOBALS['titleBarHeight'] ?>,*' frameborder='1' border='1' framespacing='1' onunload='imclosing()'>
38 <frame src='main_title.php' name='Title' scrolling='no' frameborder='1' noresize />
39 <frameset cols='<?php echo $GLOBALS['athletic_team'] ? '230' : '130'; ?>,*' id='fsbody' frameborder='1' border='4' framespacing='4'>
40 <frameset rows='*,0' frameborder='0' border='0' framespacing='0'>
41 <frame src='left_nav.php' name='left_nav' />
42 <frame src='daemon_frame.php' name='Daemon' scrolling='no' frameborder='0'
43 border='0' framespacing='0' />
44 </frameset>
45 <?php if (empty($GLOBALS['athletic_team'])) { ?>
46 <frameset rows='60%,*' id='fsright' bordercolor='#999999' frameborder='1'>
47 <?php } else { ?>
48 <frameset rows='100%,*' id='fsright' bordercolor='#999999' frameborder='1'>
49 <?php } ?>
50 <frame src='<?php echo $frame1url ?>' name='RTop' scrolling='auto' />
51 <frame src='authorizations/authorizations.php' name='RBot' scrolling='auto' />
52 </frameset>
53 </frameset>
54 </frameset>
56 <?php } else { // start old layout ?>
58 </head>
59 <frameset rows="<?php echo "$GLOBALS[navBarHeight],$GLOBALS[titleBarHeight]" ?>,*"
60 cols="*" frameborder="no" border="0" framespacing="0"
61 onunload="imclosing()">
62 <frame src="main_navigation.php" name="Navigation" scrolling="no" noresize frameborder="no">
63 <frame src="main_title.php" name="Title" scrolling="no" noresize frameborder="no">
64 <frame src='<?php echo $frame1url ?>' name='Main' scrolling='auto' noresize frameborder='no'>
65 </frameset>
66 <noframes><body bgcolor="#FFFFFF">
67 Frame support required
68 </body></noframes>
70 <?php } // end old layout ?>
72 </html>