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

📄 adslindex.asp

📁 网佳网络办公系统(以下简称OA)是一套基于B/S模式的无纸化办公系统。[显著特点:无须安装客户端] 主要功能模块:管理 公文 车辆 通知 档案 值班 人事 审批 仓库 主界面 软件下载 个
💻 ASP
字号:
<!-----------
<%
if Session("ljl_liujinlu")="" or Session("ljl_grad")="" then%>
<script language=vbscript> 
MsgBox "错误:非法用户!"
location.href = "login.asp"
</script>
<%end if%>
//--------->
<!--#include file="bkconn.asp"-->
<HTML><HEAD><TITLE>坊子通信公司</TITLE>
<META content=zh-cn http-equiv=Content-Language>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<link rel="stylesheet" type="text/css" href="normal.css">
<!-----------------------------
<script language="javascript">
function popwin2(id,path)
{		window.open("listnew.asp?id="+id+"&ppath="+path,"","height=400,width=600,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");
}
</script>
//---------------->
</head>
<%
   const MaxPerPage=18
   dim totalPut   
   dim CurrentPage
   dim TotalPages
   dim i,j

   dim typename
   dim keyword
   keyword=request("guestname")

   typename="客户域名信息管理系统"
   if not isempty(request("page")) then
      currentPage=cint(request("page"))
   else
      currentPage=1
   end if
   
%>
<BODY leftMargin=0 topMargin=0>
<DIV align=center>
<CENTER>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="56%">
  <TBODY>
  <TR>
    <TD  vAlign=top width="100%">
      <TABLE border=0 cellPadding=0 cellSpacing=0 width="99%" height="68">
        <TBODY>
        <TR>
          <TD vAlign=top width="22%" height="68">
</TD>
          <TD vAlign=top width="75%" height="68">
            <DIV align=center>
            <CENTER>
            <TABLE border=0 cellPadding=0 cellSpacing=0 width=766>
              <TBODY>
              <TR>
                <TD height=30 
            width=4 rowspan="2"><span lang="en-us">    <td width="762">
     
<!------查询start-------------------->   
     
     <%' if session("jb")="" then 
'sql="select * from book where biaoti like '%"&keyword&"%' and baomi=false and leibie='信息' order by id desc"  
'else
sql="select * from adsl where dianhuahaoma like '%"&keyword&"%' order by id desc"  
'end if
Set rs= Server.CreateObject("ADODB.Recordset")  
rs.open sql,conn,1,1  
  if rs.eof and rs.bof then  
       response.write "<p align='center'>没有或没有找到任何数据</p>"  
   else  
	  totalPut=rs.recordcount  
      totalPut=rs.recordcount  
      if currentpage<1 then  
          currentpage=1  
      end if  
      if (currentpage-1)*MaxPerPage>totalput then  
	   if (totalPut mod MaxPerPage)=0 then  
	     currentpage= totalPut \ MaxPerPage  
	   else  
	      currentpage= totalPut \ MaxPerPage + 1  
	   end if  
  
      end if  
       if currentPage=1 then  
           showpage totalput,MaxPerPage,"index.asp"  
            showContent  
            showpage totalput,MaxPerPage,"index.asp"  
       else  
          if (currentPage-1)*MaxPerPage<totalPut then  
            rs.move  (currentPage-1)*MaxPerPage  
            dim bookmark  
            bookmark=rs.bookmark  
           showpage totalput,MaxPerPage,"index.asp"  
            showContent  
             showpage totalput,MaxPerPage,"index.asp"  
        else  
	        currentPage=1  
           showpage totalput,MaxPerPage,"index.asp"  
           showContent  
           showpage totalput,MaxPerPage,"index.asp"  
	      end if  
	   end if  
   rs.close  
   end if  
	          
   set rs=nothing    
   sub showContent  
       dim i  
	   i=0  
%>   
<div align="center">
<table border="1" cellspacing="0" width="754" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="0"> 
      <tr> 
        <td width="45" align="center" bgcolor="#F7FFFF" height="20"><strong>序号</strong></td> 
        <td width="68" align="center" bgcolor="#F7FFFF"><strong>记帐电话</strong></td> 
        <td width="60" align="center" bgcolor="#F7FFFF"><strong>金额</strong></td> 
        <td width="229" align="center" bgcolor="#F7FFFF"><strong>用户名称</strong></td> 
        <td width="42" align="center" bgcolor="#F7FFFF"><strong>周期</strong></td> 
        <td width="93" align="center" bgcolor="#F7FFFF">交费时间</td> 
        <td width="47" align="center" bgcolor="#F7FFFF"><strong>操作员</strong></td> 
        <td width="70" align="center" bgcolor="#F7FFFF">收据号码</td> 
        <td width="78" align="center" bgcolor="#F7FFFF">专线编号</td> 
      </tr> 
