<!--#include file="../../conn/conn.asp" -->
<!--#include file="../../Inc/Commoncode.asp" -->
<!--#include file="../checkvalid.asp" -->
<%
If Not FRAdminLevel(302) Then
	Call ErrorMsg()
End If
id=trim(request("id"))
if trim(request("step"))="1" then
  conn.execute("Update JOB_p_resume Set resume_usergroup="&request("resumesort")&" Where resume_id="&id&"")
  Response.Write ("<script language=JavaScript>{window.opener.location.reload();window.close();}</script>")
end if

sql="select * from JOB_p_resume where resume_id="&id&"" 
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
%>
<html>
<head>
<title>选择简历并激活</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/style<%=sk%>.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../inc/input.js"></script>
</head>
<body>
<div align="center">

  <table width="100%" border="0" cellpadding="2" cellspacing="1"  align="center"  class="tableBorder">
    <tr>
      <th height=25 class="tableHeaderText" colspan="2"> 修改简历类型</th>
    </tr>
    <form name="form1" method="post" action="pmember_changeresumesort.asp?step=1&pmember=<%=resume_pmember%>">
      <input type="hidden" value="<%=id%>" name="id">
      <tr>
        <td width="18%" height="25" class="amrow"><div align="right">姓名：</div></td>
        <td width="57%" class="amrow"><input name="cmember_login" type="text" id="cmember_login" size="20" maxlength="50" value="<%=rs("resume_name")%>" readonly></td>
      </tr>
	  <tr>
        <td height="25" class="huiby"><div align="right">简历类型：</div></td>
        <td class="huiby">
		<input name="resumesort" type="radio" class="checkbox" value="0" <%if rs("resume_usergroup")=0 then response.Write "checked"%>>
		普通
		<input name="resumesort" type="radio" class="checkbox" value="1" <%if rs("resume_usergroup")=1 then response.Write "checked"%>>
		毕业生
		<input name="resumesort" type="radio" class="checkbox" value="2" <%if rs("resume_usergroup")=2 then response.Write "checked"%>>
		高级人才</td>
	  </tr>
      <tr>
        <td height="25" colspan="3" class="huiby"><div align="center">
            <input name="Submit" type="submit" class="inputs" value="设 置">
          &nbsp;
          <input name="Submit2" type="reset" class="inputs" value="重 置">
           &nbsp;
           <input name="Submit3" type="button" class="inputs" id="Submit3" style="cursor:hand" onClick="javascript:window.close();" value="关 闭">
        </div></td>
      </tr>
    </form>
  </table>
</div>
</body>
</html>
<%
conn.close
set conn=nothing
%>



