Beispiel #1
0
require './config.php';
if (isset($_GET['act'])) {
    switch ($_GET['act']) {
        case 'login_check':
            WF_Auth::loginCheck();
            break;
        case 'resetpasswd':
            WF_Auth::updateUserPassword();
            break;
        case 'out':
            WF_Auth::loginOut();
            break;
        case 'in':
            break;
        default:
            exit(WF_Session::get('login_error'));
    }
}
//
$uhash = $_SESSION['wf_uhash'] = rand(1000, 9999);
$error = wf_gpc('wf_error', 'S');
?>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="renderer" content="webkit">
    <title>站长附件上传下载管理平台 - Power By AdminSheng.com</title>
    <style type="text/css">
        html { }
        body { color:#fff; font-size:14px; padding:0; overflow:hidden; margin:0; width:100%; height:100%; min-height:400px; background:#2784bd url(static/images/login/bg_line.gif) repeat-x left top; }
        #body { background:url(static/images/login/bg.jpg) no-repeat center top; }