<%@page contentType="text/html; charset=GBK"%><%@include file="../../include/Admin.jsp"%><%@include file="../../include/DBCon.jsp"%><%DBSql = "Select a.id,a.name AS aname,a.`user`,a.roleid,a.lasttime,a.lastip,r.name AS rname From admin AS a Left Join role AS r ON a.roleid = r.id ";if(!StrFormat.isNull(request.getParameter("id")) && StrFormat.isNum(request.getParameter("id"))){DBSql += "where a.id ='"+ request.getParameter("id")+"'";}else{Coefficient=1;DBSql += "where a.id ='"+AdmID+"'";}DBStmt = DBCon.createStatement();DBRs = DBStmt.executeQuery(DBSql);if(DBRs.next()){%><html><head><meta http-equiv="Content-Type" content="text/html; charset=GBK" /><meta name="keywords" content="向继根,Xiang Jigen,QQ,190582560"><meta name="description" content="Programmer:向继根 QQ:190582560 Email:190582560@qq.com"><meta name="author" content="向继根,Xiang Jigen" /><title><%=TitleStr%>查看资料</title><link rel="stylesheet" type="text/css" href="../images/Style.css"/><script type="text/javascript" src="../../js/min.js"></script><script type="text/javascript" src="../../js/common.js"></script><script type="text/javascript" src="../../js/css.js"></script></head><body><table cellpadding="0" cellspacing="1" class="table_list"><caption>个人资料</caption><tr><th width="20%"><strong>昵 称</strong></th><td>&nbsp;<%=StrFormat.isNull(DBRs.getString("aname"),"")%></td></tr><tr><th><strong>姓 名</strong></th><td>&nbsp;<%=StrFormat.isNull(DBRs.getString("user"),"")%></td></tr><tr><th><strong>分配角色</strong></th><td>&nbsp;<%=StrFormat.isNull(DBRs.getString("rname"),"")%></td></tr><tr><th><strong>最后登录时间</strong></th><td>&nbsp;<%if(Coefficient==0){out.print(StrFormat.isNull(DBRs.getString("lasttime"),""));}else{out.print(AdmLastTime);}%></td></tr><tr><th><strong>最后登录 IP</strong></th><td>&nbsp;<%if(Coefficient==0){out.print(StrFormat.isNull(DBRs.getString("lastip"),""));}else{out.print(AdmLastIP);}%></td></tr></table><div id="button"><input type="button" class="button_style" value="返 回" onClick="history.back();"></div></body></html><%}else{out.print("<script language=\"javascript\">alert(\"无信息...\");history.back();</script>");}DBRs.close();DBStmt.close();%><%@include file="../../include/DBConClose.jsp"%>