<!--#INCLUDE FILE="conn.asp" -->
<!--#INCLUDE FILE="Class_Checkuser.asp" -->
<%
if membername="" then
response.redirect"main.asp"
else
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="select * from [student] where userid='"&membername&"'"
rs.open sql,conn,1,1%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<body bgcolor="#ecf2fc" leftmargin="0" topmargin="0">
<STYLE type=text/css>
BODY {
	BACKGROUND-POSITION: center 50%; SCROLLBAR-FACE-COLOR: #dee3e7; FONT-SIZE: 12px;  SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #dee3e7; COLOR: #333333; SCROLLBAR-3DLIGHT-COLOR: #d1d7dc; SCROLLBAR-ARROW-COLOR: #006699; SCROLLBAR-TRACK-COLOR: #efefef; FONT-FAMILY: 宋体; BACKGROUND-COLOR: #ecf2fc
}
INPUT {
	BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #000000 1px solid; LINE-HEIGHT: 15px; BORDER-BOTTOM: #000000 1px solid; FONT-FAMILY: Verdana,Tahoma,宋体
}
</style>
<%if left(rs("imageid"),5)<>"face/" and request("upload")="" then
response.write"<div align=left>您已经上传了个性头像,是否要再上传? <a href=?upload=yes target=_self>[是]</a>/<a href="&rs("imageid")&" target=_blank>[看图]</a></div>"
else%>
<form name="form" method="post" action="Class_Upface.asp" enctype="multipart/form-data" >
<input type="file" name="file" size="27">
<input type="submit" name="Submit2" value="上传"></form>
<%end if
rs.close
set rs=nothing
end if
call EndConnection()%>
</body>