请教各位高手,这段代码如何该成树型结构!在线等待

unknow0832 unknow0832 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<style type="text/css">
<!--
.style2 {color: #Ff6600}
-->
</style>

<table width="178" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="14">
<table cellspacing=0 cellpadding=0 width=170 height="20">
<tr>
<td> <img src="image/images/main/cpfl.gif" width="178"></td>
</tr>
</table>
</td>
</tr>

<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>
<td height="20" align="center">
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass order by anclassidorder",conn,1,1
if rs.recordcount=0 then
response.write "<br>ĿǰûÓÐÉÌÆ··ÖÀà"
else
while not rs.eof
%>
<table width=100% cellspacing="0" cellpadding="0" border="0">
<tr align="center">
<td colspan=3 style="CURSOR: hand" onMouseOver="this.bgColor='#E3F4F0';" onMouseOut="this.bgColor='#FFFFFF';"> <strong><span class="style2">【</span><font color="#FF6600"><a href=class.asp?lx=big&anid=<%=rs("anclassid")%> target="_blank"><b><font color="#FF6600"><%=rs("anclass")%></font></b></a>】</font></strong></td>
</tr>
<%
set rs_s=server.CreateObject("adodb.recordset")
rs_s.open "select * from shop_nclass where anclassid=" & rs("anclassid") & " order by nclassidorder",conn,1,1
if rs_s.recordcount=0 then
%>
<tr>
<td colspan=2>暂无小分类</td>
</tr>
<%
else
i=0
while not rs_s.eof
%>
<tr>
<td width=7% ></td>
<td width=48% align=center style="CURSOR: hand" onMouseOver="this.bgColor='#E3F4F0';" onMouseOut="this.bgColor='#FFFFFF';" ><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>"><%=rs_s("nclass")%></a></td>
<%rs_s.movenext
if rs_s.eof then
else
%>
<td width=45% align=center style="CURSOR: hand" onMouseOver="this.bgColor='#E3F4F0';" onMouseOut="this.bgColor='#FFFFFF';"><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>"><%=rs_s("nclass")%></a></td>
</tr>
<%
rs_s.movenext
end if%>
<%
wend
end if
%>
<tr>
<td colspan=3 height=1 background="images/bj_x1.gif" ></td>
</tr>
</table>
<%
rs_s.close
set rs_s=nothing
rs.movenext
wend
end if
rs.close
set rs=nothing
%></td>
</tr>
</table>
</td>
</tr>
</table>
...全文

相关推荐

代码_C循环-求各位数字之积_

入一个英文句子和空格字符,则输出删除了所有空格的字符测试说明以下是测试样例:样例输入:abc333dgf3样例输出:abcdgf*/

肝博士杨明博大夫

数据结构 队列的应用——银行客户平均等待时间

描述 某银行有一个客户办理业务站,在一天内随机地有客户到达,设每位客户的业务办理时间是某个范围内的值。设只有一个窗口,一位业务人员,要求程序模拟统计在一天时间内,所有客户的平均等待时间。模拟数据按客户到达的先后顺序依次由键盘输入,对应每位客户有两个数据,到达时刻和需要办理业务的时间。 Input 第一行:一天内的客户总人数n 第二行:第一个客户的到达时刻和需要办理业务的时间 第三行:第二个客户的到达时刻和需要办理业务的时间 …… 第n行:第n - 1个客户的到达时刻和需要办理业务的时间 第n + 1行:第n 个客户的到达时刻和需要办理业务的时间 Output 第一行:所有客户的平均等待时间(精确到小数点后2位) Sample Input 3 1 3 2 1 3 5 Sample Output 1.33

wwweet

java selenium智能等待页面加载完成示例代码

本文主要介绍java selenium智能等待页面加载,这里整理了相关资料并详细讲解如何实现智能等待页面加载,有需要的小伙伴可以参考下

weixin_38750007

计算整数各位数字之和,利用java代码实现

计算整数各位数字之和,利用java代码实现

射手座的程序媛

python逆序打印各位数字的方法

今天小编就为大家分享一篇python逆序打印各位数字的方法,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧

weixin_38654382
评论
收藏 已收藏
分享
返回顶部
unknow0832
ASP 28,401 成员 356,940 内容