<%
sql1="select * from [job] where username='"&Request.Cookies("username")&"'"
rs1.Open sql1,Conn1,1,3

if rs1.eof and rs1.bof then
   error("有没有搞错！你还没有职业，请先申请职业！")
   response.redirect "work.asp?jobsel=changejob"
else
  uptype=rs1("worktype")
  rs1.close

select case uptype
   case "教师"
%>
<!-- #include file="up/jiaoshi.asp" -->
<%
   case "画家"
%>
<!-- #include file="up/huajia.asp" -->
<%
   case "记者"
%>
<!-- #include file="up/jizhe.asp" -->
<%
   case "警察"
%>
<!-- #include file="up/jingcha.asp" -->
<%
   case "医护"
%>
<!-- #include file="up/yihu.asp" -->
<%
   case "作家"
%>
<!-- #include file="up/zuojia.asp" -->
<%
   case "歌手"
%>
<!-- #include file="up/geshou.asp" -->
<%
   case "商人"
%>
<!-- #include file="up/shangren.asp" -->
<%
   case "体育"
%>
<!-- #include file="up/tiyu.asp" -->
<%
   case "科技"
%>
<!-- #include file="up/keji.asp" -->
<%
end select
end if
%>