<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%Call Head()
call saycarda("添加文件")
conn.execute="ALTER TABLE xzfile ALTER COLUMN url Memo"
gett=request.querystring("gett")
dim lid,idd,rs1,sql1
lid=request.querystring("lid")
idda=trim(request.form("iddd"))
If gett="" then
%>选择添加到的大类<br/><%

Set Rs1 = Server.CreateObject("Adodb.Recordset")
	Sql1 = "SELECT name,id from xzclass Where type=0 order by id desc"
	rs1.open sql1,conn,1,1
if saytk>1 then
call xlanlj("Getdz.asp?gett=1&amp;saytk="&saytk&"&amp;sid="&sid&"")%>
选择大类类别:
<select name="iddd">
<% do while not rs1.eof
%>
<option value='<%=rs1("id")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
        rs1.close
        set rs1=nothing
%></select><br/>
<%call xlanlj1("下一步>>")
else%>
选择大类类别:
<select name="iddd<%=minute(now)%><%=second(now)%>">
<% do while not rs1.eof
%>
<option value='<%=rs1("id")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
        rs1.close
        set rs1=nothing
%></select><br/>
<anchor>下一步>><go href='Getdz.asp?gett=1&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>' method='post'>
<postfield name="iddd" value="$(iddd<%=minute(now)%><%=second(now)%>)"/>
</go></anchor>
<%end if%>
<br/>
<%
else
%>



<%

lid=request.querystring("lid")
idd=trim(request.querystring("idd"))
Set Rs1 = Server.CreateObject("Adodb.Recordset")
	Sql1 = "SELECT name,lid from xzlist where type=0 and id="&idda
	rs1.open sql1,conn,1,1

if saytk>1 then
call xlanlj("Getdzcl.asp?idd="&idda&"&amp;saytk="&saytk&"&amp;sid="&sid&"")%>
选择小类类别:
<select name="lid">
<% do while not rs1.eof
%>
<option value='<%=rs1("lid")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
        rs1.close
        set rs1=nothing
%></select><br/>
<%call xltjlj("url","$(url)")
call xlanlj1("再下一步>>")
else%>
选择小类类别:
<select name="lid<%=minute(now)%><%=second(now)%>">
<% do while not rs1.eof
%>
<option value='<%=rs1("lid")%>'><%=rs1("name")%></option>   
<%  rs1.movenext
        loop
        rs1.close
        set rs1=nothing
%></select><br/>
<anchor>再下一步>><go href='Getdzcl.asp?idd=<%=idda%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>' method='post'>
<postfield name='url' value='$(url)'/>
<postfield name="lid" value="$(lid<%=minute(now)%><%=second(now)%>)"/>
</go></anchor>
<%end if%>
<br/>



<%End if%>


--------------------<br/>
<a href='wjlist.asp?lid=<%=lid%>&amp;idd=<%=idd%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>'>[返回上级]</a><br/>
<a href='wjdl.asp?idd=<%=idd%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件小类]</a><br/>
<a href='wjclass.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件分类]</a><br/>
<a href='wjcl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件管理]</a><br/>
<a href="../index.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[后台管理]</a>
<%call headsay()%>