Current File : C:/Inetpub/vhosts/derecha3kmotor.com/httpdocs/2024/control/pre_email.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-Language" content="es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MC</title>
<link href='http://fonts.googleapis.com/css?family=Electrolize' rel='stylesheet' type='text/css'>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<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>
<script type="text/javascript">
<!--
function showMe (it, box) {
  var vis = (box.checked) ? "block" : "none";
  document.getElementById(it).style.display = vis;
}
//-->
</script>
<script type="text/javascript">
    $(document).ready(function(){
        $('input[type="radio"]').click(function(){
            if($(this).attr("value")=="recordatorio"){
                $(".rec").show();
                $(".gen").hide();
            }
            if($(this).attr("value")=="generico"){
                $(".rec").hide();
                $(".gen").show();
            }
        });
    });
</script>
</head>
<body class="p12n">

<p align="center">Seleccione el tipo de email que desea enviar:</p>
<form method="POST" action="email.asp?id=<%=id%>&evento=<%=evento%>">
	<p align="center">
	<input type="radio" name="tipo" value="recordatorio"> Recordatorio de 
	Inscripcion</p>
	<div id="rec" class="rec" style="display:none">
		<p align="center">
		Id Evento próximo: 
		<input type="text" name="idevento" size="10" value=<%=Session("idevento")%>></p>
		<p align="center">
		Prueba: 
		<input type="text" name="prueba" size="58" value="<%=Session("prueba")%>"></p>
		<p align="center">
		Fecha (99/99/9999): <input type="text" name="fecha" size="18" value=<%=Session("fecha")%>></p>
		<p align="center">
		Estimado [nombre], nos ponemos en contacto con usted para recordarle<br>
		que se encuentra abierto el plazo de inscripción para la prueba:<br>
		[evento]<br>
		que se celebra el día [Fecha] en el circuito de Narea (Telde).<br>
		Si desea inscribirse y emplear todos o parte de los datos de su última 
		inscripción, pinche en el siguiente enlace:<br>
		[enlace]<br>
		El Club RC Jaraquemada le agradece su interés y le invita a conocer toda 
		la información del mismo en la web<br>
		www.fapastur.com<br>
		Atentamente,<br>
		Antonio Guerra (Presidente)</p>
	</div>
	<p align="center">
	<input type="radio" name="tipo" value="generico"> Genérico</p>
	<div id="gen" class="gen" style="display:none">
		<p align="center">
		<textarea rows="7" name="texto_generico" cols="59" tabindex="4"></textarea></p>
	</div>
	<p align="center">
	<input type="submit" value="Enviar" name="B1" tabindex="5"></p>
</form>
<p align="center">&nbsp;</p>

</body>

</html>