<!--#include file="../../Conn.asp" -->
<!--#include file="../../Comm/Site_Class.asp" -->
<%
PagePath = "../../"

Set Qsite = New Site_Class

Qsite.SiteConfig_Master()
%>
<!--#include file="../Check_Login.asp" -->
<%
Qsite.Check_AdminFlag(arrAdminFlag(4 , 2))

Dim FeedbackId,Title,Content,UserName,Tel,Email,AddDate
Dim strTitle,strPage,IsSh,hf

Set Rs = server.createobject("ADODB.Recordset")

If Request.Form <> "" Then
	yjhid = Qsite.chgStr(Trim(Request.Form("yjhid")))
	yjhmc = Qsite.chgStr(Trim(Request.Form("yjhmc")))
	yjhzw = Qsite.chgStr(Trim(Request.Form("yjhzw")))
	yjhnr = Qsite.chgStr(Trim(Request.Form("yjhnr")))
	yjhdz = Qsite.chgStr(Trim(Request.Form("yjhdz")))
	yjhdh = Qsite.chgStr(Trim(Request.Form("yjhdh")))
	yjhyx = Qsite.chgStr(Trim(Request.Form("yjhyx")))
	yjhlxr = Qsite.chgStr(Trim(Request.Form("yjhlxr")))
	strPage = Qsite.chgStr(Trim(Request.Form("strPage")))
	yjhtj = Qsite.chgStr(Trim(Request.Form("yjhtj")))
	yjhsh = Qsite.chgStr(Trim(Request.Form("yjhsh")))
	yjhsj = Qsite.chgStr(Trim(Request.Form("yjhsj")))
	yjhgg = Qsite.chgStr(Trim(Request.Form("yjhgg")))
	
	If yjhtj <> "0" Then yjhtj = "1"
	If yjhsh <> "0" Then yjhsh = "1"
	
	If strPage = "" Or IsNull(strPage) Or Not IsNumeric(strPage) Then strPage = 1
	
	Conn.Execute("update yjhzp set yjhmc = '"& yjhmc &"' , yjhzw = '"& yjhzw &"' , yjhnr = '"& yjhnr &"' , yjhdz = '"& yjhdz &"' , yjhdh = '"& yjhdh &"' , yjhyx = '"& yjhyx &"' , yjhlxr = '"& yjhlxr &"' , yjhtj = "& yjhtj &" , yjhsh = "& yjhsh &" , yjhgg = '"& yjhgg &"' where yjhid = "& yjhid)
	
	Qsite.ShowMsg "一句话招聘修改成功！" , "yjhzp.asp"
End If

yjhid = Qsite.chgStr(Trim(Request.QueryString("yjhid")))
yjhmc = Qsite.chgStr(Trim(Request.QueryString("yjhmc")))
strPage = Qsite.chgStr(Trim(Request.QueryString("strPage")))

If yjhid = "" Or IsNull(yjhid) Or Not IsNumeric(yjhid) Then yjhid = 0
If strPage = "" Or IsNull(strPage) Or Not IsNumeric(strPage) Then strPage = 1

Rs.Open "select * from yjhzp where yjhid = "& yjhid , Conn , 1 , 1
If Rs.Eof Then
	Qsite.ShowMsg "非法参数" , ""
Else
	yjhmc = Rs("yjhmc")
	yjhzw = Rs("yjhzw")
	yjhnr = Rs("yjhnr")
	yjhdz = Rs("yjhdz")
	yjhdh = Rs("yjhdh")
	yjhyx = Rs("yjhyx")
	yjhlxr = Rs("yjhlxr")
	yjhtj = Rs("yjhtj")
	yjhsh = Rs("yjhsh")
	yjhsj = Rs("yjhsj")
	yjhgg = Rs("yjhgg")
End If
Rs.Close
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>反馈管理</title>
<link href="../skins/css/main.css" rel="stylesheet" type="text/css">
</head>

