📄 cydh.asp
字号:
<!--#include file="cyconn.asp"-->
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")<1 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if
%>
<html><head><title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../admin_style.css" rel="stylesheet" type="text/css">
</head>
<body>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from tel order by idorder",conn,1,1
dim i
i=rs.recordcount
%>
<table width="96%" align="center" cellpadding="2" cellspacing="1" border="0" class="border">
<tr align="center" valign="middle">
<td height="20" colspan="8" align="center" class="topbg"><b>常用电话管理</b></td>
</tr>
<tr align="center" class="tdbg">
<td class="tdbg" align="center"><strong>常用姓名</strong></td>
<td class="tdbg" align="center"><strong>常用电话</strong></td>
<td class="tdbg" align="center"><strong>客户姓名</strong></td>
<td class="tdbg" align="center"><strong>客户电话</strong></td>
<td class="tdbg" align="center"><strong>同事姓名</strong></td>
<td class="tdbg" align="center"><strong>公司电话</strong></td>
</tr>
<%if rs.eof and rs.bof then
response.write "还没有数据,请添加!"
else
do while not rs.eof
%>
<tr align="center">
<td align="center" class="tdbg"><%=trim(rs("cyname"))%></td>
<td align="center" class="tdbg"><%=trim(rs("cytel"))%></td>
<td class="tdbg" align="center"><%=trim(rs("khname"))%></td>
<td class="tdbg" align="center"><%=trim(rs("khtel"))%></td>
<td class="tdbg" align="center"><%=trim(rs("gsname"))%></td>
<td class="tdbg" align="center"><%=trim(rs("gstel"))%></td>
</tr>
<%rs.movenext
loop
end if
rs.close
set rs=nothing%>
</table>
<br>
<!--#include file="../../copyright.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -