<table cellspacing="1" cellpadding="0" width="97%" align="center" border="0" class="a2">
  <tr height="25" align="center" valign="middle" class="a1">
	<td colspan=5>
<%
sql1="select * from [job] where username='"&Request.Cookies("username")&"'"
rs1.Open sql1,Conn1,1,3

if rs("money")<100 then
%>
对不起，你只有<%=rs("money")%>金币，选择职业需要100金币！
<%
else
if rs1.eof and rs1.bof then
%>
对不起，你还没有职业，请你选择你要申请的职业（需要100金币）：
<%
else
%>
目前你的职业是：<%=rs1("worktype")%>，等级为:<%=rs1("num")%>级，职称为：<%=rs1("workname")%>，你有<%=rs("money")%>金币，请选择你要转换的职业（需要100金币）：
<%
end if
end if
%>
      </td>
  </tr>
<form name=formch action="work.asp?jobsel=jobchanging" method=post>
<tr class="a3"> 
<td width="20%" height="20" align="center"><img src="job/images/w-teacher.gif" height="150" width="120"><br><input type="radio" value="教师" name="selectjob">教师</td> 
<td width="20%" height="20" align="center"><img src="job/images/w-huajia.gif" height="150" width="120"><br><input type="radio" value="画家" name="selectjob">画家</td> 
<td width="20%" height="20" align="center"><img src="job/images/w-jizhe.gif" height="150" width="120"><br><input type="radio" value="记者" name="selectjob">记者</td>
<td width="20%" height="20" align="center"><img src="job/images/w-police.gif" height="150" width="120"><br><input type="radio" value="警察" name="selectjob">警察</td> 
<td width="20%" height="20" align="center"><img src="job/images/w-doctor.gif" height="150" width="120"><br><input type="radio" value="医护" name="selectjob">医护</td> 
</tr> 
<tr class="a3"> 
<td width="20%" height="20" align="center"><img src="job/images/w-writer.gif" height="150" width="120"><br><input type="radio" value="作家" name="selectjob">作家</td> 
<td width="20%" height="20" align="center"><img src="job/images/w-singer.gif" height="150" width="120"><br><input type="radio" value="歌手" name="selectjob">歌手</td> 
<td width="20%" height="20" align="center"><img src="job/images/w-shangren.gif" height="150" width="120"><br><input type="radio" value="商人" name="selectjob">商人</td>
<td width="20%" height="20" align="center"><img src="job/images/w-sport.gif" height="150" width="120"><br><input type="radio" value="体育" name="selectjob">体育</td> 
<td width="20%" height="20" align="center"><img src="job/images/w-keji.gif" height="150" width="120"><br><input type="radio" value="科技" name="selectjob">科技</td> 
</tr> 
<tr height="30" valign="middle" align="center" class="a1">
<td colspan=5>
<input type="submit" value=" 选 择 " name="Submit" class="input">
</td> 
</tr>
</form>
              <tr height="30" align="center" valign="middle" class="a1">
                <td colspan=5>
                <font face=Wingdings>v</font><a href="work.asp?jobsel=changejob">选择职业</a>
                <font face=Wingdings>v</font><a href="work.asp?jobsel=practice">志愿活动</a>
                <font face=Wingdings>v</font><a href="work.asp?jobsel=gowork">上班工作</a>
                <font face=Wingdings>v</font><a href="work.asp?jobsel=getmoney">领取工资</a>
                <font face=Wingdings>v</font><a href="work.asp?jobsel=upjob">职业升级</a>      
                <font face=Wingdings>v</font>
	        </td>
              </tr>
</table>
<%
rs1.close
%>