⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 right.asp

📁 一个简单的客户管理系统
💻 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;
}
.STYLE13 {font-size: 14px; }
.STYLE14 {font-size: 16px}
.STYLE16 {color: #FFFFFF}
-->
</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>


<table width="661" height="26" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" bgcolor="#CEDEFB">
    <tr>
      
       <%user=session("cname")
  lev=session("leve")
  bran="营销部"
  exec="select * from che where branch='"&bran&"' order by id"
  set ds=server.createobject("adodb.recordset")
  ds.open exec,conn,1,1  
  i=1
  Do While Not ds.Eof
  
  %><td >
        <div align="center">
          <a href="right_d.asp?id=<%=ds("cname")%>" class="STYLE16">
		  <%
  nam=ds("cname")
  response.Write nam
  i=i+1
  %>的客户</a></div>
	   
	   
	   
	   </td>
        <%		
		ds.MoveNext
  Loop  
  %></tr>	
	  
	  
	
</table>
  
<p>
  <%user=session("cname")
  if session("leve")<5 then
  exec="select * from company where seller='"&user&"' order by last_date desc" 
  set rs=server.createobject("adodb.recordset")
  rs.open exec,conn,1,1  

%>
</p>
<div align="center">个人客户<br>
  <table width="661" height="58" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#999999" bgcolor="#CEDEFB">
    <tr>
      <td width="36" height="32" background="image/headerbg.gif"><div align="center" class="STYLE14">编号</div></td>
      <td width="160" background="image/headerbg.gif"><div align="center" class="STYLE14">单位名称</div></td>      
      <td width="81" background="image/headerbg.gif"><div align="center" class="STYLE14">性质</div></td>
      <td width="112" background="image/headerbg.gif"><div align="center" class="STYLE14">客户类别</div></td>
      <td width="174" background="image/headerbg.gif"><div align="center" class="STYLE14">最后一次拜访时间</div>      </td>
      <td width="84" 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="detail.asp?id=<%=rs("id")%>"><%=rs("short")%></a>&nbsp;</div></td>       
      <td bgcolor="#FFFFFF"><div align="center" class="STYLE13"><a href="detail.asp?id=<%=rs("id")%>"><%=rs("nature")%></a>&nbsp;</div></td>
      <td bgcolor="#FFFFFF"><div align="center" class="STYLE13"><%=rs("cate")%>&nbsp;</div></td>
      <td bgcolor="#FFFFFF"><div align="center"  class="STYLE13"> 
	  <%=rs("last_date")%>
                  
        &nbsp;</div></td>
      <td bgcolor="#FFFFFF"><div align="center" class="STYLE13"><%=rs("tel")%>&nbsp;</div></td>
    </tr>
    <%rs.movenext
next%>

  <% end if%>
  
  <br>
  </table>
  
    <br>
	
  
  


  
  
  
  <p>&nbsp;</p>
</div>
	        <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 + -