|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/logicswapweb/datasheets/guias/ |
Upload File : |
<?php
include('./aplicaciones/admon/fnc/DBConnect.php');
include('./aplicaciones/admon/fnc/componente.php');
include('./aplicaciones/admon/fnc/parametro.php');
include('./aplicaciones/admon/fnc/utileria.php');
include('./aplicaciones/admon/fnc/bitacora.php');
include('./aplicaciones/admon/fnc/aplicacion.php');
include('./aplicaciones/admon/newsletter/fnc/newsletter.php');
include('./aplicaciones/admon/usuariosWeb/fnc/usuarioWeb.php');
session_start('web_demo');
if(session_is_registered('usuarioWeb')){
//print_r($usuarioWeb->valores);
}
$seleccion = (array_key_exists('seleccion',$_REQUEST))? $_REQUEST['seleccion']:NULL;
$tarea = (array_key_exists('tarea',$_REQUEST))? $_REQUEST['tarea']:NULL;
$newsletter = new Newsletter();
$newsletter->setFiles(6);
$usuario = new UsuarioWeb();
$usuario->setFiles(6);
$bitacora = new BitacoraPanel();
$bitacora->setFiles(6);
$scriptFile = $usuario->util->pathFile(false);
$scriptFile .="actRegistro.php";
if($tarea=="actSubscripcion"){
$newsletter->modVinculoWeb($seleccion,"activo","sitio web");
$mensaje = $newsletter->salida['msg'];
$inf = explode("|",$seleccion);
$user=$usuario->getUsuario("email",$inf[1]);
$dt=$usuario->util->mascara($user['password']);
$enlace = "actRegistro.php?email=".$inf[1]."&data=".$dt;
}
if($tarea=="delSubscripcion"){
$newsletter->delSubscripcion($seleccion,"sitio web");
$mensaje = $newsletter->salida['msg'];
}
if($tarea=="delUsuarioWeb"){
//$seleccion = id|email|data
$inf = explode("|",$seleccion);
$user=$usuario->getUsuario("email",$inf[1]);
$dt=$usuario->util->mascara($user['password']);
if($dt=$inf[2]){
if($usuario->delUsuarioWeb($inf[0],"Sitio Web")){
$ms = $usuario->salida['msg'].$inf[1];
$bitacora->regOperacion("Usuarios Web","delUsuarioWeb($seleccion)",$usuario->salida['msg'],"Sitio Web");
$idn = $newsletter->getIdaplicacion("newsletter");//||temporalmente
$idv = $newsletter->getIdVinculoWeb($inf[0],$idn);//||temporalmente
$newsletter->delSubscripcion($idv."|".$inf[1],"Sitio Web");
//$catalogo->delSubscripcion($idv."|".$inf[1],"Sitio Web");
$mn = $newsletter->salida['msg'];
$mensaje = $ms."<br>".$mn;
}else{
$bitacora->regOperacion("Sitio Web","usuario->delUsuarioWeb($seleccion)",$usuario->salida['msg'],"Sitio Web");
$mensaje = $usuario->salida['msg'];
}
}else{
$mensaje = $newsletter->getMensaje("[141]","confirmacion");
}
}
?>
<html>
<head>
<title>Azul Digital S.A. - Website DEMO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/webdemo.css" rel="stylesheet" type="text/css">
<script src="js/validaciones.js" language="javascript"></script>
<script>
/*
*funcion logear
*descripcion verifica el login y password
* y redirecciona al archivo de cuenta
*/
function logear(frm,tarea){
frm.elements[2].value = tarea;
alert(document.frmLogin.tarea.value);
if(fncCheckFormRegistro(frm,0,1)){
document.frmLogin.submit();
}
}
</script>
<style type="text/css">
<!--
.style7 {font-size: 10px}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body><a name="top_page"></a>
<table width="790" height="720" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="396" rowspan="2"><img src="images/H_topLeft.jpg" width="396" height="163"></td>
<td colspan="3"><img src="images/H_topRight1.jpg" width="380" height="120"></td>
</tr>
<tr>
<td width="88" height="43" background="images/H_topRight2.jpg" class="newsletterTitle"> </td>
<td width="155" background="images/H_topRight2.jpg" class="fecha"> </td>
<td width="141" background="images/H_topRight2.jpg" class="fecha"> </td>
</tr>
</table> <br>
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="165" valign="top"><table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="images/H_menuLT.gif" width="10" height="26"></td>
<td colspan="2" align="center" background="images/H_menubgT.gif"><img src="images/H_B_menu_title.gif" width="116" height="26"></td>
<td width="16"><img src="images/H_menuRT.gif" width="10" height="26"></td>
</tr>
<tr>
<td background="images/H_menu_bgL.gif"> </td>
<td colspan="2" valign="top"><table width="133" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="17" valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td width="116" valign="middle" class="menu1">Newsletter</td>
</tr>
<tr>
<td valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td valign="middle" class="menu1">Noticias</td>
</tr>
<tr>
<td valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td valign="middle" class="menu1">Eventos</td>
</tr>
<tr>
<td valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td valign="middle" class="menu1">Encuestas</td>
</tr>
<tr>
<td valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td valign="middle" class="menu1">Foros</td>
</tr>
<tr>
<td valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td valign="middle" class="menu1">Documento</td>
</tr>
<tr>
<td valign="middle"><img src="images/H_vineta.gif" width="14" height="14"></td>
<td valign="middle" class="menu1">F.A.Q.</td>
</tr>
</table></td>
<td background="images/H_menu_bgR.gif"> </td>
</tr>
<tr>
<td><img src="images/H_menuLB.gif" width="10" height="26"></td>
<td colspan="2" background="images/H_menubg_B.gif"> </td>
<td><img src="images/H_menuRB.gif" width="10" height="26"></td>
</tr>
</table>
<br>
<table width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="images/H_menuLT.gif" width="10" height="26"></td>
<td align="center" background="images/H_menubgT.gif"><img src="images/H_B_encuesta.gif" width="116" height="26"></td>
<td width="16"><img src="images/H_menuRT.gif" width="10" height="26"></td>
</tr>
<tr>
<td background="images/H_menu_bgL.gif"> </td>
<td valign="middle" class="encuesta"><p>Qué tipo de productos compra usted por internet?</p>
<table width="130" height="15" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="42"> </td>
<td width="88"><input name="radiobutton" type="radio" value="radiobutton">
<span class="contenido1">Música </span><br>
<input name="radiobutton" type="radio" value="radiobutton">
<span class="contenido1"> Regalos
</span><br>
<input name="radiobutton" type="radio" value="radiobutton">
<span class="contenido1"> Ropa</span><br>
<input name="radiobutton" type="radio" value="radiobutton">
<span class="contenido1"> Tecnología</span></td>
</tr>
<tr>
<td colspan="2"><div align="right">ver resultados </div></td>
</tr>
<tr>
<td colspan="2"> <div align="right">votaciones anteriores </div></td>
</tr>
</table> <p><br>
</p></td>
<td background="images/H_menu_bgR.gif"> </td>
</tr>
<tr>
<td><img src="images/H_menuLB.gif" width="10" height="26"></td>
<td background="images/H_menubg_B.gif"> </td>
<td><img src="images/H_menuRB.gif" width="10" height="26"></td>
</tr>
</table>
<p> </p></td>
<td width="395" align="center" valign="top"><table width="395" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="29"><img src="images/N_relCornerLTop.jpg" width="29" height="49"></td>
<td width="200" background="images/N_relCorner_BG1Top.jpg" class="newsletterTitle">Realiza tu Registro!</td>
<td width="29"><img src="images/N_relCornerMTop.jpg" width="29" height="49"></td>
<td width="213" background="images/N_relCorner_BG2Top.jpg"> </td>
<td width="29"><img src="images/N_relCornerRTop.jpg" width="29" height="49"></td>
</tr>
<tr>
<td background="images/N_relBGLeftV.jpg"> </td>
<td colspan="3" align="center">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" class="contenido1"><div align="justify"><?=$mensaje?></div>
</td>
</tr>
<?php if ($tarea=="actSubscripcion"){?>
<tr>
<td align="left" valign="top" class="contenido1"><div align="center"><strong><a href="<?=$enlace?>" target="_self">Verifique su información en este enlace</a></strong></div>
</td>
</tr>
<?php }?>
</table>
</td>
<td background="images/N_relBGRightV.jpg"> </td>
</tr>
<tr>
<td height="31"><img src="images/N_relCornerLBottom.jpg" width="29" height="31"></td>
<td background="images/N_relCorner_BG1Bottom.jpg"> </td>
<td><img src="images/N_relCornerMBottom.jpg" width="29" height="31"></td>
<td align="right" background="images/N_relCorner_BG2Bottom.jpg" class="fecha"> </td>
<td><img src="images/N_relCornerRBottom.jpg" width="29" height="31"></td>
</tr>
</table> </td>
<td width="16" align="center" valign="top"><img src="images/comodin.gif" width="12" height="12"></td>
<td width="202" valign="top">
<table width="202" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"><img src="images/H_menuLT.gif" width="10" height="26"></td>
<td colspan="2" align="center" background="images/H_menubgT.gif"><img src="images/H_B_Login_title.gif" width="163" height="26"></td>
<td width="10"><img src="images/H_menuRT.gif" width="10" height="26"></td>
</tr>
<tr>
<td background="images/H_menu_bgL.gif"> </td>
<td colspan="2" valign="middle"><table width="174" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><div align="center">
<form name="frmLogin" method="post" onSubmit="return fncCheckFormRegistro(this,0,1);" action="fnc/main.php">
<table width="170" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="contenido2"><div align="left">Login:</div></td>
<td class="contenido2">
<div align="right">
<input name="login" id="login" type="text" class="contenido1" size="18" maxlength="30">
</div></td>
</tr>
<tr>
<td width="66" class="contenido2"><div align="left">Password:</div></td>
<td width="104" class="contenido2">
<div align="right">
<input name="password" type="password" class="contenido1" id="password" size="18" maxlength="20">
</div></td>
</tr>
<tr>
<td colspan="2" class="contenido2"><div align="center"><span class="fecha">
<input type="hidden" name="tarea" value="ingresar">
<input name="entrar" id="entrar" onClick="javascript: logear(document.frmLogin,'ingresar')" type="button" class="contenido2" value="Entrar">
<input name="Submit322" type="button" onClick="javascript: logear(document.frmLogin,'miCuenta')" class="contenido2" value="Mi cuenta" alt="permite modificar los datos que hayas ingresado al momento que realizaste tu registro!">
</span></div></td>
</tr>
</table>
<table width="170" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="menu1"><div align="center"><a href="actRegistro.php?data=novalue&email=novalue" class="menu1">Recuperar Información!</a></div></td>
</tr>
<tr>
<td class="menu1"><div align="justify">
<p><span class="contenido2"> Registrate</span> <a href="addRegistro.php">Aquí</a> <span class="contenido2">para recibir tu login y password <span class="style1"><span class="contenido2">de acceso. Nos reservamos el derecho de otorgar acceso a los usuarios que se registren.</span></span></span></p>
</div></td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
<br></td>
<td background="images/H_menu_bgR.gif"> </td>
</tr>
<tr>
<td><img src="images/H_menuLB.gif" width="10" height="26"></td>
<td colspan="2" background="images/H_menubg_B.gif"> </td>
<td><img src="images/H_menuRB.gif" width="10" height="26"></td>
</tr>
</table><br>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"><img src="images/H_menuLT.gif" width="10" height="26"></td>
<td colspan="2" align="center" background="images/H_menubgT.gif"><img src="images/H_B_catalogo_title.gif" width="163" height="26"></td>
<td width="10"><img src="images/H_menuRT.gif" width="10" height="26"></td>
</tr>
<tr>
<td background="images/H_menu_bgL.gif"> </td>
<td colspan="2" valign="middle"><br> <table width="181" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="181" align="center"><select name="select" class="contenido1">
<option selected>Seleccione categoría</option>
</select></td>
</tr>
<tr>
<td align="center" class="titulo"><br>
Buscar por referencia </td>
</tr>
<tr>
<td align="center" class="titulo"><input name="textfield" type="text" class="contenido1"></td>
</tr>
<tr>
<td align="center" class="titulo"><br>
<input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
<br>
<div align="center" class="newsletterTitle">
<table width="159" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="84"><p> </p>
<p> </p></td>
<td width="84"> </td>
</tr>
</table>
<span class="menu1">Nuevo</span><br>
<br>
<table width="159" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td width="84"><p> </p>
<p> </p></td>
<td width="84"> </td>
</tr>
</table>
<p><span class="menu1">Promoción</span><br>
</p>
<p class="style7"> </p>
</div></td>
<td background="images/H_menu_bgR.gif"> </td>
</tr>
<tr>
<td><img src="images/H_menuLB.gif" width="10" height="26"></td>
<td colspan="2" background="images/H_menubg_B.gif"> </td>
<td><img src="images/H_menuRB.gif" width="10" height="26"></td>
</tr>
</table>
<table width="202" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"><img src="images/H_menuLT.gif" width="10" height="26"></td>
<td colspan="2" align="center" background="images/H_menubgT.gif"><img src="images/H_B_newsletter_title.gif" width="163" height="26"></td>
<td width="10"><img src="images/H_menuRT.gif" width="10" height="26"></td>
</tr>
<tr>
<td background="images/H_menu_bgL.gif"> </td>
<td colspan="2" valign="middle"><table width="174" height="121" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="121" valign="top"><div align="center"><form name="frmNewsletter" method="post" onSubmit="return fncCheckFormNews(false);" action="fnc/main.php?tarea=addVinculo" target="_fraUsr">
<br>
<table width="167" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35" valign="middle" class="newsletter">e-mail:</td>
<td width="132" class="newsletter">
<input name="email" id="email" type="text" class="newsletter" size="13" maxlength="50">
<input name="enviarN" type="submit" class="contenido2" value="Enviar" style="width:43px ">
<input type="hidden" name="temas" value=""></td>
</tr>
<tr>
<td colspan="2" class="menu1"><div align="left" class="encuesta">Que información desea recibir </div></td>
</tr>
</table>
<?php $newsletter->showListTemasCol("145px","167px","contenido2",false,1,"Sitio Web"); ?>
</form>
</div></td>
</tr>
</table> <br></td>
<td background="images/H_menu_bgR.gif"> </td>
</tr>
<tr>
<td><img src="images/H_menuLB.gif" width="10" height="26"></td>
<td colspan="2" background="images/H_menubg_B.gif"> </td>
<td><img src="images/H_menuRB.gif" width="10" height="26"></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<br>
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="19"><img src="images/bottomRibRight.jpg" width="19" height="43"></td>
<td width="742" align="center" background="images/bottomRibBg.jpg"><img src="images/waterMark5.gif" width="80" height="28"></td>
<td width="19"><img src="images/bottomRibLeft.jpg" width="19" height="43"></td>
</tr>
</table> </td>
</tr>
</table>
<iframe name="_fraUsr" id="_fraUsr" src="" width="0" height="0"></iframe>
</body>
</html>