<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> 欧美老熟妇喷水,俺去也,樱桃视频 大全免费观看,男人床上越折腾你是不是越爱你 <%'************************************************* '函數名:gotTopic '作 用:截字符串,漢字一個算兩個字符,英文算一個字符 '參 數:str ----原字符串 ' strlen ----截取長度 '返回值:截取后的字符串 '************************************************* function gotTopic(str,strlen) if str="" then gotTopic="" exit function end if dim l,t,c, i str=replace(replace(replace(replace(str," "," "),""",chr(34)),">",">"),"<","<") l=len(str) t=0 for i=1 to l c=Abs(Asc(Mid(str,i,1))) if c>255 then t=t+2 else t=t+1 end if if t>=strlen then gotTopic=left(str,i) & "…" exit for else gotTopic=str end if next gotTopic=replace(replace(replace(replace(gotTopic," "," "),chr(34),"""),">",">"),"<","<") end function%>

欧美老熟妇喷水,俺去也,樱桃视频 大全免费观看,男人床上越折腾你是不是越爱你

最新動態

    <%dim todyArticle,totalArticle set rs=server.createobject("adodb.recordset") rs.open "select id,title,infotime from News_main where BigClassName='新聞動態' order by infotime desc",conn,1,1 dim titleLatestNews,dateLatestNews,idLatestNews,rsRecordCount rsRecord=rs.recordcount TotalArticle=rsRecord if rsRecord>6 then rsRecord=6 end if for y1=1 to rsRecord titleLatestNews=rs("title") idLatestNews=rs("id") infotime=FormatDateTime(rs("infotime"),2) %>
  •  <%=gotTopic(titleLatestNews,35)%>  <%=infotime%>
  • <%rs.movenext next titleLatestNews=null dateLatestNews=null idLatestNews=null rs.close set rs=nothing %>

關于我們

MORE>
銘臺廠房 <% set rs_n2=server.createobject("adodb.recordset") rs_n2.open "select content from News_main where BigClassName='公司簡介' order by infotime desc",conn,1,1 if rs_n2.recordcount=0 then response.write"資料整理中..." else dim info_Content info_Content=rs_n2("content") response.Write gotTopic(RemoveHTML(info_Content),650) info_Content=Null end if rs_n2.close set rs_n2=nothing %>

熱銷產品

    <%dim rsc,xCount set rsc=server.createobject("adodb.recordset") rsc.open "select bookid,bookname,bookpic,bookid from shop_books where bestbook=1",conn,1,1 xCount=rsc.recordcount if xCount>10 then xCount=10 end if for k=1 to xCount p_bookname=rsc("bookname") p_bookpic=rsc("bookpic") p_bookid=rsc("bookid") %>
  • <%rsc.movenext next rsc.close:set rsc=nothing%>

推薦產品

MORE>
    <%dim title,revID,curStyle,smallCategory,bID,leixing revID=trim(request.QueryString("anid")) bID=trim(request.QueryString("nid")) leixing=lcase(trim(request("lx"))) set rs=server.createobject("adodb.recordset") rs.open "select anclass,anclassid,anclassidorder from shop_anclass order by anclassidorder",conn,1,1 do while not rs.eof %>
  • &lx=big"><%=rs("anclass")%>
  • <%rs.movenext loop rs.close set rs=nothing%>

推薦產品

MORE>
    <%set rs_tj=server.createobject("adodb.recordset") rs_tj.open "select top 12 bookid,bookname,bookpic,anclassid from shop_books where newbook=1 order by tejiabook desc",conn,1,1 dim k k=rs_tj.recordcount if k>12 then k=12 end if for i=1 to k bookname=rs_tj("bookname") bookpic=rs_tj("bookpic") bookid=rs_tj("bookid") anid=rs_tj("anclassid") %>
  • &anid=<%=anid%>><%=bookname%>
    &anid=<%=anid%>><%=bookname%>
  • <% rs_tj.movenext next rs_tj.close set rs_tj=nothing bookname=null bookpic=null bookid=null anid=null %>

行業動態

    <% set rs_tj=server.createobject("adodb.recordset") rs_tj.open "select id,title,infotime from News_main where SmallClassName='行業動態' order by infotime desc",conn,1,1 dim kk3,newsDate kk3=rs_tj.recordcount if kk3>5 then kk3=5 end if for i=1 to kk3 newsDate=FormatDateTime(rs_tj("infotime"),2) %>
  • <%=newsDate%>
    " target=_self><%=gotTopic(rs_tj("title"),35)%>
  • <%rs_tj.movenext next rs_tj.close set rs_tj=nothing %>

產品知識

    <% set rs_tj=server.createobject("adodb.recordset") rs_tj.open "select id,title,infotime from News_main where BigClassName='產品知識' order by infotime desc",conn,1,1 kk3=rs_tj.recordcount if kk3>5 then kk3=5 end if for i=1 to kk3 newsDate=FormatDateTime(rs_tj("infotime"),2) %>
  • <%=newsDate%>
    " target=_self><%=gotTopic(rs_tj("title"),35)%>
  • <%rs_tj.movenext next rs_tj.close set rs_tj=nothing %>

公司相冊

    <%set rs=server.createobject("adodb.recordset") rs.open "select top 5 bookname,bookpic from shop_case order by tejiabook desc",conn,1,1 ii=rs.recordcount if ii>5 then ii=5 end if for i=1 to ii title_news=rs("bookname") bookpic=rs("bookpic") %>
  • <%=title_news%><%=gotTopic(title_news,20)%>
  • <%rs.movenext next rs.close:set rs=nothing%>
主站蜘蛛池模板: 仪陇县| 郎溪县| 丰台区| 普定县| 天峨县| 开江县| 天镇县| 白银市| 巨鹿县| 西贡区| 堆龙德庆县| 满城县| 信阳市| 连山| 涡阳县| 改则县| 额济纳旗| 温州市| 肇东市| 茶陵县| 平邑县| 盈江县| 建水县| 岑巩县| 陕西省| 娄烦县| 改则县| 盱眙县| 镇宁| 盱眙县| 贞丰县| 西贡区| 岳西县| 思南县| 札达县| 墨脱县| 阳西县| 东方市| 张家界市| 昌平区| 崇阳县|