ï»?html> 二手机械--½I¿å±±ç”²å·¥½E‹æœºæ¢°æœ‰é™å…¬å?/title> <meta name="keywords" content="玉柴挖掘机|å±ÞqŒ«æŒ–掘机|OM叉èžR"> <meta name="description" content=" ½I¿å±±ç”²æœºæ¢°æ˜¯ä¸€å®¶ä¸“业化的小型工½E‹æœºæ¢°é”€å”®åŠ¾l´ä¿®æœåŠ¡ä¼ä¸šã€‚是¾ŸŽå›½IngersoLL-Rand英格索兰å±ÞqŒ«å…¬å¸åŠçŽ‰æŸ´æœºå™¨å·¥½E‹æœºæ¢°å…¬å¸å±±ä¸œæŽˆæƒç‹¬å®¶ä»£ç†å•†ã€?> <link rel="stylesheet" href="../00css/style.css"> <script language="Javascript" src="../00js/quick.js"></script> <script LANGUAGE="JavaScript"> <!-- function pop(pageurl) { popwin = window.open(pageurl,"popWin","scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no, top=0, left=0,width=480,height=350"); popwin.focus(); return false; } //--> </script> <meta http-equiv="Cache-Control" content="no-transform" /> <meta http-equiv="Cache-Control" content="no-siteapp" /> </head> <body topmargin="0" leftmargin="0"> <script language="javascript" src="/2007/00js/top.js"></script> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" background="../aboutus/images/line000.jpg" height="141"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1002" height="141" id="top-about" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="/2007/TOP-USED.swf" /> <param name="quality" value="high" /> <param name="WMode" value="Transparent"> <embed src="/2007/TOP-USED.swf" quality="high" wmode="transparent" width="1002" height="141" name="top-about" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" height="1"><!----></td> </tr> <tr> <td width="100%" bgcolor="#277A2B" height="7"><!----></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="1%" valign="top" background="../aboutus/images/left1.gif"><img border="0" src="../aboutus/images/left1.gif" width="10" height="1"><br> <p> </p> <p> </p> <p> </p> <p> </td> <td width="1%" valign="top" style="border-left:1 solid #C1C1C1;border-right:1 solid #C1C1C1" bgcolor="#D5EAC6"> <script language="javascript" src="/2007/00js/left-pro.js"></script> <script language="javascript" src="/2007/00js/left-foot.js"></script> <p><br>  </td> <td width="97%" valign="top" style="border-right:1 solid #C1C1C1"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" background="../aboutus/images/text-l.gif"><img border="0" src="../aboutus/images/used.gif" width="99" height="40"></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%" height="30"> </td> </tr> </table> <% // Option Explicit Response.Buffer = True // 特别提醒åQ?ä¸ÞZ¿è¯é¡µé¢çš„¾ŸŽè§‚åQŒæœ¬½E‹åºåœ¨ç”ŸæˆHTML代码的时å€?加了样式 åQŒæ ·å¼?¾c?ä¸?P92 åQŒè¯·ä¸€å®šä¿è¯æ ·å¼è¡¨ä¸­æœ‰æ­¤ç±»ã€? //*******************************帔R‡å®šä¹‰å¼€å§? Const LngCorp=6054 //* 定义客户¾~–号 Const PerLine=1 //* 定义每行昄¡¤ºçš„图片条æ•? Const TotleLine=10 //* 定义昄¡¤ºå¤šå°‘è¡? Const MainCate=2 Const CurrFile="default.asp" //*定义套用此脚本的™åµé¢æ–‡äšg名,必须为ASP文äšg Const IsOpen=0 //*定义是否在弹出窗口浏览大图ã€? Const ImgWidth=220 //*定义囄¡‰‡çš„显½Cºå®½åº¦ï¼Œ0表示无限åˆ? Const ImgHeight=165 //*定义囄¡‰‡çš„显½Cºé«˜åº¦ï¼Œ0表示无限åˆ? //*******************************帔R‡å®šä¹‰¾l“束 //◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆â—? //所有控制参数的定义在上面进行,下面的脚本修改请联系技术开发äh员◆â—? //◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆â—? Dim ObjRst,ObjCon,StrSql,StrWhere,StrOrder,StrQry Set ObjRst=Server.CreateObject("ADODB.RecordSet") Set ObjCon=Server.CreateObject("ADODB.Connection") ObjCon.Open "WD102" //˜qžæŽ¥æ•°æ®åº? //=================================== StrSql="Select id,title,brand,model,img1,ispublished,place,price,img10_title,img9_title,img10 FROM diy_products" //* 定义查询语句 StrWhere=" Where corpid="&LngCorp&" And ispublished=1" //定义查询条äšg StrOrder=" Order by id desc" //定义排序规则 StrQry="" //=================================== Dim TotalPage,TotalRecords,CurrPage,Flg,i,k Dim PerPage PerPage=PerLine*TotleLine TotalPage=0 TotalRecords=0 CurrPage=Request("page") If CurrPage="" Or Not IsNumeric(CurrPage) Then CurrPage=0 If CurrPage<1 Then CurrPage=0 CurrPage=Int(CurrPage) //=================================== If ObjRst.State=1 Then ObjRst.Close ObjRst.Open "SELECT Count(id) cc FROM diy_products"&StrWhere,ObjCon TotalRecords=ObjRst.Fields("cc") ObjRst.Close //=================================== 信息昄¡¤º %> <div align="center"> <center> <table border="0" cellspacing="1" width="90%" class="P92" bgcolor="#277A2B"> <tr> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">二手机械</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">品牌</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">机型</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">机号</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">工作时数</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">产地</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">出厂òq´ä†¾</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">ä»äh ¼</font></b></td> <td width="11%" align="center" style="border-right-style: solid"><b><font color="#FFFFFF">囄¡‰‡</font></b></td> </tr> <% If TotalRecords>0 Then TotalPage=Int(TotalRecords/PerPage) If PerPage*TotalPage<TotalRecords Then TotalPage=TotalPage+1 If CurrPage>TotalPage Then CurrPage=TotalPage If CurrPage=0 Then CurrPage=1 If ObjRst.State=1 Then ObjRst.Close ObjRst.Open StrSql&StrWhere&StrOrder,ObjCon i=0 If CurrPage>1 Then Do While Not ObjRst.Eof And i<(CurrPage-1)*PerPage i=i+1 ObjRst.MoveNext Loop End If //开始显½Cºå›¾ç‰? k=1 Do While Not ObjRst.Eof And k<=PerPage %> <tr> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("title")%></td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("brand")%></td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("model")%></td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("img9_title")%></td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("img10_title")%>ž®æ—¶</td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("place")%></td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("img10")%></td> <td width="11%" bgcolor="#FFFFFF" align="center"><%=ObjRst("price")%></td> <td width="11%" bgcolor="#FFFFFF" align="center">-<%If ObjRst("img1")<>"" Then %><a href="/2007/used/proimg/<%=ObjRst("img1")%>" onclick="return pop(this.href);">‹¹è§ˆå›„¡‰‡</a><%end if%>-</td> </tr> <% ObjRst.MoveNext k=k+1 Loop k=k+1 //昄¡¤º¾l“束 Else Response.Write "<tr><td width=""100%"" bgcolor=""#FFFFFF"" colspan=""9"" align=""center"">暂时没有相关信息</td></tr>" End If %> </table> </center> </div> <% //=========== 分页æ¡? Response.Write "<div align=""center""><center>" Response.Write "<table border=""0"" width=""90%"" class=""p92"" bgcolor=""#F0F0F0""><tr><td align=""center"" bgcolor=""#ebebeb""> " Response.Write "å…?&TotalPage&"™åµï¼Œå½“前½W?&CurrPage&"™å?nbsp; " If CurrPage>1 Then Response.Write "<a href="""&CurrFile&"?page="&CurrPage-1&StrQry&"""><上页></a>" If CurrPage<TotalPage Then Response.Write "    <a href="""&CurrFile&"?page="&CurrPage+1&StrQry&"""><下页></a>" Response.Write "</td></tr></table></center></div>" //=================================== If ObjRst.State=1 Then ObjRst.Close If ObjCon.State=1 Then ObjCon.Close Set ObjRst=Nothing Set ObjCon=Nothing ////////////////////////////////////////// %> </td> <td width="1%" valign="top" background="../aboutus/images/right1.gif"><img border="0" src="../aboutus/images/right1.gif" width="20" height="1"></td> </tr> </table> <script language="javascript" src="/2007/00js/foot.js"></script> <a href="http://www.762743.tw/"><span class="STYLE1">±±¾©¿ìÈýÔ¤²âºÍÖµÍƼö</span></a> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>