$_SESSION['isLoged']='isLoged';
header("Location:micuenta.php"); ?>
<?php
/*
This script was downloaded at:
LightPHPScripts.com
Please support us by visiting
out website and letting people
know of it.
Produced under: LGPL
*/
/* Start session */
/* Config file */
include('config.php');
/* Check for submition */
if($_POST['submitID'] == 1){
/* Connect to database */
if($connectDatabase == TRUE){$action=TRUE;include('connect.php');}
/* sanitize and check info */
if($userName == NULL) { $message = 'Por favor ingrese nombre de usuario.';}
if($message == NULL && $password == NULL){ $message = 'Por favor, introduzca la Clave.';}
if($message == NULL)
{
" WHERE `" . $userNameField . "`='$userName' AND `" . $userPasswordField . "`='$password'"));
/* If usercount is more than 0 -> ok */
if($userQuery[0] > 0){
/* Disconnect from database */
if($connectDatabase == TRUE){$action=FALSE;include('connect.php');}
$_SESSION['isLoged'] = 'yes';
$_SESSION['userName'] = $userName;
/* add cookies ?*/
/* expire in 1 hour */
if($useCookies == TRUE)
{
setcookie("isLoged", 'yes', time()+logedInFor
, "/", ".$domainName", 1); setcookie("userName", $userName, time()+logedInFor
, "/", ".$domainName", 1); }
/* Redirect to login page */
header("Location:$loginPage"); } else {
$message = 'No válido nombre de usuario y / o Clave!';
}
}
/* Disconnect from database */
if($connectDatabase == TRUE){$action=FALSE;include('connect.php');}
}
?><style type="text/css">
<!--
#Layer8 {
position:absolute;
left:510px;
top:220px;
width:100px;
height:300px;
z-index:1;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #0099CC;
}
#Layer9 {
position:absolute;
left:200px;
top:500px;
width:900px;
height:50px;
z-index:1;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #0099FF;
border-top-width: thin;
border-top-style: dashed;
border-top-color: #3399FF;
}
#Layer10 {
position:absolute;
left:34px;
top:257px;
width:49px;
height:18px;
z-index:1;
}
-->
</style>
<div id="Layer8">
<!--
/*
This script was downloaded at:
LightPHPScripts.com
Please support us by visiting
out website and letting people
know of it.
Produced under: LGPL
*/
-->
<?php
/* Display error messages */
if($message != NULL){?>
<div align="center">
<table width="250" border="0" cellpadding="3" cellspacing="0" bgcolor="#FFCCCC">
<tr>
<td><div align="center"><strong><font color="#FF0000"><?=$message;?></font></strong></div></td>
</tr>
</table>
<?php } ?><form action="<? echo $_SERVER['PHP_SELF'];?>" method="post" name="login" id="login" style="display:inline;">
<table width="250" align="center" cellpadding="5" cellspacing="0">
<tr bgcolor="#99CC99">
<td colspan="2" bgcolor="B3D9EC"><div align="center"><font color="#FFFFFF"><strong>Validación de Usuario y Clave:</strong></font></div></td>
</tr>
<tr>
<td width="47%"><strong>Usuario:</strong></td>
<td width="53%"><input name="userName" type="text" id="userName"></td>
</tr>
<tr>
<td><strong>Clave:</strong></td>
<td><input name="password" type="password" id="password"></td>
</tr>
<tr>
<td colspan="2"><div align="center"><font face="Georgia, Times New Roman, Times, serif"><strong>
<input name="Submit" type="submit" id="Submit" value="Ingresar"> <a href="register.php">Registrarme</a>
<input name="submitID" type="hidden" id="submitID" value="1">
</strong></font> </div></td>
</tr>
<tr>
<td colspan="2"><div align="center">Compartilo <a href="http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fofertasdiarias.net%2F&t="><img src="imagenes/facebook.gif" alt="2" width="16" height="16" border="0" /></a> <a href="https://www.google.com/accounts/ServiceLogin?passive=1209600&continue=https%3A%2F%2Fwww.google.com%2Fbookmarks%2Fmark%3Fop%3Dedit%26bkmk%3Dhttp%253A%252F%252Fofertasdiarias.net%252F&hl=es"><img src="imagenes/google.gif" alt="3" width="16" height="16" border="0" /></a> <a href="http://twitter.com/?status=Hoy - Ofertasdiarias Comprar y vender http%3A//ofertasdiarias.net/"><img src="twitter.gif" alt="4" width="16" height="16" border="0" /></a> <a href="https://secure.delicious.com/login?jump=http%3A%2F%2Fwww.delicious.com%2Fsave%3Furl%3Dhttp%253A%252F%252Fofertasdiarias.net%252F%26title%3DHoy%2520-%2520Ofertasdiarias%2520Comprar%2520y%2520vender%26notes%3D%26tags%3D%26noui%3Dno%26jump%3Dyes%26time%3D1306946854%26share%3Dyes%26recipients%3D&v=5"><img src="imagenes/delicious.gif" alt="1" width="16" height="16" border="0" /></a></div></td>
</tr>
</table>
</form>
</div>
</div>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/estilos.css" rel="stylesheet" type="text/css" />
<title> OfertasDiarias.net en Español</title>
<style type="text/css">
<!--
#Layer2 {
position:absolute;
left:200px;
top:21px;
width:60px;
height:42px;
z-index:1;
}
#Layer3 {
position:absolute;
left:818px;
top:7px;
width:300px;
height:42px;
z-index:1;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #0099CC;
}
#Layer4 {
position:absolute;
left:550px;
top:50px;
width:350px;
height:50px;
z-index:1;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: normal;
color: #0099CC;
}
#Layer5 {
position:absolute;
left:900px;
top:53px;
width:50px;
height:25px;
z-index:1;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #0066FF;
}
#Layer6 {
position:absolute;
left:500px;
top:33px;
width:600px;
height:60px;
z-index:1;
background-color: #95E3F4;
border-top-width: thin;
border-top-style: dashed;
border-top-color: #00CCCC;
}
#Layer7 {
position:absolute;
left:818px;
top:98px;
width:300px;
height:25px;
z-index:1;
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #0099CC;
}
-->
</style>
</head>
<body>
<div id="Layer9"></div>
<div id="Layer7"> ¿Te Gusta Ofertas ? Compartilo <a href="http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fofertasdiarias.net%2F&t="><img src="imagenes/facebook.gif" width="16" height="16" border="0" /></a> <a href="https://www.google.com/accounts/ServiceLogin?passive=1209600&continue=https%3A%2F%2Fwww.google.com%2Fbookmarks%2Fmark%3Fop%3Dedit%26bkmk%3Dhttp%253A%252F%252Fofertasdiarias.net%252F&hl=es"><img src="imagenes/google.gif" width="16" height="16" border="0" /></a> <a href="http://twitter.com/?status=Hoy - Ofertasdiarias Comprar y vender http%3A//ofertasdiarias.net/"><img src="twitter.gif" width="16" height="16" border="0" /></a> <a href="https://secure.delicious.com/login?jump=http%3A%2F%2Fwww.delicious.com%2Fsave%3Furl%3Dhttp%253A%252F%252Fofertasdiarias.net%252F%26title%3DHoy%2520-%2520Ofertasdiarias%2520Comprar%2520y%2520vender%26notes%3D%26tags%3D%26noui%3Dno%26jump%3Dyes%26time%3D1306946854%26share%3Dyes%26recipients%3D&v=5"><img src="imagenes/delicious.gif" width="16" height="16" border="0" /></a> </div>
<div id="Layer6"></div>
<div id="Layer5"><a href="login.php">Entrar</a></div>
<div id="Layer4">
<form id="form1" name="form1" method="post" action="buscar.php">
<input name="textfield" type="text" size="40" />
<input type="submit" name="Submit" value="Buscar" />
</form>
</div>
<div id="Layer3"> <a href="index.php">Inicio</a> | <a href="register.php">Regístrate</a> | <a href="micuenta.php">Mi Cuenta</a> | <a href="ayuda.php">Ayuda</a> | <a href="mapa.php">Mapa</a> </div>
<div id="Layer2"><a href="index.php"><img src="imagenes/logo.png" width="300" height="80" border="0" /></a></div>
</body>
</html>