2007-10-26 22:44:33 +00:00
|
|
|
<?php
|
2007-12-11 19:44:21 +00:00
|
|
|
//setcookie("history", "", time() - 3600); //to delete a cookie, but did not seem to work
|
2008-10-23 17:54:02 +00:00
|
|
|
$TOPDIR = '..';
|
2007-12-18 15:30:44 +00:00
|
|
|
require_once "../lib/functions.php";
|
|
|
|
|
2008-10-23 17:54:02 +00:00
|
|
|
echo <<<EOS1
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11-strict.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<title>phpinfo</title>
|
|
|
|
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1">
|
|
|
|
<link href="$TOPDIR/lib/style.css" rel=stylesheet type='text/css'>
|
|
|
|
|
|
|
|
<link href="$TOPDIR/jq/theme/jquery-ui-theme.css" rel=stylesheet type='text/css'>
|
|
|
|
<script src="$TOPDIR/jq/jquery.min.js" type="text/javascript"></script>
|
|
|
|
<script src="$TOPDIR/jq/jquery-ui-all.min.js" type="text/javascript"></script>
|
|
|
|
<script src="$TOPDIR/lib/functions.js" type="text/javascript"></script>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
EOS1;
|
|
|
|
|
|
|
|
//insertLogin();
|
|
|
|
echo <<<EOS2
|
|
|
|
<script src="$TOPDIR/lib/xcatauth.js" type="text/javascript"></script>
|
|
|
|
<div id=logdialog>
|
|
|
|
<form id=loginform>
|
|
|
|
<label for=username>Username:</label><input id=username type=text name=username><br/>
|
|
|
|
<label for=password>Password:</label><input id=password type=password name=password></form>
|
|
|
|
<span class=logstatus id=logstatus><br/></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
EOS2;
|
|
|
|
|
|
|
|
/*
|
|
|
|
dumpGlobals();
|
|
|
|
|
|
|
|
$xml = docmd("authcheck","",NULL);
|
|
|
|
echo "<p>authcheck:<br>\n";
|
|
|
|
foreach ($xml->children() as $response) foreach ($response->children() as $t) { echo (string) $t, "<br>\n"; }
|
|
|
|
echo "</p>\n";
|
|
|
|
|
|
|
|
$xml = docmd('tabdump','',NULL);
|
|
|
|
echo "<p>tabdump:<br>\n";
|
|
|
|
foreach ($xml->children() as $response) foreach ($response->children() as $t) { echo (string) $t, "<br>\n"; }
|
2007-12-18 15:30:44 +00:00
|
|
|
echo "</p>\n";
|
|
|
|
|
2008-10-23 17:54:02 +00:00
|
|
|
phpinfo();
|
|
|
|
*/
|
2007-12-18 15:30:44 +00:00
|
|
|
|
2008-10-23 17:54:02 +00:00
|
|
|
echo "</body></html>\n";
|
2007-10-26 22:44:33 +00:00
|
|
|
?>
|