summaryrefslogtreecommitdiff
path: root/shell/index.php
blob: 6d62a653edc759f372d5d53004495016830ecdb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
$LTS = 'set';
session_start();
include('no_magicquotes.php');

global $auth_html;
include('login.php');

echo '<?xml version="1.0" encoding="utf-8"?>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr" >
<head>
	<title>ltShell 3</title>
	<link rel="stylesheet" href="style.css" media="screen,projection" />
	<script type="text/javascript">
		function formfocus() {
			document.getElementById('prompt').focus();
		}
		window.onload = formfocus;
	</script>
</head>
<body>
<div class="login"><?php echo $auth_html; ?></div>
<?php
if ( isset($_SESSION['user']) && ($_SESSION['user']!='') ) {
	include('shell.php');
}
?>
</body></html>