📄 student_adminlook5.asp
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>25175客户管理系统v1.0</title>
<style type="text/css">
<!--
@import url("20041026_25175_stry_css.css");
-->
</style>
</head>
<body>
<table width="100%" height="25" align="center" cellpadding="0" cellspacing="0" class="unnamed_rld2">
<tr bgcolor="#EEEEEE">
<td width="100" align="center"><a href="student_res1.asp">按公司电话查询</a></td>
<td width="100" align="center"><a href="student_res2.asp">按公司名称查询</a></td>
<td width="100" align="center" bgcolor="#EEEEEE"><a href="student_res3.asp">按公司姓名查询</a></td>
<td width="100" align="center"><a href="student_res4.asp">按联系人手机查询</a></td>
<td width="100" align="center"><a href="student_res5.asp">按公司地址查询</a></td>
<td width="100" align="center"><a href="student_res6.asp">按公司态度查询</a></td>
<td width="100" align="center"><a href="student_res7.asp">按公司现状查询</a></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25">
<%
cj=request("cj")
set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("cj")<>"" then
sql="select * from bbs1 where cj like'" & cj & "'"
else
sql="select top 1 * from bbs1"
end if
rs.Open sql,conn,1,1
totalput=rs.RecordCount
if rs.EOF and rs.BOF then
Response.Write "当前没有这个公司地址的学生..."
else
%></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" bgcolor="#F2F2F2"> <span class="unnamed2_14">公司名称:</span><%=rs("bj")%></td>
</tr>
</table> <table width="100%" border="0" cellpadding="0" cellspacing="0" height="25">
<tr>
<td width="14%" align="center" height="25">
<div align="center">公司电话</div></td>
<td width="14%" align="center" height="25">
<div align="center">公司姓名</div></td>
<td width="14%" align="center" height="25">
<div align="center">联系人手机</div></td>
<td width="14%" align="center" height="25">
<div align="center">公司地址</div></td>
<td width="14%" align="center" height="25">
<div align="center">公司态度</div></td>
<td width="14%" align="center" height="25">
<div align="center">公司现状</div></td>
<td width="14%" align="center" height="25">
<div align="center">操作</div></td>
</tr>
</table> <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<%
do while not rs.eof
%>
<tr>
<td width="14%" height="20"">
<div align="center"><%=rs("xh")%></div></td>
<td width="14%"><div align="center"><%=rs("user")%></div></td>
<td width="14%"><div align="center"><%=rs("kc")%></div></td>
<td width="14%"><div align="center"><%=rs("cj")%></div></td>
<td width="14%"><div align="center"><%=rs("xq")%></div></td>
<td width="14%"><div align="center"><%=rs("lx")%></div></td>
<td width="14%">
<div align="center"><a href="update.asp?id=<%=rs("id")%>" class="blue" >修改</a>
<a href="delete.asp?id=<%=rs("id")%>" class="blue" onClick="return Delete();">删除</a></div></td>
</tr>
<%
rs.movenext
loop
end if
rs.Close
set rs=nothing
set conn=nothing
%>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -