📄 list_check.asp
字号:
<option value="xueli1" <%if ziduan="xueli1" then response.Write("selected") end if%>>第一学历</option>
<option value="xueli2" <%if ziduan="xueli2" then response.Write("selected") end if%>>最高学历</option>
<option value="xingzhengzhiwu" <%if ziduan="xingzhengzhiwu" then response.Write("selected") end if%> >行政职务</option>
</select>
<span class="STYLE3">关键字:</span>
<input name="key" type="text" id="key" value="<%=key%>" size="15" />
<label>
<span class="STYLE3">
<input type="submit" name="Submit" value="查找">
</span> <a href="list_check.asp">重新载入</a></label>
</div></td>
</tr>
</table></form>
<%if not rs.eof then%>
<form name="form2" method="post" action=""><div align="center">
<%if not rs.eof then%>
<span class="style4">共有<%=rs.recordcount%>条记录,每页显示<%=rs.pagesize%>条 ,第<%=page%>/<%=rs.pagecount%>页
<%if page>1 then%>
<a href="list_check.asp?Page=<% = 1%>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">首页</a> <a href="list_check.asp?Page=<% =page -1 %>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">上一页</a>
<%end if %>
<%if page<>rs.pagecount then %>
<a href="list_check.asp?Page=<% =page + 1%>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">下一页</a> <a href="list_check.asp?Page=<% = rs.PageCount%>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">尾页</a></span>
<% end if %>
<select name="select" id="select2" onChange="javascript:window.location.href('list_check.asp?page='+this.options[this.selectedIndex].value+'&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>')">
<% for i=1 to rs.pagecount%>
<option value="<%=i%>" <%if i=page then response.Write("selected") end if%> ><%=i%> </option>
<% next%>
</select>
<span class="STYLE13">
<select name="pagesize" id="pagesize" onChange="javascript:window.location.href('list_check.asp?pagesize='+this.options[this.selectedIndex].value+'&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>')">
<% for iii=10 to 50 step 5%>
<option value="<%=iii%>" <%if iii=rs.pagesize then response.Write("selected") end if%> >每页显示<%=iii%>条记录</option>
<% next%>
<% for i=60 to 180 step 20%>
<option value="<%=i%>" <%if i=rs.pagesize then response.Write("selected") end if%> >每页显示<%=i%>条记录</option>
<% next%>
<% for ii=200 to 1000 step 200%>
<option value="<%=ii%>" <%if ii=rs.pagesize then response.Write("selected") end if%> >每页显示<%=ii%>条记录</option>
<% next%>
<option value="10000" <%if rs.pagesize=10000 then response.Write("selected") end if%> >每页显示10000条记录</option>
</select>
</span><br>
</div>
<TABLE width=100% border=1 align="center" cellPadding=0 cellSpacing=0
borderColorLight=#6699ff borderColorDark=#ffffff bgcolor="#FFFFFF" style="border-collapse:collapse">
<col width="166" />
<tr height="21">
<td width="1%" height="29" bgcolor="#FFCC33"><div align="center">
<input name="checkbox" type=checkbox id="checkbox" onClick="this.value=check(this.form.seljgid)" value="全选">
</div></td>
<td width="5%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE4">行号</td>
<td width="11%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2"><div align="center">姓名<span class="style1"><a title="按姓名升序排列" <%if by="xingmingdesc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xingmingdesc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按姓名降序排列" <%if by="xingmingasc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xingmingasc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></div></td>
<td width="9%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">性别<span class="style1"><a title="按性别升序排列" <%if by="xingbiedesc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xingbiedesc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按性别降序排列" <%if by="xingbieasc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xingbieasc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="13%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">出生年月<span class="style1"><a title="按出生年月升序排列" <%if by="chushengsjdesc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=chushengsjdesc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按出生年月降序排列" <%if by="chushengsjasc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=chushengsjasc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="10%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">第一学历<span class="style1"><a title="按升序排列" <%if by="xueli1desc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xueli1desc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按降序排列" <%if by="xueli1asc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xueli1asc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="10%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">最高学历<span class="style1"><a title="按升序排列" <%if by="xueli2desc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xueli2desc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按降序排列" <%if by="xueli2asc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xueli2asc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="15%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">所在部门<span class="style1"><a title="按升序排列" <%if by="bumendesc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=bumendesc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按降序排列" <%if by="bumenasc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=bumenasc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="10%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">学科<span class="style1"><a title="按升序排列" <%if by="canjiagongzuosjasc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xuekeasc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按降序排列" <%if by="xuekedesc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=xuekedesc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="13%" align="center" valign="middle" bgcolor="#FFCC33" class="STYLE2">参加工作时间<span class="style1"><a title="按升序排列" <%if by="canjiagongzuosjasc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=canjiagongzuosjasc&key=<%=key%>&ziduan=<%=ziduan%>" >↑</a><a title="按降序排列" <%if by="canjiagongzuosjdesc" then%> style="color:#FF00FF;"<%end if%> href="list_check.asp?by=canjiagongzuosjdesc&key=<%=key%>&ziduan=<%=ziduan%>" >↓</a></span></td>
<td width="13%" bgcolor="#FFCC33" class="STYLE2"><div align="center">操 作</div></td>
</tr>
<%count=0
do while not rs.eof and count<rs.pagesize %>
<%if count Mod 2=0 then%>
<TR bgcolor="#F5FAFE" onMouseOver="this.style.backgroundColor='#FFDA6A'" onMouseOut="this.style.backgroundColor='#F5FAFE'">
<%else%>
<TR bgcolor="#E2EEFC" onMouseOver="this.style.backgroundColor='#FFDA6A'" onMouseOut="this.style.backgroundColor='#E2EEFC'">
<%end if%>
<td height="22"><div align="center">
<input name="seljgid" type="checkbox" id="seljgid" value="<%=rs("id")%>">
</div></td>
<td height="22"><%=xuhao2+1%></td>
<td height="22"><a href="jg_view.asp?requestid=<%=rs("id")%>" target="_self" title="查看<%=rs("xingming")%>的详细情况"><%=rs("xingming")%></a></td>
<td height="22"><%=rs("xingbie")%></td>
<td height="22" align="center"><%=rs("chushengsj")%></td>
<td height="22" align="center"><%=rs("xueli1")%></td>
<td height="22" align="center"><%=rs("xueli2")%></td>
<td height="22" align="center" ><%=rs("bumen")%></td>
<td height="22" align="center" ><%=rs("xueke")%></td>
<td height="22" align="center" ><%=rs("canjiagongzuosj")%></td>
<td height="22" align="center" ><%if session("admu_jb") = "T" then%>
<a href="jg_update.asp?id=<%=rs("id")%>" target="_self"><img src="images/editlist.gif" alt="修改的资料" width="15" height="16" border="0"></a><%end if%> <%if session("admd_jb") = "T" then%><a href="funoperate.asp?delmdid=<%=rs("id")%>&operate=del_jgadmin_checkall_one" target="_self" class="STYLE5" onClick="return confirm('确认删除记录吗?')"><img src="images/delete.gif" alt="删除记录" width="13" height="13" border="0"></a>
<%end if%> </td>
</tr>
<%
rs.movenext
count=count+1
xuhao2=xuhao2+1
loop
%>
<%end if%>
</table>
<div align="center">
<p align="center">
<%end if%>
<span class="style4"> 共有<%=rs.recordcount%>条记录,每页显示<%=rs.pagesize%>条 ,第<%=page%>/<%=rs.pagecount%>页
<%if page>1 then%>
<a href="list_check.asp?Page=<% = 1%>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">首页</a><a href="list_check.asp?Page=<% = 1%>"&key=<%=key%>&ziduan=<%=ziduan%>></a> <a href="list_check.asp?Page=<% =page -1 %>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">上一页</a><a href="list_check.asp?Page=<% =page -1 %>&key=<%=key%>&ziduan=<%=ziduan%>"></a>
<%end if %>
<%if page<>rs.pagecount then %>
<a href="list_check.asp?Page=<% =page + 1%>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">下一页</a><a href="list_check.asp?Page=<% =page + 1%>&key=<%=key%>&ziduan=<%=ziduan%>"></a> <a href="list_check.asp?Page=<% = rs.PageCount%>&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>">尾页</a><a href="list_check.asp?Page=<% = rs.PageCount%>&key=<%=key%>&ziduan=<%=ziduan%>"></a></span>
<% end if %>
<select name="select2" id="select" onChange="javascript:window.location.href('list_check.asp?page='+this.options[this.selectedIndex].value+'&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>')">
<% for i=1 to rs.pagecount%>
<option value="<%=i%>" <%if i=page then response.Write("selected") end if%> ><%=i%> </option>
<% next%>
</select>
<span class="STYLE13">
<select name="pagesize" id="pagesize" onChange="javascript:window.location.href('list_check.asp?pagesize='+this.options[this.selectedIndex].value+'&key=<%=key%>&ziduan=<%=ziduan%>&by=<%=by%>')">
<% for iii=10 to 50 step 5%>
<option value="<%=iii%>" <%if iii=rs.pagesize then response.Write("selected") end if%> >每页显示<%=iii%>条记录</option>
<% next%>
<% for i=60 to 180 step 20%>
<option value="<%=i%>" <%if i=rs.pagesize then response.Write("selected") end if%> >每页显示<%=i%>条记录</option>
<% next%>
<% for ii=200 to 1000 step 200%>
<option value="<%=ii%>" <%if ii=rs.pagesize then response.Write("selected") end if%> >每页显示<%=ii%>条记录</option>
<% next%>
<option value="10000" <%if rs.pagesize=10000 then response.Write("selected") end if%> >每页显示10000条记录</option>
</select>
</span> </p>
<p align="center"><span class="STYLE13">
全选/不选</span>
<input name="checkbox2" type=checkbox onClick="this.value=check(this.form.seljgid)" value="全选">
<%if session("admc_jb") = "T" then%>
<input type="button" name="Submit32" value="所选记录通过审核" onClick="subcheck()" style="width:135;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
<%end if%>
<%if session("admd_jb") = "T" then%>
<input type="button" name="Submit3" value="永久批量删除所选" onClick="subdeleteforever()" style="width:135;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00">
<%end if%>
<input name="operate" type="hidden" id="operate">
</p>
</form>
<p style="color: #999999"> </p></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<script language="javascript">
//
function subdeleteforever()
{
if (window.confirm('真的要永久删除所选吗?该操作不可恢复!继续吗?'))
{
form2.action="funoperate.asp";
form2.operate.value="deletforever";
form2.submit();//提交该表单;
}
}
function subcheck()
{
if (window.confirm('真的要将所选记录通过审核,纳入正式教工记录吗??'))
{
form2.action="funoperate.asp";
form2.operate.value="regselfcheck";
form2.submit();//提交该表单;
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--
var checkflag = "false";
function check(field) {
if (checkflag == "false") {
for (i = 0; i < field.length; i++) {
field[i].checked = true;}
checkflag = "true";
return "false"; }
else {
for (i = 0; i < field.length; i++) {
field[i].checked = false; }
checkflag = "false";
return "true"; }
}
-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -