<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<!--#include file="../sub.asp"-->
<%
titleid1=request.QueryString("titleid")
classid1=request.QueryString("classid")
set rs=conn.execute("select classtype from ClassName where id="&classid1)
if RS("classtype")=5 then
  Response.Redirect "modify_photo1.asp?titleid="&titleid1
Else
  Response.Redirect "modify_photo2.asp?titleid="&titleid1
End if
RS.close:Set RS=nothing
Conn.close:Set Conn=nothing
%>