%
set Re = Server.CreateObject("ADODB.Recordset")
Re.ActiveConnection = conn
Re.Source = "select gb,LarCode,MidCode from ProdClass order by gb,LarCode,MidCode desc"
Re.CursorType = 0
Re.CursorLocation = 2
Re.LockType = 3
Re.Open()
Re_numRows = 0
%>
<%
CALL listmaker(aalist,"menu1", sslist ,"menu2", ddlist, "menu3", pubevent, pubfun, "prodtable")
nowtime=now()
%>
| 选择语言 |
<%= aalist%> |
| 选择大类 |
<%=replace(cstr(sslist),"@","&")%> |
| 选择小类 |
<%=replace(cstr(ddlist),"@","&")%> |
<%
function listmaker(byref list1, listname1, byref list2, listname2, byref list3, listname3, byref myevent, byref myfun, prodtable)
aalist=""
myevent=vbcrlf & "key=new Array(" & howmanygroups+1 & ");"
myevent=myevent & vbcrlf & "key1=new Array(" & howmanygroups+1
myevent=myevent & ");" & vbcrlf & tempSTR
tempSTR =vbcrlf & "function Buildkey" & "(num)" & vbcrlf
tempSTR =tempSTR & "{" & vbcrlf
tempSTR =tempSTR & "Buildkey1(0);" & vbcrlf
tempSTR =tempSTR & "document." & prodtable & "."
tempSTR =tempSTR & listname2 & ".selectedIndex=0;" & vbcrlf
tempSTR =tempSTR & "for(ctr=0;ctr