<script>ec(2);</script> <table width="620" align="center" border="0" cellpadding="1" cellspacing="1" style="background:#FB7"> <tr> <td width="464" height="27" bgcolor="#FFE7CE"> 代码如下</td> <td width="109" align="center" bgcolor="#FFE7CE" style="cursor:pointer;" onclick="doCopy('copy9516')">复制代码</td> </tr> <tr> <td height="auto" colspan="2" valign="top" bgcolor="#FFFFFF" style="padding:10px;" class="copyclass" id=copy9516> Response.Write " <select name=""classType"">" Response.Write "<option value=""0"">做为一级分类</option>" Set Rsp=Conn.Execute("SELECT Classid,depth,ClassName FROM Zjc_ClassInfo ORDER BY ChannelId,Orders,RootId") If Not (Rsp.Eof And Rsp.Bof) Then Do While Not Rsp.EOF Response.Write "<option value=""" & Rsp("classid") & """ " Response.Write ">" If Rsp("depth") = 1 Then Response.Write " ├ " If Rsp("depth") > 1 Then For i = 2 To Rsp("depth") Response.Write " │" Next Response.Write " ├ " End If Response.Write Rsp("ClassName") & "</option>" & vbCrLf Rsp.movenext Loop Rsp.Close Set Rsp = Nothing End If Response.Write "</select>" </td> </tr> </table></td> </tr> </table>
|