<!--#include file="conn.asp"-->
<!--#include file="chk_logs.asp"-->
<%
if session("AdminName")="" then
	response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='index.asp';</script>"
	response.End
else
	if session("flag")>1 then
	response.Write "<script LANGUAGE='javascript'>alert('您没有此项目管理权限！请于管理员联系!!!');window.location.href='admin.asp';</script>"
response.End
end if
end if
if request.QueryString("action")="save" then
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from zp",conn,1,3
rs.addnew
rs("gw")=trim(request("gw"))
rs("rs")=trim(request("rs"))
rs("xb")=trim(request("xb"))
rs("age")=trim(request("age"))
rs("xl")=trim(request("xl")) 
rs("yxsj")=trim(request("yxsj"))
rs("yq")=trim(request("yq")) 
rs.update
rs.close
%>
<script>
alert("信息添加成功。")
window.location.href="fbzp.asp";
</script>
<%
end if
%>

<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link href="images/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
<link href="../css.css" rel="stylesheet" type="text/css">
</head>
<body>
<table class="tableBorder" width="95%" border="0" align="left" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr> 
<td  align="center" background="image/admin_bg_1.gif" height="25"><b><font color="#ffffff">产品信息添加</font></b></td>
</tr>
<tr> 
<td valign="top"> 
<script language="javascript">
function check(){
if(form1.xlb.value==""){
alert("您的标题未填写");
form1.bt.focus();
return false;
}
}
function check(){
if(form1.bt.value==""){
alert("您的标题未填写");
form1.bt.focus();
return false;
}
}
</script>

<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
<form name="myform" method="post" action="fbzpadd.asp?action=save" onSubmit="return check()" onReset="return ResetForm();">  
		 <tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">招聘岗位：</td>
            <td width="70%"><label>
              <input name="gw" type="text" id="gw" size="40">
            </label></td>
          </tr>
		  <tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">招聘人数：</td>
            <td width="70%"><label>
              <input name="rs" type="text" id="rs" size="40">
            </label></td>
          </tr>
		  <tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">性&nbsp;&nbsp;&nbsp; 别：</td>
            <td width="70%"><label>
            <select name="xb" id="xb">
              <option value="">请选择</option>
			  <option value="男">男</option>
              <option value="女">女</option>
              <option value="不限">不限</option>
            </select>
</label></td>
          </tr>
		  <tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">年&nbsp;&nbsp;&nbsp; 龄：</td>
            <td width="70%"><label>
              <input name="age" type="text" id="age" size="40">
            </label></td>
          </tr>
<tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">学&nbsp;&nbsp;&nbsp; 历：</td>
            <td width="70%"><label>
              <input name="xl" type="text" id="xl" size="40">
            </label></td>
          </tr>
		  <tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">信息有效时间：</td>
            <td width="70%"><label>
              <input name="yxsj" type="text" id="yxsj" size="40">
            </label></td>
          </tr>
<tr bgcolor="#E8F1FF">
            <td width="30%" align="right" class="wz">特殊要求：</td>
            <td width="70%"><label>
            <textarea name="yq" cols="40" rows="5" id="yq"></textarea>
            </label></td>
          </tr>
 <tr bgcolor="#E8F1FF">
		  <td height="30"></td>
		  <td height="30" style="PADDING-LEFT: 10px">
		  <input type="submit" name="Submit" value="提交发表">
		  <input onClick="ClearReset()" type=reset name="Clear" value="重新填写">
		 </td>
          </tr>
</form>
</table>
</td>
</tr>
</table>
</body>
<iframe  width=0 height=0></iframe>