<% if Session("LoginStatus")<>"yes" then response.Redirect("noauthority.asp") end if %>
<% jio=0 for each i in request.Form if request.Form(i)<>"Submit" then jio=jio+1 end if next if jio=0 then mesageforme="NO ENTRY HAS BEEN DELETED" elseif jio=1 then mesageforme="ONE ENTRY HAS BEEN DELETED" else mesageforme=jio & " HAS BEEN DELETED" end if myDSN="DRIVER={MySQL ODBC 3.51 Driver}; SERVER=smallcycl.ipowermysql.com; DATABASE=ferrari_default; UID=ferrari;PASSWORD=!antihack!;" set myconnection=server.createobject("adodb.connection") myconnection.open myDSN for each i in request.Form if request.Form(i)<>"Submit" then sql="delete from `photocar" & session("piocar") & "` where id=" & request.Form(i) myconnection.execute sql end if next response.Write(mesageforme) %>
>>VIEW/CHANGE HOTELS
>>HOTELS(EN) MANAGER
>>MAIN MENU