<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><%option Explicit Dim ThisID ThisID=4 response.charset="utf-8"%><% Dim icCompany id=request("id") If Not IsNumeric(id) Or id="" Then response.write "" response.end End if Dim icVReplace(7) set rs=server.CreateObject("adodb.recordset") sql="select * from ic_company where id="&id rs.open sql,conn,1,1 If Not rs.eof Then For i=1 To 7 icVReplace(i)=rs(i) If IsNull(rs(i)) Then icVReplace(i)="" next End if rs.close set rs=Nothing icCompany=icVReplace(2) %> <%Function Func_Title() response.write("经营品牌 - " & icCompany & " - 北京雷动天科技有限公司" & vbCrLf) response.write("" & vbCrLf) response.write("") End Function%>
雷动天科技 >> 经营品牌 >> <%=icCompany%>
<% %>
">
<%If icVReplace(1)<>"" then%> <%End if If icVReplace(2)<>"" then%><%End If If icVReplace(3)<>"" then%> <%End If If icVReplace(4)<>"" then%> <%End If If icVReplace(5)<>"" then%> <%End If If icVReplace(6)<>"" then%> <%End If If icVReplace(7)<>"" then%> <%End If%>
公司网址: <%=icVReplace(1)%>
简称:  <%=icVReplace(2)%>
全称:  <%=icVReplace(3)%>
中文名称:  <%=icVReplace(4)%>
公司简介:  <%=icVReplace(5)%>
公司主要产品:  <%=icVReplace(6)%>
联系方式:  <%=icVReplace(7)%>
<%dim listnum,t,tlnum,totalPut, CurrentPage, TotalPages,filename,filen,thisn,totalnumber listnum=40 filename="?id=" & id & "&" showaction%>
<%Func_Left%>
<%function showaction() if request("page")<>"" And IsNumeric(request("page")) then currentPage=cint(request("page")) else currentPage=1 end if set rs=server.CreateObject("adodb.recordset") rs.open "select ic1 from ic_company_stock where xgid=" & id,conn,1,1 if rs.eof and rs.bof then else totalPut=rs.recordcount if currentpage<1 then currentpage=1 if (currentpage-1)*listnum>totalput then if (totalPut mod listnum)=0 then currentpage=totalPut \ listnum else currentpage=totalPut \ listnum + 1 end if end if if currentPage=1 then showContent showpage totalput,listnum,filename else if (currentPage-1)*listnum <%function showpage(totalnumber,listnum,filename) dim n if totalnumber mod listnum=0 then n=totalnumber \ listnum else n=totalnumber \ listnum + 1 end if if n>1 then response.write "" response.write "共 "&n&" 页 | 第 "&CurrentPage&" 页 |  " if CurrentPage<2 then response.write "首页 上一页 " else response.write "首页 " response.write "上一页 " end if if n-currentpage<1 then response.write "下一页 尾页" else response.write "下一页 " response.write "尾页" end If response.write("") end if end function function showContent() Dim t for t=1 to listnum if rs.eof then exit For If t Mod 4=1 Then response.write("")%> <%=rs(0)%> <% rs.movenext If t Mod 4=0 Or rs.eof Then response.write("") next end function%>