<?php
$title
=
$allgAr
[
'title'
].
' :: Login'
;
$hmenu
=
$extented_forum_menu
.
'Login'
.
$extented_forum_menu_sufix
;
$tpl
=
new
tpl (
'user/login.htm'
);
if
( loggedin() ) {
$design
=
new
design (
$title
,
$hmenu
, 0);
$design
->header();
if
(isset(
$_POST
[
'wdlink'
])) {
$wd
=
$_POST
[
'wdlink'
]; }
else
{
$wd
=
'index.php?'
.
$allgAr
[
'smodul'
]; }
wd (
$wd
,
$lang
[
'yourareloged'
]);
$design
->footer();
}
else
{
echo
'
<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
>
<html>
<head>
<meta http-equiv=
"content-type"
content=
"text/html;charset=iso-8859-1"
>
<title>LOGIN</title>
</head>
<body bgcolor=
"#ffffff"
>
<table width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"10"
>
<tr>
<td>
<form action=
"index.php?user-login"
method=
"POST"
>
<fieldset>
<legend><b>
'.$lang['
LOGIN
'].'
</b></legend>
<label style=
"float:left; width:60px;"
>
'.$lang['
nickname
'].'
</label><b style=
"float:left; text-align:left; width:20px;"
>:</b><input type=
"text"
style=
"margin-bottom:2px;"
tabindex=
"1"
name=
"name"
maxlength=
"15"
/><br />
<label style=
"float:left; width:60px;"
>
'.$lang['
password
'].'
</label><b style=
"float:left; text-align:left; width:20px;"
>:</b><input type=
"password"
style=
"margin-bottom:2px;"
tabindex=
"2"
maxlength=
"20"
name=
"pass"
/><br />
<label style=
"float:left; width:80px;"
> </label><input type=
"hidden"
name=
"wdlink"
value=
"index.php?'.$allgAr['smodul'].'"
/><input type=
"submit"
style=
"margin-bottom:2px;"
tabindex=
"3"
value=
"'.$lang['login'].'"
name=
"user_login_sub"
/><br /><br />
<label style=
"padding-left:80px;"
><a href=
"index.php?user-regist"
>
'.$lang['
registernow
'].'
</a></label><br />
<label style=
"padding-left:80px;"
><a href=
"index.php?user-remind"
>
'.$lang['
forgottenpassword
'].'
?</a></label>
</fieldset></form>
</td>
</tr>
</table>
</body>
</html>';
}
exit
();
?>