okay, this ought to work. It's ugly, but it ought to work.

This commit is contained in:
Jeff Teunissen 2002-02-22 06:38:03 +00:00
parent f77b3e9af3
commit c8c1639dcd

View file

@ -85,7 +85,69 @@ CREATE TABLE members (
if ($result[auth]) {
authCreateSecret ($userName, $result[u_password]);
} else {
authLoginForm ('Login incorrect.');
require siteHome ."/parts/library.php";
require siteHome ."/parts/head.php"; // Load the HEAD and open BODY
require siteHome ."/parts/topstrip.php"; // Display top strip
require siteHome ."/parts/titletable.php"; // Display main title w/ logos
?>
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
<TR vAlign="top">
<TD bgColor="<? echo menuBgColor; ?>">
<? include siteHome . "/parts/menu.php"; ?>
</TD>
<TD width="100%">
<? tableHeader ("100%", black); ?>
<TR>
<? tableSpacer (1, 9, 3, black); ?>
</TR>
<TR>
<? tableSpacer (9, 1, 1, black); ?>
<TD>
<? require siteHome . "/parts/topmain.php"; ?>
</TD>
<? tableSpacer (9, 1, 1, black); ?>
</TR>
<TR>
<? tableSpacer (1, 18, 3, black); ?>
</TR>
<TR>
<? tableSpacer (9, 1, 1, black); ?>
<TD>
<!-- Content Start -->
<FORM name="login" method="post" action="<? echo thisUrl; ?>">
<?
tableBoxHeader (featureBgColor, tableHeadColor);
tableTitle ("Login incorrect", 1, tableHeadColor);
?><TD align="center"><?
tableHeader ("100%", featureBgColor);
?>
<TR vAlign="middle">
<TD align="center">
<STRONG>User Name:</STRONG>
</TD>
<TD align="center">
<INPUT name="userName" type="text" size="10">
</TD>
</TR>
<TR vAlign="middle">
<TD align="center">
<STRONG>Password:</STRONG>
</TD>
<TD align="center">
<INPUT name="password" type="password" size="10">
</TD>
</TR>
<TR vAlign="middle">
<TD align="center" colSpan="2">
<INPUT TYPE="submit" VALUE="Log in">
</TD>
</TR>
<?
tableFooter ();
tableBoxFooter ();
require siteHome ."/parts/postamble.php";
die ();
}
}