E:
/
home
/
kbcomunicacao1
/
Web
/
sistema
/
Upload File
HOME
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="estilo.css" rel="stylesheet" type="text/css"> </head> <body> <!-- #include file ="conexao.asp" --> <% acao = request("acao") if acao = "sair" then For Each objCookie In Request.Cookies Response.Cookies(objCookie) = "" Next response.Redirect "login.asp" end if logado = request.cookies("logado") if logado <> "logado" then response.redirect "login.asp" else end if id = request("id") fecha = request("fecha") if fecha = "sim" then sqlText = "DELETE FROM galeria WHERE id="&id conbanco.Execute(sqlText) %> <script language=javascript>window.opener.document.location.reload();</script> <script language=javascript>window.close();</script> <% else if fecha = "nao" then %> <script language=javascript>window.opener.document.location.reload();</script> <script language=javascript>window.close();</script> <% end if end if Session.lcid = 1046 %> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="25" align="center"><strong>Deseja mesmo deletar esta galeria?</strong></td> </tr> <tr> <td align="center"><a href="deletar.asp?id=<%=id%>&fecha=sim">SIM</a> | <a href="deletar.asp?fecha=nao">NÃO</a></td> </tr> </table> </body> </html>