Current File : C:/Inetpub/vhosts/derecha3kmotor.com/httpdocs/2025/admin/editc2.asp
<!--#include file="leercliente.asp"-->
<%
id_contenido=request.querystring("idcontenido")
texto=request.querystring("texto")
textocontenido=request.form("textocontenido")


' EDITAR BD CON NUEVO ENLACE

Set Conn = Server.CreateObject("ADODB.Connection")

Conn.Open conexion

sSQL="update contenido25 set texto='" & textocontenido & "' where id='" & id_contenido & "'"

set RS = Conn.Execute(sSQL)

Conn.Close

' leo CONTENIDO solicitado ADJUNTO


Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open(conexion)
sSQL="Select * From contenido25 where id='" & id_contenido & "'"
set RS = Conn.Execute(sSQL)

if not RS.eof then

enlace=RS("enlace")

else
end if

Conn.Close


%>
<html>

<head>
<meta http-equiv="Content-Language" content="es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Administración de Menús</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-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-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;
}

</style>
</head>

<body bgcolor="#FFFFFF">


<table border="0" width="100%" cellspacing="3">
	<tr align="center">
		<td colspan="3" align="center" class="p16b">
		<b>Administración de menu en Webs</b>
		</td>
	</tr>
	<tr>
		<td  class="p12n" align="center">Web: <%=web%><br>Propietario: <%=nombre%></td>
	</tr>
</table>


<table border="0" width="100%" cellspacing="5">
	<tr>
		<td>&nbsp;</td>
		<td>
		<table border="0" width="100%" cellspacing="5" cellpadding="0">
			<tr>
				<td align="center" valign="top">
				&nbsp;</td>
				<td align="center" valign="top">
				<p class="p16b">EDITAR RAIZ:<br>
				<p class="p12n"><%=texto%></td>
				<td align="center" valign="top">&nbsp;</td>
				<td align="center" valign="top">
				<a href="admina.asp" target="_self">
				<img border="0" src="back.png" width="40" height="40"></a></td>
				<td align="center" valign="top">&nbsp;</td>
			</tr>
		</table>
		</td>
		<td>&nbsp;</td>
	</tr>
</table>
<div align="center">
	<table border="0" width="600" cellspacing="5">
		<tr>
			<td align="center">
			<p class="p12n"><font color="#FF0000">Editado. Nuevo texto: <%=textocontenido%></font></td>
		</tr>
		<tr>
			<td align="center">
			&nbsp;</td>
		</tr>
		<tr>
			<td align="center">
			<table border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td class="p12n" align="right" width="25%">Adjunto:</td>
					<td class="p12n">
					<a href="http://www.derecha3kmotor.com/2025/admin/files/<%=id_cliente%>/<%=enlace%>" target="_blank"><%=enlace%></a></td>
					<td width="35">
					<a href="editc3.asp?id_contenido=<%=id_contenido%>">
					<img border="0" src="edit.png" width="30" height="30"></a></td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</div>
</body>

</html>