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
<%id=cint(request("id")) if id<=0 then Response.Redirect("Download.asp") else set rs=Server.CreateObject("adodb.recordset") sql="select top 1 pass,fileurl from download where id="&id rs.open sql,conn,1,1 if not rs.eof then pass=rs("pass") fileurl=rs("fileurl") end if rs.close set rs=nothing end if %> <%if Request.Form("action")="save" then if pass=Checkstr(SafeRequest("password",0)) then BoxAlert "Password Correct!",fileurl else BoxAlert "Password error!","-1" end if end if %>
Enter passowrd: