<% call SiteInfo if ISHTML = 1 then Response.expires = 0 Response.expiresabsolute = Now() - 1 Response.addHeader "pragma", "no-cache" Response.addHeader "cache-control", "private" Response.CacheControl = "no-cache" End If if request.QueryString("SortID")="" then SeoTitle="产品" elseif not IsNumeric(request.QueryString("SortID")) then SeoTitle="参数错误" elseif conn.execute("select * from VS_ProductSort Where ViewFlag and ID="&request.QueryString("SortID")).eof then SeoTitle="参数错误" else set rs = server.createobject("adodb.recordset") sql="select * from VS_ProductSort where ViewFlag and ID="&request.QueryString("SortID") rs.open sql,conn,1,1 SeoTitle=rs("SortName") rs.close set rs=nothing end if %> Products—Shenzhen Li-ion Bodyguard Technology Co.,Ltd.
Products Model
<%=WebMenu(0,0,1)%>
Download Contact Us
Hotline  9:00-18:00
TEL:<% =Telephone %>
Your position > Home > Products
Products
<%=WebContent("VS_ProductSort",request.QueryString("SortID"),"")%>
Product Model Product Image Overcharge protection Over-discharge protection Maximum continuous discharge current Product Size
<% function WebMenu(ParentID,i,level) dim rs,sql set rs = server.createobject("adodb.recordset") sql="select * from VS_ProductSort where ViewFlag and ParentID="&ParentID&" order by ID asc" rs.open sql,conn,1,1 if conn.execute("select ID from VS_ProductSort Where ViewFlag and ParentID=0").eof then Response.Write("
暂无相关信息
") end if do while not rs.eof If ISHTML = 1 Then AutoLink = ""&ProSortName&""&Separated&""&rs("ID")&""&Separated&"1."&HTMLName&"" Else AutoLink = "ProductList.asp?SortID="&rs("ID")&"" End If Response.Write("
") Response.Write(""&StrLeft(rs("SortName"),30)&"") Response.Write("
") i=i+1 if i "&rs("SortName")&"" SortPathTXT=rs("SortName") end if rs.close set rs=nothing end function function WebContent(DataFrom,ID,SortPath) dim rs,sql dim HideSort set rs = server.createobject("adodb.recordset") if ID="" then SortPath="0," elseif not IsNumeric(ID) then Response.Write "
No information
" exit function elseif conn.execute("select * from "&DataFrom&" Where ViewFlag and ID="&ID).eof then Response.Write "
No information
" exit function else SortPath=conn.execute("select * from "&DataFrom&" Where ViewFlag and ID="&ID)("SortPath") conn.execute("update "&DataFrom&" set ClickNumber=ClickNumber+1 Where ID="&ID) end if sql="select * from "&DataFrom&" Where not(ViewFlag) and Instr(SortPath,'"&SortPath&"')>0" rs.open sql,conn,1,1 while not rs.eof HideSort="and not(Instr(SortPath,'"&rs("SortPath")&"')>0) "&HideSort rs.movenext wend rs.close dim idCount dim pages pages=ProInfo dim pagec dim page page=clng(request("Page")) dim pagenc pagenc=4 dim pagenmax dim pagenmin dim pageprevious dim pagenext datafrom="VS_Products" dim datawhere datawhere="where ViewFlag and Instr(SortPath,'"&SortPath&"')>0 "&HideSort& " " dim sqlid dim Myself,PATH_INFO,QUERY_STRING PATH_INFO = request.servervariables("PATH_INFO") QUERY_STRING = request.ServerVariables("QUERY_STRING")' if QUERY_STRING = "" then Myself = PATH_INFO & "?" elseif Instr(PATH_INFO & "?" & QUERY_STRING,"Page=")=0 then Myself= PATH_INFO & "?" else Myself = Left(PATH_INFO & "?" & QUERY_STRING,Instr(PATH_INFO & "?" & QUERY_STRING,"Page=")-1) end if dim taxis taxis="order by id desc " dim i sql="select count(ID) as idCount from ["& datafrom &"]" & datawhere set rs=server.createobject("adodb.recordset") rs.open sql,conn,0,1 idCount=rs("idCount") if(idcount>0) then if(idcount mod pages=0)then pagec=int(idcount/pages) else pagec=int(idcount/pages)+1 end if sql="select id from ["& datafrom &"] " & datawhere & taxis set rs=server.createobject("adodb.recordset") rs.open sql,conn,1,1 rs.pagesize = pages if page < 1 then page = 1 if page > pagec then page = pagec if pagec > 0 then rs.absolutepage = page for i=1 to rs.pagesize if rs.eof then exit for if(i=1)then sqlid=rs("id") else sqlid=sqlid &","&rs("id") end if rs.movenext next end if if(idcount>0 and sqlid<>"") then sql="select * from ["& datafrom &"] where id in("& sqlid &") "&taxis set rs=server.createobject("adodb.recordset") rs.open sql,conn,0,1 dim tr,td dim ProductName,SmallPicPath,Content while not rs.eof if StrLen(rs("ProductName"))<=25 then ProductName=rs("ProductName") else ProductName=StrLeft(rs("ProductName"),25) end If Content=Left(rs("Content"),150) If ISHTML = 1 Then AutoLink = ""&ProName&""&Separated&""&rs("ID")&"."&HTMLName&"" Else AutoLink = "ProductView.asp?ID="&rs("ID")&"" End If SmallPicPath=HtmlSmallPic(rs("GroupID"),rs("SmallPic"),rs("Exclusive")) if SmallPicPath="" then SmallPicPath="images/cace.jpg" end if Response.Write("") Response.Write(""&rs("ProductModel")&"") Response.Write("") Response.Write(""&rs("Maker")&"") Response.Write(""&rs("protect")&"") Response.Write(""&rs("current")&"") Response.Write(""&rs("dimension")&"") Response.Write("") rs.movenext wend else Response.Write "
No information
" exit function end if Response.Write ""&VbCrLf Response.Write " "&VbCrLf Response.Write " "&VbCrLf Response.Write " "&VbCrLf Response.Write "
"&VbCrLf Response.Write "A total of "&idcount&" records Pages:"&page&"/"&pagec&" Pre Pages:"&pages&" records" & vbCrLf pagenmin=page-pagenc pagenmax=page+pagenc if(pagenmin<1) then pagenmin=1 if(page>1) then Response.Write ("9 ") if page-(pagenc*2+1)<=0 then pageprevious=1 else pageprevious=page-(pagenc*2+1) end if if(pagenmin>1) then Response.Write ("3 ") if(pagenmax>pagec) then pagenmax=pagec for i = pagenmin to pagenmax if(i=page) then Response.Write (" "& i &" ") else Response.Write ("["& i &"]") end if next if page+(pagenc*2+1)>=pagec then pagenext=pagec else pagenext=page+(pagenc*2+1) end if if(pagenmax: ") if(page:") Response.Write "
"&VbCrLf rs.close set rs=nothing end function %>