<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/Conn_User.asp"-->
<!--#include file="inc/Conn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="new/css.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
BODY {
	scrollbar-face-color:#DDDDDD;
	scrollbar-highlight-color: #cccccc;
	scrollbar-shadow-color: #CCCCCC;
	scrollbar-3dlight-color: #F5F5F5;
	scrollbar-darkshadow-color: #F5F5F5;
	scrollbar-track-color: #F0F0F0;
	scrollbar-arrow-color: #FFFFFF;
	margin-left: 10px;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
}
</style>
<link href="new/css.CSS" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--

.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
</head>
<body>
<%
userid=trim(request.Form("userid"))
classid=trim(request.Form("classid"))
classname=trim(request.Form("classname"))
set rs=server.createobject("adodb.recordset")
sql="select * from [photoclass] where classid="&classid
rs.open sql,Conn,1,3
rs.update
rs("classname")=classname
rs("username")=Request.Cookies("asp163")("UserName")
rs.update
response.Redirect "userphotos.asp?userid="&userid
%>


</body>
</html>
<%

rs.close
set rs=nothing
%>