new Menu("百度API配置", "/admin/ApiConfig.php"), new Menu("垃圾分类", "/admin/WasteSorting.php"), new Menu("题目管理", "/admin/Question.php")); echo << function logout() { if(confirm("确认退出?")){ delCookie("login_token"); delCookie("manager_name"); location.href="/admin/Manager.php" } } EOF;