<% '------------------------------------------------------------------------------- 'Template '------------------------------------------------------------------------------- %> <% '------------------------------------------------------------------------------- 'Config '------------------------------------------------------------------------------- Public Sub Config() Page.S = fn.dic("s") Page.Cate = "1030000" End Sub '------------------------------------------------------------------------------- 'Local Function '------------------------------------------------------------------------------- '------------------------------------------------------------------------------- 'Content '------------------------------------------------------------------------------- Public Sub RenderContent() %>
¹øÈ£ °­»ç¸í Èıâ ÀÛ¼ºÀÚ ÀÛ¼ºÀÏ
<% dim pg : pg=fn.dic("curpage") : if pg="" then pg=1 Set Listing = new ListClass Listing.SetLow = 11 Listing.Columm = " * " Listing.Short = " ¼³¹®ÀϽà desc " Listing.Table = " vi_¼³¹®ÁöÁ¤±ÔÁÖ°ü½Ä¸ñ·Ï " dim strWhere strWhere = " ±¸ºÐ=''Á¤±Ô'' and (((¼³¹®Áö¹øÈ£ between 11 and 13) and Áú¹®¹øÈ£=10) or ((¼³¹®Áö¹øÈ£ between 14 and 100) and Áú¹®¹øÈ£=9)) and len(ÁÖ°ü½Ä´ä)>5 " Listing.CountSql = " select count(*) from vi_¼³¹®ÁöÁ¤±ÔÁÖ°ü½Ä¸ñ·Ï where " & replace(strWhere,"''","'") Listing.Condition = strWhere 'Listing.Dbview = true Set rs = Listing.execrs() dim tempId Do until rs.eof tempId = left(rs("À¯ÀúID"),len(rs("À¯ÀúID"))-2) & "**" %> <% i = i + 1 rs.movenext loop %>
<%=(Listing.ListCount)-(pg-1)*11 - i%> <%=rs("´ãÀÓ¸í")%> <%=rs("ÁÖ°ü½Ä´ä")%> <%=tempId%> <%=left(rs("¼³¹®ÀϽÃ"),10)%>
<%=Listing.Paging2("")%>
<% Set Listing = Nothing %>
<% End Sub %>