new $.zui.Messager("登录成功", {type: "primary" // 定义颜色主题 }).show(); '; header("refresh:2;url=" . $config['domain'] . ""); } else { echo ' '; header("refresh:2;"); } } else { echo ' '; header("refresh:2;"); } } } else { echo ' '; } } // 退出 if (isset($_GET['login'])) { if ($_GET['login'] = 'logout') { if (isset($_COOKIE['auth'])) { setcookie('auth', null, time() - 1, '/'); header("Refresh:2;url=../index.php"); echo ' '; } else { echo ' '; } } } ?>