| Current File : C:/Inetpub/vhosts/derecha3kmotor.com/httpdocs/2019/control/novalidarins.asp |
<%
if Session("autadmin")=true or Session("autprensa")=true then
else
Response.Redirect("index.asp")
Response.End
end if
id=request.querystring("id")
evento=request.querystring("evento")
%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>MC</title>
<link href='http://fonts.googleapis.com/css?family=Electrolize' rel='stylesheet' type='text/css'>
<style type="text/css">
A.p12n:link { text-decoration: none; }
A.p12n:active { text-decoration: none; }
A.p12n:visited { text-decoration: none; }
A.p12n:hover { text-decoration: underline; }
.p12n {
color: rgb(0, 0, 0);
font-family: 'Electrolize', sans-serif;
font-size: 12px;
font-style: normal;
font-variant: normal;
font-weight: normal;
letter-spacing: normal;
line-height: 18px;
text-align: start;
text-indent: 0px;
text-transform: none;
white-space: normal;
widows: 2;
word-spacing: 0px;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;
'background-color: rgb(255, 255, 255);
display: inline !important;
float: none;
}
.p16b {
color: rgb(50, 100, 255);
font-family: 'Electrolize', sans-serif;
font-size: 16px;
font-style: normal;
font-variant: normal;
font-weight: normal;
letter-spacing: normal;
line-height: 18px;
text-align: start;
text-indent: 0px;
text-transform: none;
white-space: normal;
widows: 2;
word-spacing: 0px;
-webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px;
'background-color: rgb(255, 255, 255);
display: inline !important;
float: none;
}
.modoa {
background-color: #F5F5F5;
}
.modob {
background-color: #E2E2E2;
}
</style>
</head>
<body>
<%
conexion="PROVIDER=SQLOLEDB;DATA SOURCE=147.135.183.197;UID=fapastur;PWD=Cocococo1;DATABASE=fapastur"
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open conexion
sSQL="update inscripciones set estado='a' where id='" & id & "'"
set RS = Conn.Execute(sSQL)
Conn.Close
response.redirect "listado_inscritos.asp?evento=" & evento
%>
<p align="center"> </p>
</body>
</html>