Products Search " style="border:1px solid #FFFFFF; height:10px; line-height:10px; width:130px;"/>
Download
<% set rs=Server.CreateObject("adodb.recordset") sql= "select id,typename from download_type order by ordernumber asc,id asc " rs.Open sql,conn,1,1 while not rs.eof%> <% rs.movenext Wend rs.close set rs=nothing%>
"> <%=rs("typename")%>
Download Class Check
<%id=cint(request("id")) if id<=0 then Response.Redirect("Download.asp") else set rs=Server.CreateObject("adodb.recordset") sql="select top 1 pass from download_type where id="&id rs.open sql,conn,1,1 if not rs.eof then pass=rs("pass") end if rs.close set rs=nothing end if %> <%if Request.Form("action")="save" then if pass=Checkstr(SafeRequest("password",0)) then Session("typepass")=pass BoxAlert "Password Correct!","Download.asp?id="&id else BoxAlert "Password error!","-1" end if end if %>
Enter passowrd: