www.gusucode.com > 漂亮的地方旅游景点景观介绍网站源代码 > admin/back/zp.asp

    <!--#include file="../config.asp" -->
<!--#include file="../../inc/page.asp" -->
<%
call zwtj()
call chkqx(3,7)
'//////////////////////////////////////////////////////////////////////////////////////////////////
mytit=mytit&"<a href=""?fid=0"">招聘管理</a> > "

select case action
case "add"
mytit=mytit&"添加招聘"
call add()
case "del"
call del()
case "show",""
mytit=mytit&"招聘列表"
call show()
case "ups"
mytit=mytit&"编辑招聘"
call ups()
case "px"
mytit=mytit&"招聘排序"
call cdpx()
case "zd"
call zd()
case "qxzd"
call qxzd()
case "jy"
call jy()
case "qy"
call qy()
case "aadd"
call aadd()
case "doup"
call doup()
case "qqzz"
call qqzz()
end select

'招聘列表///////////////////////////////////////////////////////////////////////////////////////
sub show()
sql="select * from jw_zp order by zd desc,qz asc"
call record(rs,sql,1)
call head()
%>
<link href="../inc/mm.css" rel="stylesheet" type="text/css" />
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#116BAE">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td id="tit"><strong><%= mytit %> || <a href="?action=add&fid=<%= fid %>">添加招聘</a></strong></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF">
<form name="form1" id="form1" method="post" action="">
<tr>
<td width="3%" align="center" bgcolor="#C5E0F3"><strong>ID</strong></td>
<td width="47%" bgcolor="#C5E0F3"><strong>主题</strong></td>
<td width="16%" align="center" bgcolor="#C5E0F3"><strong>发布人</strong></td>
<td width="14%" align="center" bgcolor="#C5E0F3"><strong>应聘信息</strong></td>
<td width="8%" align="center" bgcolor="#C5E0F3"><strong>权重</strong></td>
<td width="9%" align="center" bgcolor="#C5E0F3"><strong>操作</strong></td>
<td width="3%" align="center" bgcolor="#C5E0F3"><input type="checkbox" name="selectall" onClick="selectit()"/></td>
</tr>
<% 
dim i,sz
sz=20
i=sz
dim bgc
%>
<div style="display:none">
<% call fenpage(sz,rs,10) %>
</div>
<%
do while not rs.eof and i>0 
if i mod 2=0 then 
bgc="#D2E9FF"
else
bgc="#D2E1EE"
end if
%>
<tr id="r<%=rs("id")%>" bgcolor=<%= bgc %> onMouseOver="museing(r<%=rs("id")%>,0,'<%= bgc %>')" onMouseOut="museing(r<%=rs("id")%>,1,'<%= bgc %>')">
<td align="center"><%= rs("id") %></td>
<td><%= rs("mc") %>
<% call tssx(rs("zd"),rs("show")) %></td>
<td align="center"><%= rs("creater") %></td>
<td align="center">
<%
dim rs1,yp
set rs1=conn.execute("select count(id) from jw_yp where zid="&rs("id"))
yp=rs1(0)
call recordend(rs1)
%>
<a href="yp.asp?zid=<%= rs("id") %>"><%= yp %></a></td>
<td align="center"><%= rs("qz") %></td>
<td align="center"><table border="0" cellpadding="2" cellspacing="0">
<tr>
<td valign="bottom"><a href="?action=ups&fid=<%= fid %>&id=<%= rs("id") %>"><img src="../../images/admin/20050703091537508.gif" alt="编辑信息" width="14" height="15" border="0" align="absbottom" /></a></td>
<td valign="bottom"><% If rs("show")=0 Then %>
<a href="?action=jy&fid=<%= fid %>&id=<%= rs("id") %>"><img src="../../images/admin/20050703091539318.gif" alt="锁定" width="13" height="13" border="0" align="absbottom" /></a>
<% Else %>
<a href="?action=qy&fid=<%= fid %>&id=<%= rs("id") %>"><img src="../../images/admin/20050703091613193.gif" alt="解锁" width="12" height="13" border="0" align="absbottom" /></a>
<% End If %></td>
<td valign="bottom"><% If rs("zd")=0 Then %>
<a href="?action=zd&fid=<%= fid %>&id=<%= rs("id") %>"><img src="../../images/admin/qxzd.gif" alt="置顶" width="16" height="16" border="0" align="absbottom" /></a>
<% Else %>
<a href="?action=qxzd&fid=<%= fid %>&id=<%= rs("id") %>"><img src="../../images/admin/zd.gif" alt="取消置顶" width="16" height="16" border="0" align="absbottom" /></a>
<% End If %></td>
</tr>
</table></td>
<td align="center"><input name="idstr" type="checkbox" value="<%= rs("id") %>" onClick="td_bgcolor(r<%=rs("id")%>,1);"></td>
</tr>
<% 
i=i-1
rs.movenext 
loop
%>
<tr>
<td colspan="7" bgcolor="#C5E0F3">

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="8%"><input name="del" type="button" class="button_1" id="del" value="删除所选" onmouseup="tjqr('您确定要删除?此操作无法逆转!','?action=del')" onmouseover="this.className='button_2'" onmouseout="this.className='button_1'"/></td>
<td width="92%" align="right"><% call fenpage(sz,rs,10) %></td>
</tr>
</table></td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%
call recordend(rs)
call connend()
call foot()
end sub

'添加/////////////////////////////////////////////////////////////////////////////////////////////
sub add()
call head()
%>
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#116BAE">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td id="tit"><strong><%= mytit %> || <a href="?action=px&fid=<%= fid %>">排序</a></strong></td>
</tr>
<tr>
<td>

<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
<form action="" name="form1" id="form1" method="post">
<tr>
<td width="10%" bgcolor="#D9ECF7">招聘对象:</td>
<td width="90%" bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="mc" type="text" class="inp" id="mc" size="40" onFocus="this.className='focus'" onBlur="out_mc();this.className='inp'" /></td>
<td width="64%"><div id="cmc"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">招聘人数:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="rs" type="text" class="inp" id="rs" size="40" onfocus="this.className='focus'" onblur="this.className='inp'"/></td>
<td width="64%"><div id="crs"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">工作地点:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="gzdd" type="text" class="inp" id="gzdd" onfocus="this.className='focus'" onblur="this.className='inp'" value="" size="50" /></td>
<td width="64%"><div id="cgzdd"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">学历:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="xueli" type="text" class="inp" id="xueli" onfocus="this.className='focus'" onblur="this.className='inp'" value="" size="50" /></td>
<td width="64%">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">工作年限:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="gznx" type="text" class="inp" id="gznx" onfocus="this.className='focus'" onblur="this.className='inp'" value="" size="50" /></td>
<td width="64%">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">薪水范围:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="xsfw" type="text" class="inp" id="xsfw" onfocus="this.className='focus'" onblur="this.className='inp'" value="" size="50" /></td>
<td width="64%">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">职位描述:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><textarea name="yq" cols="50" rows="4" class="inp" id="yq" onfocus="this.className='focus'" onblur="this.className='inp'"></textarea></td>
<td width="64%"><div id="cyq"></div></td>
</tr>
</table></td>
</tr>

<tr>
<td bgcolor="#D9ECF7">招聘属性:</td>
<td bgcolor="#D9ECF7"><table border="0" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#D9ECF7">审核
<input name="show" type="checkbox" id="show" value="0" checked="checked" /></td>
<td bgcolor="#D9ECF7">置顶
<input name="zd" type="checkbox" id="zd" value="1" /></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" bgcolor="#D9ECF7"><div id="msg"></div></td>
</tr>
<tr>
<td colspan="2" bgcolor="#D9ECF7"><input onclick="goo('?action=aadd')" name="go" type="button" class="button_1" id="go" value="提交" onmouseover="this.className='button_2'" onmouseout="this.className='button_1'">
<input name="reset" type="reset" class="button_1" id="reset" value="重置" onmouseover="this.className='button_2'" onmouseout="this.className='button_1'"/></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<SCRIPT language="javascript" event="onkeydown" for="document">
if(event.keyCode==13&&event.srcElement.type!='button'&&event.srcElement.type!='submit'&&event.srcElement.type!='reset'&&event.srcElement.type!='textarea'&&event.srcElement.type!='')
goo('?action=aadd');
</SCRIPT>
<%
call connend()
call foot()
end sub

