📄 xy.asp
字号:
<!--#include file="top.asp" -->
<script language="javascript">
function checkForm1()
{
if (document.sh.dq.value=="")
{
alert("请您选择地区?");
return false;
}
if (document.sh.zd.value=="")
{
alert("请您填写关键字?");
return false;
}
}
</script>
<TABLE width=760 border=0 align="center" cellPadding=0 cellSpacing=0 bgColor=#ffffff>
<TBODY>
<TR>
<TD bgColor=#ffa200 class=bodyleft width=7><IMG height=1
src="img/blank.gif" width=7></TD>
<TD
width=743 valign="top"
style="BORDER-BOTTOM: #000000 1px solid; BORDER-TOP: #000000 1px solid"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="743" border="0" align="center" cellpadding="0" cellspacing="0" class=borders>
<tr>
<td width="145" valign="top"><br>
<br>
<br>
<br>
<br>
<table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="sh" method="post" action="search.asp" >
<table width="98%" border="0" align="right" cellpadding="3" cellspacing="0"
style="BORDER: #cccccc 1px solid"
>
<tr>
<td width="71"><div align="right"><font color="#0000CC"><a href="#">类别</a></font></div></td>
<td width="133"><input name="lx" type="radio" id="lx" value="xy" checked >
学员 <br>
<input type="radio" name="lx" id="lx" value="jy">
教员 <br>
<input type="radio" name="lx" id="lx" value="js">
教师 </td>
</tr>
<tr>
<td><div align="right"><font color="#0000CC"><a href="#">地区</a></font></div></td>
<td><select name="dq" class=log id="dq">
<option selected>请您正确选择</option>
<option value="朝阳区">朝阳区</option>
<option value="宽诚区">宽诚区</option>
<option value="二道区">二道区</option>
<option value="绿圆区">绿圆区</option>
<option value="新开区">新开区</option>
<option value="全市区">全市区</option>
</select></td>
</tr>
<tr>
<td><div align="right"><font color="#0000CC"><a href="#">字段</a></font></div></td>
<td><input name="zd" type="text" class=log id="zd" size="14"></td>
</tr>
<tr>
<td><div align="right"><font color="#0000CC"><a href="#">搜索</a></font></div></td>
<td> <input cache class=pt9 name=submit
src="img/bot_search.gif" type=image onclick="return checkForm1()"></td>
</tr>
</table>
</form></td>
</tr>
</table>
</td>
<td width="598" >
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"></div>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>当前页面:首页 》学员信息 <br>
<br>
排列顺序:个人概况/性别
辅导课程 地区 报酬 时间 </td>
</tr>
</table>
</td>
</tr>
<tr>
<td><TABLE width=581 border=0 align="center" cellPadding=0 cellSpacing=0 class=font12>
<TBODY>
<TR>
<TD align=left bgColor=#000000 vAlign=top><IMG height=1
src="img/dian.gif" width=100></TD>
</TR>
<TR>
<TD align=left> <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD height=3> </TD>
</TR>
<TR>
<TD align=middle background=img/bk_pic.gif
vAlign=top> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"></div>
<table width="93%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <!--#include file="conn.asp" --> <%
mypage=request("page")
If mypage="" then
mypage=1
end if
set rst=server.createobject("adodb.recordset")
sqlstr="select * from xyb where del=1 order by addtime desc"
rst.open sqlstr,conn,1,1
if rst.eof or rst.bof then
response.write"无信息"
else
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#cccccc" >
<%
rst.pagesize=24
g_count=rst.recordcount
maxpages=cint(rst.pagecount)
maxrecs=cint(rst.pagesize)
rst.absolutepage=mypage
howmanyrecs=0
rec = 1
do until rst.eof or rst.bof or rec=25 %>
<tr>
<td width="30%" bgcolor="#FFFFFF" >
<div align="left"><a href='#' onClick=window.open('dispxy.asp?id=<%=rst("id")%>','surveywin','scrollbars=yes,width=487,height=400')> <%= left(rst("gk"),6) %></a>{<%= rst("xb") %>} </div></td>
<td width="25%" height="20" bgcolor="#FFFFFF">
<div align="left"><a href='#' onClick=window.open('dispxy.asp?id=<%=rst("id")%>','surveywin','scrollbars=yes,width=487,height=400')> <%= left(rst("kc"),4) %></a>
</div></td>
<td width="29%" bgcolor="#FFFFFF">
<div align="left"><a href='#' onClick=window.open('dispxy.asp?id=<%=rst("id")%>','surveywin','scrollbars=yes,width=487,height=400')> <%= left(rst("dq"),4) %></a>
</div></td>
<td width="16%" bgcolor="#FFFFFF">
<div align="center">
<a href='#' onClick=window.open('dispxy.asp?id=<%=rst("id")%>','surveywin','scrollbars=yes,width=487,height=400')>
<%response.write""& year(rst("addtime"))&"/"&month(rst("addtime"))&"/"&day(rst("addtime"))&""%>
</a> </div></td>
</tr>
<% rst.movenext
rec=rec+1
loop
%>
</table>
<%end if%> </td>
</tr>
<tr>
<td height="25"><div align="left"><font color="000000" size =2>
<%
if maxpages > 1 then
if Request.QueryString("page") = "" then
pge = 1
else
pge = Request.QueryString("page")
end if
scriptname=request.servervariables("script_name")
Response.Write "<br>>>>共[" & g_count & "]信息 共[" & maxpages & "]页 每页[" & rst.pagesize & "]条 "
for counter=1 to maxpages
if counter <> cint(pge) then
ref=" <a href='" & scriptname
ref=ref & "?page=" & counter
ref=ref & "'>[" & counter & "]</a> "
response.write ref & " "
Else
Response.Write "<font color=red>" & counter & "</font> "
End if
'if counter mod 10 = 0 then
' response.write "<br>"
'end if
next
End if
%>
</font><font color="ffffff" size =2>
</font></div></td>
</tr>
<tr>
<td><div align="right">[<a href="javascript:window.print();">打印本页</a>]
[<a href="javascript:window.close()">关闭本页</a>]</div></td>
</tr>
</table></td>
</tr>
</table></TD>
</TR>
<TR>
<TD background="" height=2 vAlign=top> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD height=149 vAlign=top> </TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></TD>
<TD bgColor=#ffa200 class=bodyright width=6><IMG height=1
src="img/blank.gif" width=6></TD></TR></TBODY></TABLE>
<!--#include file="up.asp" -->
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -