<!--#include file="ConnDB.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript">
function hideAll() {
}
function showObj(num)
{
}
</script>
<style type="text/css">
<!--
.divctrl01{
}
.divctrl02{
}
body,td,th {
}
body {
}
-->
</style>
</head>
<body>
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="SELECT * from GoodsType where mintypeid=0 order by id asc"
rs.Open sql,conn,1,1
if Rs.eof and rs.bof then
Response.Write("没有分类")
Response.end
else
i=0
do while not rs.eof
<div onClick="showObj(<%= i %>)" class="divctrl01"> + <b><%= rs("type") %></b></div>
<div id="odiv" style="display:none" >
<%
</table>
<%
</div>
<%
i=i+1
rs.movenext
loop
end if
rs.close
set rs=nothing
</body>
</html>