Размер файла: 812B
<?php
// by Mike O. (mides), coolcms.mobi
$title = 'Авторизация';
require_once 'system/sys.php';
require_once 'system/header.php';
if (isset($u['id'])) {
redirect(HTTPHOME);
} else {
tp($lang['login']);
note();
echo '<form name="form" action="a.php" method="post">
'.$lang['username'].':<br /><input type="text" name="username" maxlength="12" size="12"/><br />
'.$lang['password'].' (<a href="recover.php">забыли?</a>):<br /> <input type="password" name="password" maxlength="15" size="12"/><br />
<input type="submit" value="'.$lang['login'].'"/>
</form>
<br />
'.$lang['autologin'].':<br />
<font color="red">'.HTTPHOME.'/a.php?l=username&p=password</font>';
nav2('recover.php', $lang['forgot_your_password']);
}
require_once 'system/tail.php';
?>