<body>
<form name="PosForm" method="post" action="yjhzp_Edit.asp" style="margin:0">
	<table width="100%" border="0" cellspacing="1" cellpadding="5">
		<tr>
			<td height="25" colspan="3" class="td_title">一句话招聘审核
			<input name="yjhId" type="hidden" id="yjhId" value="<%=yjhid%>"></td>
		</tr>
		<tr>
			<td width="18%" height="23" class="td_content">公司名称：</td>
			<td height="23" colspan="2" class="td_content"><input name="yjhmc" type="text" class="input_1" id="yjhmc"  size="60" value="<%=yjhmc%>"></td>
		</tr>
		<tr>
			<td height="11" class="td_content">招聘职位：</td>
			<td height="11" colspan="2" class="td_content"><input name="yjhzw" type="text" class="input_1" id="yjhzw"  size="60" value="<%=yjhzw%>"></td>
		</tr>
		<tr>
		  <td height="11" class="td_content">发布时间：</td>
	      <td height="11" colspan="2" class="td_content"><%=yjhsj%></td>
	  </tr>
		<tr>
			<td height="23" class="td_content">具体内容：</td>
			<td height="23" colspan="2" class="td_content"><textarea name="yjhnr" cols="60" rows="10" class="input_1"  id="yjhnr"><%=yjhnr%></textarea></td>
		</tr>
		<tr>
          <td height="23" class="td_content">联系地址：</td>
		  <td height="23" colspan="2" class="td_content"><input name="yjhdz" type="text" class="input_1" id="yjhdz" value="<%=yjhdz%>" size="30"  /></td>
	  </tr>
		<tr>
          <td height="23" class="td_content">联系电话：</td>
		  <td height="23" colspan="2" class="td_content"><input name="yjhdh" type="text" class="input_1" id="yjhdh" value="<%=yjhdh%>" size="30"  /></td>
	  </tr>
		<tr>
          <td height="23" class="td_content">联系邮箱：</td>
		  <td height="23" colspan="2" class="td_content"><input name="yjhyx" type="text" class="input_1" id="yjhyx" value="<%=yjhyx%>" size="30"  /></td>
	  </tr>
		<tr>
          <td height="5" class="td_content">联系人：</td>
		  <td height="5" colspan="2" class="td_content"><input name="yjhlxr" type="text" class="input_1" id="yjhlxr" value="<%=yjhlxr%>" size="30"  /></td>
	  </tr>
		<tr>
		  <td height="5" class="td_content">推荐</td>
	      <td height="5" colspan="2" class="td_content"><input type="radio" name="yjhtj" id="yjhtj" value="1" <%If yjhtj = "1" Then Response.Write("checked")%>>
是
  <input type="radio" name="yjhtj" value="0" <%If yjhtj = "0" Then Response.Write("checked")%>>
否 </td>
	  </tr>
		<tr>
		  <td height="5" class="td_content">审核：</td>
	      <td height="5" colspan="2" class="td_content"><input type="radio" name="yjhsh" id="yjhsh" value="1" <%If yjhsh = "1" Then Response.Write("checked")%>>
是
  <input type="radio" name="yjhsh" value="0" <%If yjhsh = "0" Then Response.Write("checked")%>>
否 </td>
	  </tr>
		<tr>
		  <td height="2" class="td_content">广告上传：</td>
	      <td width="17%" height="2" class="td_content"><input type="text" name="yjhgg" id="yjhgg" value="<%=yjhgg%>" style="width:220px; height:19px;" /></td>
	      <td width="65%" class="td_content"><iframe frameborder="0" src="upload.asp" width="300" height="25"></iframe></td>
	  </tr>
		<tr>
		  <td height="2" class="td_content">&nbsp;</td>
	      <td height="2" colspan="2" class="td_content"><%if isnull(yjhgg) or yjhgg="" then%><%else%><img src="../../<%=yjhgg%>" width="600" height="69" / ><%end if%></td>
      </tr>
		<tr>
			<td height="23" class="td_content">&nbsp;</td>
			<td height="23" colspan="2" class="td_content"><input name="Submit" type="submit" class="input_1" value=" 提  交 "> 
			&nbsp;
			<input name="Submit" type="reset" class="input_1" value=" 重  置 ">
			&nbsp;
			<input name="Submit" type="button" class="input_1" value=" 返  回 " onClick="javascript:history.back();"></td>
		</tr>
	</table>
</form>
</body>
</html>
