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