<% if Session("LoginStatus")<>"yes" then response.Redirect("noauthority.asp") end if %>
SMALL CYCLADES MANAGER >REAL ESTATE (EN) MANAGER>VIEW/MODIFY ENTRIES
<% 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!; OPTION=3" set myconnection=server.createobject("adodb.connection") myconnection.open myDSN for each i in request.Form if request.Form(i)<>"submit" then sql="delete from estateen where id=" & request.Form(i) myconnection.execute sql end if next response.Write(mesageforme) %>
>>VIEW/ MODIFICATE REAL ESTATE (EN)
>>REAL ESTATE (EN) MANAGER
>>MAIN MENU