'执行添加//////////////////////////////////////////////////////////////////////////////////////
sub aadd()
dim mc,rss,yq,gzdd,show,zd,qz,xueli,gznx,xsfw

mc=getform("mc",1,1)
rss=getForm("rs",2,0)
show=getform("show",2,0)
zd=getForm("zd",2,0)
yq=getForm("yq",1,1)
gzdd=getForm("gzdd",1,1)
qz=scpx1("jw_zp")
xueli=getform("xueli",1,1)
gznx=getform("gznx",1,1)
xsfw=getform("xsfw",1,1)

if rss="" then 
rss=0
end if
if show="" then 
show=0
end if
if zd="" then 
zd=0
end if
'插入记录////////////////////////////////////////////////////////////////////////////////////
call record(rs,"select top 1 * from jw_zp where 1=1",3)
rs.addnew()
rs("mc")=mc
rs("qz")=qz
rs("rs")=rss
rs("show")=show
rs("zd")=zd
rs("yq")=yq
rs("gzdd")=gzdd
rs("xueli")=xueli
rs("gznx")=gznx
rs("xsfw")=xsfw
rs("creater")=creater
rs("ctim")=now()
rs("lastm")=now()
rs.update()
call recordend(rs)
'结束/////////////////////////////////////////////////////////////////////////////////////
if err.number>0 then 
call errs("有错误发生")
end if
call errs(0)
end sub

'修改////////////////////////////////////////////////////////////////////////////////////////////
sub ups()

set rs=conn.execute("select * from jw_zp where id="&id)
if rs.eof then 
call cc("记录不存在!")
end if
call head()
%>

<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#116BAE">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td id="tit"> <strong><%= mytit %> || <a href="?action=add">添加招聘</a></strong></td>
</tr>
<tr>
<td>

<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF">
<form action="" name="form1" id="form1" method="post">
<tr>
<td width="10%" bgcolor="#D9ECF7">招聘对象:</td>
<td width="90%" bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="mc" type="text" class="inp" id="mc" size="40" onFocus="this.className='focus'" onBlur="out_mc();this.className='inp'" value="<%= rs("mc") %>"/></td>
<td width="64%"><div id="cmc"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">招聘人数:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="rs" type="text" class="inp" id="rs" value="<%= rs("rs") %>" size="40" onfocus="this.className='focus'" onblur="this.className='inp'"/></td>
<td width="64%"><div id="crs"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">工作地点:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="gzdd" type="text" class="inp" id="gzdd" onfocus="this.className='focus'" onblur="this.className='inp'" value="<%= rs("gzdd") %>" size="50" /></td>
<td width="64%"><div id="cgzdd"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">学历:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="xueli" type="text" class="inp" id="xueli" onfocus="this.className='focus'" onblur="this.className='inp'" value="<%= rs("xueli") %>" size="50" /></td>
<td width="64%">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">工作年限:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="gznx" type="text" class="inp" id="gznx" onfocus="this.className='focus'" onblur="this.className='inp'" value="<%= rs("gznx") %>" size="50" /></td>
<td width="64%">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">薪水范围:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><input name="xsfw" type="text" class="inp" id="xsfw" onfocus="this.className='focus'" onblur="this.className='inp'" size="50" value="<%= rs("xsfw") %>"/></td>
<td width="64%">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">职位描述:</td>
<td bgcolor="#D9ECF7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="36%"><textarea name="yq" cols="50" rows="4" class="inp" id="yq" onfocus="this.className='focus'" onblur="this.className='inp'"><%= rs("yq") %></textarea></td>
<td width="64%"><div id="cyq"></div></td>
</tr>
</table></td>
</tr>


<tr>
<td bgcolor="#D9ECF7">招聘属性:</td>
<td bgcolor="#D9ECF7"><table border="0" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#D9ECF7">审核
<input name="show" type="checkbox" id="show" value="0" <% If rs("show")=0 Then Response.Write("checked") end if%>/></td>
<td bgcolor="#D9ECF7">置顶
<input name="zd" type="checkbox" id="zd" value="1" <% If rs("zd")=1 Then Response.Write("checked") end if%>/></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#D9ECF7">最后更新:</td>
<td bgcolor="#D9ECF7"><input name="lastm" type="text" class="inp" id="lastm" size="50" disabled="disabled" value="<%= rs("lastm") %>"/></td>
</tr>
<tr>
<td colspan="2" bgcolor="#D9ECF7"><div id="msg"></div></td>
</tr>
<tr>
<td colspan="2" bgcolor="#D9ECF7"><input onclick="goo('?action=doup&id=<%= rs("id") %>&fid=<%= fid %>')" name="go" type="button" class="button_1" id="go" value="提交" onmouseover="this.className='button_2'" onmouseout="this.className='button_1'">
<input name="reset" type="reset" class="button_1" id="reset" value="重置" onmouseover="this.className='button_2'" onmouseout="this.className='button_1'" /></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<SCRIPT language="javascript" event="onkeydown" for="document">
if(event.keyCode==13&&event.srcElement.type!='button'&&event.srcElement.type!='submit'&&event.srcElement.type!='reset'&&event.srcElement.type!='textarea'&&event.srcElement.type!='')
goo('?action=doup&id=<%= id %>');
</SCRIPT>
<%
call connend()
call foot()
end sub

'执行修改////////////////////////////////////////////////////////////////////////////////////
sub doup()
dim mc,rss,yq,gzdd,show,zd,xueli,gznx,xsfw
mc=getform("mc",1,1)
rss=getForm("rs",2,0)
show=getform("show",2,0)
zd=getForm("zd",2,0)
yq=getForm("yq",1,1)
gzdd=getForm("gzdd",1,1)
xueli=getform("xueli",1,1)
gznx=getform("gznx",1,1)
xsfw=getform("xsfw",1,1)
if rss="" then 
rss=0
end if
if show="" then 
show=0
end if
if zd="" then 
zd=0
end if'更新记录////////////////////////////////////////////////////////////////////////////////////
call record(rs,"select * from jw_zp where id="&id,3)
rs("mc")=mc
rs("rs")=rss
rs("show")=show
rs("zd")=zd
rs("yq")=yq
rs("gzdd")=gzdd
rs("xueli")=xueli
rs("gznx")=gznx
rs("xsfw")=xsfw
rs.update
call recordend(rs)
call zhgx("jw_zp",id)
'结束/////////////////////////////////////////////////////////////////////////////////////
if err.number>0 then 
call errs("有错误发生")
end if
call errs(0)
end sub

'删除//////////////////////////////////////////////////////////////////////////////////////////
sub del()
dim dpic,j
dim idstr,iid,i
idstr=replace(Trim(Request.Form("idstr"))," ","")
iid=split(idstr,",")

for i=0 to ubound(iid)
'删除招聘
conn.execute("delete * from jw_zp where id="&iid(i))
conn.execute("delete * from jw_yp where zid="&iid(i))
next
call connend()
response.Redirect("?")
end sub

'招聘排序///////////////////////////////////////////////////////////////////////////////
sub cdpx()
sql="select * from jw_zp order by zd desc,qz asc"
call record(rs,sql,1)
call head()
%>

<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#116BAE">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td id="tit"><strong><%= mytit %> || <a href="?action=add&fid=<%= fid %>">添加招聘 </a></strong></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td width="2%" align="center" bgcolor="#D9ECF7"><strong>ID</strong></td>
<td width="43%" bgcolor="#D9ECF7"><strong>招聘对象</strong></td>
<td width="29%" align="center" bgcolor="#D9ECF7"><strong>权重</strong></td>
</tr>
<% 
dim i,sz
sz=20
i=sz
dim bgc
%>
<div style="display:none">
<% call fenpage(sz,rs,10) %>
</div>
<%
do while not rs.eof and i>0 
if i mod 2=0 then 
bgc="#D2E9FF"
else
bgc="#D2E1EE"
end if
%>
<form action="?action=qqzz&fid=<%= fid %>&id=<%= rs("id") %>" name="form" id="form" method="post">
<tr id="r<%=rs("id")%>" bgcolor=<%= bgc %> onMouseOver="museing(r<%=rs("id")%>,0,'<%= bgc %>')" onMouseOut="museing(r<%=rs("id")%>,1,'<%= bgc %>')">
<td align="center"><%= rs("id") %></td>
<td><%= rs("mc") %></td>
<td align="center"><input name="qz" type="text" class="btn2" id="qz" size="8" value="<%= rs("qz") %>">
<input name="Submit" type="submit" class="btn2" value="更新"></td>
</tr>
</form>
<% 
i=i+1
rs.movenext 
loop
%>
<tr>
<td colspan="3" bgcolor="#EAF4FB"><% call fenpage(sz,rs,10) %></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%
call recordend(rs)
call connend()
call foot()
end sub

'执行排序//////////////////////////////////////////////////////////////////////////////
sub qqzz()
if getnum("zp where qz="&qz)>0 then 
conn.execute("update jw_zp set qz=qz+1 where qz>="&qz)
end if
conn.execute("update jw_zp set qz="&qz&" where id="&id)
call connend()
response.Redirect(request.ServerVariables("HTTP_REFERER"))
end sub

'置顶//////////////////////////////////////////////////////////////////////////////////////
sub zd()
dim val
val=1
if id<>"" then
call uptab("jw_zp","zd",val,"id",id)
call zhgx("jw_zp",id)
end if 
call connend()
response.Redirect(request.ServerVariables("HTTP_REFERER"))
end sub

'取消置顶//////////////////////////////////////////////////////////////////////////////////////
sub qxzd()
dim val
val=0
if id<>"" then
call uptab("jw_zp","zd",val,"id",id)
call zhgx("jw_zp",id)
end if 
call connend()
response.Redirect(request.ServerVariables("HTTP_REFERER"))
end sub

'禁用//////////////////////////////////////////////////////////////////////////////////////
sub jy()
dim val
val=1
if id<>"" then
call uptab("jw_zp","show",val,"id",id)
call zhgx("jw_zp",id)
end if 
'批处理
dim idstr,iid,i
idstr=replace(Trim(Request.Form("idstr"))," ","")
iid=split(idstr,",")
for i=0 to ubound(iid)
call uptab("jw_zp","show",val,"id",iid(i))
call zhgx("jw_zp",iid(i))
next
call connend()
response.Redirect(request.ServerVariables("HTTP_REFERER"))
end sub

'起用//////////////////////////////////////////////////////////////////////////////////////
sub qy()
dim val
val=0
if id<>"" then
call uptab("jw_zp","show",val,"id",id)
call zhgx("jw_zp",id)
end if 
call connend()
response.Redirect(request.ServerVariables("HTTP_REFERER"))
end sub
%>
<script language="javascript" src="/<%= hturl %>/inc/chk.js"></script>
<script language="javascript">
function goo(act)
{
var chk=true;
if (!out_mc()){chk=false;}
if (!out_yq()){chk=false;}
if (!out_rs()){chk=false;}
if (!out_gzdd()){chk=false;}

if (chk==true){
GE("go").disabled="disabled";
GE("reset").disabled="disabled";

var mc=escape(GE("mc").value);
var rs=GE("rs").value;
var yq=escape(GE("yq").value);
var gzdd=escape(GE("gzdd").value);
var xueli=escape(GE("xueli").value);
var gznx=escape(GE("gznx").value);
var xsfw=escape(GE("xsfw").value);

var show;
if(GE("show").checked)
{show=0;}
else
{show=1;}
if(GE("zd").checked)
{zd=1;}
else
{zd=0;}

var Ajax = new oAjax(act,backs);
var arrKey = new Array("mc","show","rs","zd","yq","gzdd","xueli","gznx","xsfw");
var arrValue =new Array(mc,show,rs,zd,yq,gzdd,xueli,gznx,xsfw);
Ajax.Post(arrKey,arrValue);
GE("msg").innerHTML=loading;
function backs(str)
{if(str=="0")
{GE("msg").innerHTML=ok+"&nbsp;&nbsp;操作成功";
window.location.href="?"}
else
{GE("msg").className="d_err";
GE("msg").innerHTML=err+"&nbsp;&nbsp;"+unescape(str);
GE("go").disabled="";
GE("reset").disabled="";}}}}
</script>