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

📄 webmaster.asp

📁 大家好
💻 ASP
字号:
<%@ LANGUAGE="VBSCRIPT"%>
<!-- #include file="Adovbs.inc " -->
<%
strAction=Request.Form("cmdMove")
If Not (strAction="前一页" or strAction="后一页") Then
Dbpath=server.mappath("server.mdb")
set CONN= Server.CreateObject("ADODB.Connection")
CONN.open "driver={Microsoft Access Driver (*.mdb)};DBQ="&Dbpath
set rs=Server.Createobject("adodb.recordset")
sqltext="select * from list order by djrq"
rs.open sqltext,conn,adopenkeyset,adlockoptimistic,adcmdtext
rs.pagesize=20
   If rs.RecordCount=0 Then
	Emptyyn=true
	Conn.close
        Set rs=nothing	
        response.write"当前无记录"
        response.end
   Else
	rs.AbsolutePage=1
	Set Session("rs")=rs
	Session("pg")=1
   End If 
Else    
   Set rs=Session("rs")
   Select Case strAction
      Case "前一页"
          If Session("pg")>1 Then   
             Session("pg")=Session("pg")-1
          Else
             Session("pg")=1
          End if 
          rs.AbsolutePage=Session("pg")
      Case "后一页" 
          If rs.AbsolutePage<rs.PageCount Then   
             Session("pg")=Session("pg")+1
          Else
             Session("pg")=rs.PageCount
          End if 
          rs.AbsolutePage=Session("pg")
      case Else
          Session("pg")=1
          rs.AbsolutePage=Session("pg")
    End Select
End If 
%>
<html> 
<head>
<title>天时金洋之售后服务</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../3508.css">
<style type="text/css">
<!--
.link1 {  color: #FFFFFF}
.big1 {  font-size: 14px; text-align: justify; vertical-align: 1%; line-height: 18px}
.title {  font-size: 14px; background-color: #CCFFCC; font-weight: bold}
.link2 {  color: #FF0000}
.link3 {  color: #006600}
.botton {  color: #000066; background-color: #FFCC99; font-size: 12px; cursor: hand;}
-->
</style>
</head>
<body bgcolor="#FFFFF5">
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="48">
  <tr> 
    <td width="352"><img src="../../images/TITLE1.gif" width="360" height="67"></td>
    <td width="388">&nbsp;</td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="15">
  <tr> 
    <td width="176" align="center" background="../../images/coner.gif" height="19"><%=formatdatetime(now,vblongdate)%></td>
    <td width="564" height="19"> 
      <table width="100%" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#000000" bordercolordark="#FFFFFF">
        <tr bgcolor="#339966"> 
          <td width="12.5%" height="15" align="center"> <a href="../../default.asp" class="link1">公司简介</a></td>
          <td width="12.5%" height="15" align="center"> <a href="../product/netforce.asp" class="link1">产品介绍</a></td>
          <td width="12.5%" height="15" align="center" class="link1"> <a href="../../forum/default.asp" class="link1">技术论坛</a></td>
          <td width="12.5%" height="15" align="center"> <a href="../agent.asp" class="link1">各地代理</a></td>
          <td width="12.5%" height="15" align="center"> <a href="../service.asp" class="link1">售后服务</a></td>
          <td width="12.5%" height="15" align="center"> <a href="../price.asp" class="link1">产品报价</a></td>
          <td width="12.5%" height="15" align="center"> <a href="../../visitor/chatguestbook.asp" class="link1">留言板</a></td>
          <td width="12.5%" height="15" align="center"> <a href="mailto:sales@tianshi.com.cn" class="link1">联系我们</a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td>&nbsp;</td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="22">
  <tr> 
    <td width="71">&nbsp;</td>
    <td><a href="../../default.asp">天时主页</a>&gt;&gt;</td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center" height="20">
  <tr> 
    <td width="20" valign="bottom" align="left" height="20"><img src="../../images/leftcorner.gif" width="20" height="20"></td>
    <td height="20" width="720" valign="top"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="1" bgcolor="#006600" width="85%"></td>
          <td height="1" width="15%"></td>
        </tr>
        <tr> 
          <td height="19" colspan="2"> 
            <table width="720" border="0" cellspacing="0" cellpadding="0" height="100%">
              <tr> 
                <td height="18" colspan="3">&nbsp; </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="329" width="11" valign="top"><img src="../../images/line.gif" width="1" height="400"></td>
    <td height="329" valign="top">
      <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr align="center"> 
          <td colspan="5" height="28" class="title">客户申请服务单列表</td>
        </tr>
        <tr align="center" bgcolor="#CCeCFF"> 
          <td width="27%" height="19">产品名称</td>
          <td width="27%" height="19">公司名称</td>
          <td width="18%" height="19">登录时间</td>
          <td width="11%" height="19">联系人</td>
          <td width="17%" height="19">是否在保修期</td>
        </tr>
        <%while not rs.eof%> 
        <tr align="center"> 
          <td width="27%" height="7"><a href="comment.asp?id=<%=rs("id")%>" class="link3"><%=trim(rs("product"))%></a></td>
          <td width="27%" height="7"><%=trim(rs("company"))%></td>
          <td width="18%" height="7"><%=rs("djrq")%></td>
          <td width="11%" height="7"><%=rs("name")%></td>
          <td width="17%" height="7"><%=rs("cl")%></td>
        </tr>
        <%rs.movenext
wend%> 
        <tr align="center"> 
          <td colspan="5">&nbsp;</td>
        </tr>
        <tr align="center">
          <td colspan="5" height="1" bgcolor="006600"></td>
        </tr>
        <tr align="center"> 
          <td colspan="5"> 
            <p align="center">共有<% =rs.RecordCount %>条符合条件的信息,本页是第<% =Session("pg") %>页</p>
            <form action="webmaster.asp" name="查询" method="post">
              <% If Session("pg")>1 Then %> 
              <input type="submit" name="cmdMove" value="前一页" class="botton">
              <%End If%> <% If Session("pg")<rs.PageCount Then %> 
              <input type="submit" name="cmdMove" value="后一页" class="botton">
              <%End If%> 
            </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="740" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="1" colspan="3" bgcolor="#000099"> </td>
  </tr>
  <tr> 
    <td width="66%" height="41"> <span class="link2">天时金洋电子技术有限公司</span><font color="Red">  
       </font>地址:北三环西路48号科技会展中心2# 1B 邮编:100086<br>
      TEL:010-62583366 62628338 62564083/84  Fax:010-62588980<br>
    </td>
    <td width="4%" height="41" valign="middle"><img src="../../images/a18.gif" width="26" height="25"></td>
    <td width="30%" height="41" valign="middle" class="link1"><a href="mailto:webmaster@tianshi.com.cn" class="link2">经理部</a> <a href="mailto:webmaster@tianshi.com.cn" class="link3">webmaster@tianshi.com.cn</a><br>
      <a href="mailto:webmaster@tianshi.com.cn" class="link2">销售部</a> <a href="mailto:sales@tianshi.com.cn" class="link3">sales@tianshi.com.cn</a></td>
  </tr>
  <tr bgcolor="#000099"> 
    <td align="center" height="1" colspan="3"></td>
  </tr>
  <tr> 
    <td height="11" colspan="3"> 
      <p align="center"><i><font face="Georgia, Times New Roman, Times, serif" size="1">&copy;Copyright  March 
        27, 2000</font></i></p>
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -