<?
//Written by Tom Bartolucci 2005
//Basica login sets the SESSION and COOKIE for this RefDB user

	session_start();
	$_SESSION["passwd"] = $passwd;
	$_SESSION["name"] = $name;
	$_SESSION["database"] = $database;
	$_SESSION["refdbc"] = "/usr/local/bin/refdbc";
	$_SESSION["refdba"] = "/usr/local/bin/refdba";

	$result = setcookie(session_name(),session_id(), time()+7200);

?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
<title>Logging in...</title>
<meta http-equiv="REFRESH" content="0; URL=refdbquery.html">
        <link href="refdbqxhtml.css" type="text/css" rel="stylesheet"/>
    </head>
    <body>
	  <h1>RefDB admin interface</h1>
       <div class="navigation">
            <h2>Navigation</h2>
            <ul class="navigationMenu">
                <li>
                    <a href="index.html">Login screen</a>
                </li>
                <li>
                    <a href="refdbquery.html">Search references</a>
                </li>
                <li>
                    <a href="refdbkajquery.html">Search keywords, authors, journals</a>
                </li>
                <li>
                    <a href="refdbadd.html">Add new references</a>
                </li>
                <li>
                    <a href="refdbdbquery.php">Change database</a>
                </li>
                <li>
                    <a href="external.php">Search external database</a>
                </li>
                <li>
                    <a href="refdbadmin.php">Administrative Interface</a>
                </li>
                <li>
                    <a href="refdblogout.php">Logout</a>
                </li>
            </ul>
        </div>
<div class="content">
<h1>Logging in...</h1>
<p>Please wait while your request is being processed</p>
 </div>
         <div class="footer">
            <p><a href="http://refdb.sourceforge.net">RefDB</a> reference manager and bibliography
                tool V. <!--VERSION-->0.9.8-1<!--/VERSION--></p>
        </div>
</body>
</html>
