📄 qb.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>
<%
xh=request("xh")
set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("xh")<>"" then
sql="select * from bbs1 where xh like'" & xh & "'"
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
%>
<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="add.asp">添加单个公司地址</a></td>
<td width="100" align="center"><a href="adds.asp">批量添加公司地址</a></td>
<td width="100" align="center" bgcolor="#EEEEEE"><a href="res.asp">按公司电话查询</a></td>
<td width="100" align="center"><a href="res1.asp">按公司名称查询</a></td>
<td width="100" align="center"><font color="#0000CC" size="2"><a href="admin.asp">管理页面</a></font></td>
<td width="100" align="center"><a href="logout.ASP">退出</a></td>
</tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="25">
<%
xh=request("xh")
set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("xh")<>"" then
sql="select * from bbs1 where xh like'" & xh & "'"
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 height="25">
<table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#006699"> <span class="unnamed2_14">客户姓名:</span><%=rs("bj")%></td>
</tr>
</table> <table width="100%" border="0" cellpadding="0" cellspacing="0" height="25">
<tr>
<td width="9%" align="center" height="25"> 客户电话</td>
<td width="15%" align="center" height="25">证件号码</td>
<td width="15%" align="center" height="25">手机卡号</td>
<td width="9%" align="center" height="25">入网日期</td>
<td width="9%" align="center" height="25">入网费用</td>
<td width="9%" align="center" height="25">赠送话费</td>
<td width="9%" align="center" height="25">实际话费</td>
<td width="9%" align="center" height="25">入网套餐</td>
<td width="9%" align="center" height="25">证件状况</td>
<td width="9%" align="center" height="25">操作</td>
</tr>
</table> <table width="100%" height="22" border="0" cellpadding="0" cellspacing="0">
<%
do while not rs.eof
%>
<tr>
<td width="9%" height="25" align="center"><%=rs("xh")%></td>
<td width="15%" align="center"><%=rs("user")%></td>
<td width="15%" align="center"><FONT COLOR=RED SIZE=1><%=rs("kc")%></FONT></td>
<td width="9%" align="center"><%=rs("cj")%></td>
<td width="9%" align="center"><%=rs("FY")%></td>
<td width="9%" align="center"><%=rs("ZSHF")%></td>
<td width="9%" align="center"><%=rs("SJHF")%></td>
<td width="9%" align="center"><%=rs("XQ")%></td>
<td width="9%" align="center"><%=rs("LX")%></td>
<td width="9%" 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></td>
</tr>
</table></td>
</tr>
</table>
<div align="center">
<table border="1" width="762" height="492">
<tr>
<td height="67" width="762" colspan="2">
<p align="center"> <p align="center"><font size="6" face="华文隶书">欢迎使用移动通讯业务</font></td>
</tr>
<tr>
<td height="39" width="364"><b><font size="4"> </font></b><span class="unnamed2_14"><font size="4">客户姓名:<%=rs("bj")%></font></span></td>
<td height="39" width="382"><b><font size="4">业务号码:<%=rs("xh")%></font></b></td>
</tr>
<tr>
<td height="376" width="762" colspan="2">用户姓名:<%=rs("xh")%><p>业务号码: 卡 号:<%=rs("kc")%></p>
<p>家庭地址:<%=rs("cj")%> 证件号码:<%=rs("user")%></p>
<p>套餐名称:<%=rs("XQ")%>;
入网费用:<%=rs("FY")%>元
赠送话费:<%=rs("ZSHF")%> 元
实际话费:<%=rs("SJHF")%> 元</p>
<p>办理日期:<%=rs("cj")%></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p>感谢您的使用,在使用过程中如果有其他问题,请咨询10086</td>
</tr>
</table>
</div>
</body></body>
<%
rs.movenext
loop
end if
rs.Close
set rs=nothing
set conn=nothing
%>
</body>
</html>
<%
rs.movenext
loop
end if
rs.Close
set rs=nothing
set conn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -