1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* Main access point to the app.
|
5
|
*
|
6
|
* $Id: index.php,v 1.12 2005/05/02 15:47:23 chriskl Exp $
|
7
|
*/
|
8
|
|
9
|
// Include application functions
|
10
|
$_no_db_connection = true;
|
11
|
include_once('./libraries/lib.inc.php');
|
12
|
$misc->printHeader();
|
13
|
|
14
|
$rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0);
|
15
|
|
16
|
$cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*';
|
17
|
$mainframe = '<frame src="intro.php" name="detail" id="detail" frameborder="0" />'
|
18
|
?>
|
19
|
<frameset cols="<?php echo $cols ?>">
|
20
|
|
21
|
<?php if ($rtl) echo $mainframe; ?>
|
22
|
|
23
|
<frame src="browser.php" name="browser" id="browser" frameborder="0" />
|
24
|
|
25
|
<?php if (!$rtl) echo $mainframe; ?>
|
26
|
|
27
|
<noframes>
|
28
|
<body>
|
29
|
<?php echo $lang['strnoframes'] ?><br />
|
30
|
<a href="intro.php"><?php echo $lang['strnoframeslink'] ?></a>
|
31
|
</body>
|
32
|
</noframes>
|
33
|
|
34
|
</frameset>
|
35
|
|
36
|
<?php
|
37
|
$misc->printFooter(false);
|
38
|
?>
|