<%do while not rs.eof%> 
      <tr> 
        <td height="23" width="45" bgcolor="#F7FFFF"><p align="center"><%=rs("id")%></td> 
          
 
        <td width="68" bgcolor="#F7FFFF"><p align="left"><span lang="en-us">&nbsp;</span><font color="#000080"><%=rs("dianhuahaoma")%></font></td> 
          
 
        <td width="60" bgcolor="#F7FFFF"><font color="#FF0000">
        <p align="left"><%=rs("yonghuzhanghao")%>元</font></td> 
          
 
        <td width="229" bgcolor="#F7FFFF"><font color="#0000FF">
        <p align="left"><%=rs("dianhuahuming")%></font></td> 
          
 
        <td width="42" bgcolor="#F7FFFF"><font color="#FF0000">
        <p align="center"><%=rs("chexiaoyuanyin")%></font></td> 
          
 
        <td width="93" bgcolor="#F7FFFF"><font color="#C0C0C0">
        <p align="center"><%=rs("jiaofeiriqi")%></font></td> 
          
 
        <td width="47" bgcolor="#F7FFFF"><font color="#800080">
        <p align="left"><%=rs("gonghao")%></font></td> 
          
 
        <td width="70" bgcolor="#F7FFFF"><font color="#800000">
        <p align="center"><%=rs("shoujuhaoma")%></td> 
          
 
        <td width="78" bgcolor="#F7FFFF">
        <p align="center"><font color="#800000"><%=rs("zhuanxianbianhao")%> </td> 
      </tr> 
<% i=i+1 
	      if i>=MaxPerPage then exit do 
	      rs.movenext 
	   loop 
		  %> 
    </table> 
        </div>
        <% 
   end sub  
 
function showpage(totalnumber,maxperpage,filename) 
  dim n 
  if totalnumber mod maxperpage=0 then 
     n= totalnumber \ maxperpage 
  else 
     n= totalnumber \ maxperpage+1 
  end if 
  response.write "<form method=Post action="&filename&"?guestname="&keyword&">" 
 ' response.write "<p align='center'><font color='red'>"&typename&"</font>&nbsp;" 
  if CurrentPage<2 then 
    response.write "<font color='#000080'>首页 上一页</font>&nbsp;" 
  else 
    response.write "<a href="&filename&"?page=1&guestname="&keyword&">首页</a>&nbsp;" 
    response.write "<a href="&filename&"?page="&CurrentPage-1&"&guestname="&keyword&">上一页</a>&nbsp;" 
  end if 
  if n-currentpage<1 then 
    response.write "<font color='#000080'>下一页 尾页</font>" 
  else 
    response.write "<a href="&filename&"?page="&(CurrentPage+1)&"&guestname="&keyword&">" 
    response.write "下一页</a> <a href="&filename&"?page="&n&"&guestname="&keyword&">尾页</a>" 
  end if 
   response.write "<font color='#000080'>&nbsp;页次:</font><strong><font color=red>"&CurrentPage&"</font><font color='#000080'>/"&n&"</strong>页</font> " 
    response.write "<font color='#000080'>&nbsp;共<b>"&totalnumber&"</b>条记录 <b>"&maxperpage&"</b>条记录/页</font> " 
   response.write " <font color='#000080'>转到:</font><input type='text' name='page' size=4 maxlength=10 class=smallInput type='text' name='txtitle' value="&currentpage&">" 
 
   response.write "<input class=buttonface type='submit'  value=' 确定 '  name='cndok'></span></p></form>"      
end function 
%> 
<form name="searchtitle" method="POST" action="index.asp"> 
      <p align=center>按记帐电话查询:<input class=smallInput type="text" name="guestname" size="13">  
      <input class=buttonface type="submit" value="搜 索" name="title">  <span lang="en-us">
      <img border="0" src="PIC/hand.gif"></span><a href="adsl.asp"><font color="#FF0000">录入信息</font></a>   <span lang="en-us"><img border="0" src="PIC/hand.gif"></span><font color="#FF0000"><a target="_top" href="jh.asp"><font color="#FF0000">退出本模块</font></a></font></p>    
    </form>  
          
 <!---查询-------end----------------->        
         
         
     </td>    
</span></TD></TR>
              <tr>
                <td width="762">
     
<p align="center"><SCRIPT language=JavaScript src="copyright.js"></SCRIPT>                  
         
         
     </td>    
              </tr>
              </TBODY></TABLE></CENTER></DIV>
            </TD></TR></TBODY></TABLE>
      </TD></TR></TBODY></TABLE></CENTER></DIV>
<DIV id=Layer1 onmouseout="MM_showHideLayers('Layer1','647','hide')" 
onmouseover="MM_showHideLayers('Layer1','647','show')" 
style="HEIGHT: 71; LEFT: 409; POSITION: absolute; TOP: 127; VISIBILITY: hidden; WIDTH: 345; Z-INDEX: 1">
<TABLE border=0 cellPadding=0 cellSpacing=0 height=22 width="298">
  <TBODY>
  <TR>
    <TD height=32 width="298">  </TD></TR>
  </TBODY></TABLE></DIV>
</BODY></HTML>

⌨️ 快捷键说明

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