?? follow.asp
字號:
<!--#include file="conn.asp"-->
<title>庫存</title>
<style type="text/css">
<!--
.STYLE2 {font-size: 18px}
.STYLE3 {
font-size: 18px;
font-weight: bold;
color: #FFFFFF;
}
a:link {
color: #003366;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #003366;
}
a:hover {
text-decoration: none;
color: #003366;
}
a:active {
text-decoration: none;
color: #003366;
}
body {
background-color: #ECF2FF;
margin-left: 0px;
margin-right: 0px;
}
.STYLE5 {
font-size: 12px;
color: #000055;
}
.STYLE12 {font-size: 12px}
.STYLE13 {font-size: 14px; }
.STYLE14 {font-size: 16px}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<BODY leftmargin="10" topmargin="0">
<p align="center" class="STYLE2">
<table width="100%" height="35" border="0" background="image/top.gif" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><span class="STYLE3">客戶列表</span></div></td>
</tr>
</table>
<%user=session("cname")
exec="select * from company where seller='"&user&"' order by last_date desc"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<div align="center"><br>
<table width="661" height="58" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999" bgcolor="#CEDEFB">
<tr>
<td width="32" height="32" background="image/headerbg.gif"><div align="center" class="STYLE13">序號</div></td>
<td width="141" background="image/headerbg.gif"><div align="center" class="STYLE14">單位名稱</div></td>
<td width="69" background="image/headerbg.gif"><div align="center" class="STYLE14">企業性質</div></td>
<td width="91" background="image/headerbg.gif"><div align="center" class="STYLE14">客戶類別</div></td>
<td width="121" background="image/headerbg.gif"><div align="center" class="STYLE14">最后拜訪時間</div></td>
<td width="110" background="image/headerbg.gif"><div align="center" class="STYLE14">聯系人</div></td>
<td width="123" background="image/headerbg.gif"><div align="center" class="STYLE14">聯系記錄</div></td>
</tr>
<%
for i=1 to rs.recordcount
if rs.eof then
exit for
end if
%>
<tr>
<td height="24" bgcolor="#FFFFFF"><div align="center" class="STYLE13"><%=i%></div></td>
<td bgcolor="#FFFFFF"><div align="center" class="STYLE13"><a href="follow_add.asp?id=<%=rs("id")%>"><%=rs("short")%></a> </div></td>
<td bgcolor="#FFFFFF"><div align="center" class="STYLE13"><a href="follow_add.asp?id=<%=rs("id")%>"><%=rs("nature")%></a> </div></td>
<td bgcolor="#FFFFFF"><div align="center" class="STYLE13"><%=rs("cate")%> </div></td>
<td bgcolor="#FFFFFF"><div align="center" class="STYLE13"> <%=rs("last_date")%> </div></td>
<td bgcolor="#FFFFFF"><div align="center"><span class="STYLE12"><span class="STYLE13"> <%=rs("charge")%>
<%if rs("second")<>"" then
response.write "、"
response.write rs("second")
end if%>
<%if rs("third")<>"" then
response.write "、"
response.write rs("third")
end if%>
</span></span> </div></td>
<td bgcolor="#FFFFFF"><div align="center"><span class="STYLE12"><span class="STYLE13">
<%
idd=rs("id")
exe="select * from follow where company_id='"&idd&"'"
set ds=server.createobject("adodb.recordset")
ds.open exe,conn,1,1
j=0
Do While Not ds.Eof
j=j+1
ds.MoveNext
Loop
response.Write j
%>次
</span></span> </div></td>
</tr>
<%
rs.movenext
next%>
</table>
<p> </p>
<table width="100%" height="18" border="0" background="image/bottom.gif" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="bottom"><div align="center"><span class="STYLE5">版權所有 杰爾康</span><br />
</div></td>
</tr>
</table>
</BODY>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -