| Current File : C:/Inetpub/vhosts/derecha3kmotor.com/httpdocs/2023_01/control/insertar.asp |
<%
Response.CharSet = "UTF-8"
if Session("autadmin")=true or Session("autprensa")=true then
else
Response.Redirect("index.asp")
Response.End
end if
dia=Day(date)
mes=month(date)
ano=year(date)
if dia<10 then
dia="0"&dia
else
end if
if mes<10 then
mes="0"&mes
else
end if
ano=right(ano,2)
%>
<html>
<head>
<meta http-equiv="Content-Language" content="es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>New Page 1</title>
<script src="bbcode/bbcode12.js"></script>
<script src="bbcode/bbcode22.js"></script>
</head>
<body onload="init12('cabecera'), init22('cuerpo')">
<form method="POST" action="agregar.asp">
<table border="0" width="100%" id="table1">
<tr>
<td align="left" valign="top">
<font color="#003399" face="Trebuchet MS"><font size="2">Titular:<br>
</font>
<input type="text" name="titular" size="70" style="font-family: Trebuchet MS; font-size: 10pt; font-weight: bold; color: #003399" tabindex="1"></font><p>
<font face="Trebuchet MS" color="#003399" size="2">Cabecera:<br>
<textarea rows="10" id="cabecera" name="cabecera" cols="70" style="font-family: Trebuchet MS; font-size: 10pt; color: #003399" tabindex="2"></textarea></font></td>
<td align="left" valign="top">
<font face="Trebuchet MS" color="#003399" size="2">Cuerpo:<br>
<textarea rows="20" wrap="virtual" name="cuerpo" id="cuerpo" cols="90" style="font-family: Trebuchet MS; font-size: 10pt; color: #003399" tabindex="3"></textarea></font><p>
<font face="Trebuchet MS" size="2" color="#003399">Dia:
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="2" -->
<input type="text" name="dia" size="2" tabindex="5" value="<%=dia%>" style="font-family: Trebuchet MS; font-size: 10pt; color: #003399" maxlength="2">
Mes:
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="2" -->
<input type="text" name="mes" size="2" tabindex="6" value="<%=mes%>" style="font-family: Trebuchet MS; font-size: 10pt; color: #003399" maxlength="2">
Año:
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="2" i-maximum-length="2" -->
<input type="text" name="ano" size="2" tabindex="7" value="<%=ano%>" style="font-family: Trebuchet MS; font-size: 10pt; color: #003399" maxlength="2">
</font>
<input type="submit" value="Enviar" name="enviar" style="font-family: Trebuchet MS; font-size: 10pt; color: #FFFFFF; font-style: italic; font-weight: bold; background-color: #003399" tabindex="8"></td>
</tr>
</table>
<p align="center"> </p>
</form>
</body>
</html>