Muchos cambios
git-svn-id: https://192.168.0.254/svn/Proyectos.LaFactoriaVerde_Web/trunk@6 017afc1c-778d-45dc-8efe-cc7a6876851a
This commit is contained in:
parent
26b73c5692
commit
50caa1342d
10
config.php
10
config.php
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
//set up the names of the database and table
|
||||
$db_name ="factoria";
|
||||
$db_name ="dqxjaadh_factoriaverde";
|
||||
$table_name ="authorize";
|
||||
|
||||
//connect to the server and select the database
|
||||
$server = "localhost";
|
||||
$dbusername = "factoria";
|
||||
$dbpassword = "123";
|
||||
$dbusername = "dqxjaadh_factori";
|
||||
$dbpassword = "q3gm78v69f";
|
||||
|
||||
//domain information
|
||||
$domain = "localhost";
|
||||
@ -16,7 +16,7 @@ $domain = "localhost";
|
||||
$log_login = "1";
|
||||
|
||||
//base_dir is the location of the files, ie http://www.yourdomain/login
|
||||
$base_dir = "http://localhost";
|
||||
$base_dir = "http://www.rodax-software.com/lafactoriaverde.es";
|
||||
|
||||
//length of time the cookie is good for - 7 is the days and 24 is the hours
|
||||
//if you would like the time to be short, say 1 hour, change to 60*60*1
|
||||
@ -33,7 +33,7 @@ $zone=3600*+1;
|
||||
$verify = "0";
|
||||
|
||||
//default redirect, this is the URL that all self-registered users will be redirected to
|
||||
$default_url = "http://localhost/";
|
||||
$default_url = "http://www.rodax-software.com/lafactoriaverde.es/";
|
||||
|
||||
//minimum and maximum password lengths
|
||||
$min_pass = 4;
|
||||
|
||||
41
estilos.css
41
estilos.css
@ -4,12 +4,31 @@
|
||||
html, body {
|
||||
height: 100%;
|
||||
font-family: Verdana, Geneva, sans-serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
input {
|
||||
font-family: Verdana, Geneva, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #f95403;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
padding-left: 15px;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin: 10px 0 5px 0;
|
||||
}
|
||||
|
||||
#layout {
|
||||
width: 1024px;
|
||||
height: 550px;
|
||||
@ -45,6 +64,7 @@ input {
|
||||
background: url("img/texto-telefono.gif") no-repeat;
|
||||
width: 125px;
|
||||
height: 0;
|
||||
margin: 0;
|
||||
padding: 17px 0 0 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
@ -70,17 +90,28 @@ input {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 32px;
|
||||
width: 762px;
|
||||
height: 518px;
|
||||
width: 727px;
|
||||
height: 498px;
|
||||
background-color: #b6cfa0;
|
||||
padding: 10px 15px 10px 20px;
|
||||
color: #003300;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
#content a {
|
||||
color: #003300;
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
|
||||
#menu {
|
||||
margin-top: 88px;
|
||||
margin-left: 30px;
|
||||
width: 200px;
|
||||
}
|
||||
#menu ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
@ -94,7 +125,7 @@ input {
|
||||
|
||||
#menu a {
|
||||
text-decoration: none;
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#menu a.presentacion {
|
||||
@ -189,6 +220,7 @@ input {
|
||||
|
||||
#content.inicio {
|
||||
background: url('img/fondo-inicio.jpg') no-repeat;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.error {
|
||||
@ -204,4 +236,5 @@ input {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -38,7 +38,7 @@ function sess_vars($base_dir, $server, $dbusername, $dbpassword, $db_name, $tabl
|
||||
$_SESSION[last_login] = $sql -> last_login;
|
||||
}
|
||||
}else{
|
||||
$_SESSION[redirect] = "$base_dir/login.php?errorlogin=1";
|
||||
$_SESSION[redirect] = "login.php?errorlogin=1";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
BIN
img/fondo-contenido.jpg
Normal file
BIN
img/fondo-contenido.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
@ -1,17 +1,10 @@
|
||||
<html>
|
||||
|
||||
|
||||
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
|
||||
<title>Login - Redirect Installation</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,21 @@
|
||||
<?php
|
||||
|
||||
//prevents caching
|
||||
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
header("Cache-Control: post-check=0, pre-check=0",false);
|
||||
session_cache_limiter();
|
||||
session_start();
|
||||
require('/home/dqxjaadh/public_html/lafactoriaverde.es/config.php');
|
||||
require('/home/dqxjaadh/public_html/lafactoriaverde.es/functions.php');
|
||||
|
||||
if (allow_access(casona) != "yes")
|
||||
{
|
||||
include ('/home/dqxjaadh/public_html/lafactoriaverde.es/check_login.php');
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
@ -26,16 +44,22 @@
|
||||
</div>
|
||||
<br/>
|
||||
<ul>
|
||||
<li><a href="http://www.rodax-software.com/lafactoriaverde.es/logout.php" target="_self">Salir</a></li>
|
||||
<li><a href="http://www.rodax-software.com/lafactoriaverde.es/logout.php" target="_self"><strong>SALIR</strong></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="eltiempo">
|
||||
<div id="c_e2925a77fd1823c9b93e15c65cf26e53" class="normal"><h2 style="color: #000000; margin: 0 0 3px; padding: 2px; font: bold 13px/1.2 Verdana; text-align: center;"><a href="http://www.eltiempo.es/suesa.html" style="color: #000000; text-decoration: none;">pronostico del tiempo Suesa</a></h2></div><script type="text/javascript" src="http://www.eltiempo.es/widget/widget_loader/e2925a77fd1823c9b93e15c65cf26e53"></script>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content">
|
||||
lkajlka sjdaldjaljdlajsdlj
|
||||
</div>
|
||||
<div id="content" style="background: url(http://www.rodax-software.com/lafactoriaverde.es/img/fondo-contenido.jpg) top left no-repeat;">
|
||||
<a href="index.php">Lista de plantas</a> / <strong>Fotos del jardín y las plantas</strong>
|
||||
<br/><br/>
|
||||
<h2>Fotos del jardín y las plantas</h2>
|
||||
<img src="fotos/1.jpg" width="680"/><br/><br/>
|
||||
<img src="fotos/2.jpg" width="680"/><br/><br/>
|
||||
<img src="fotos/3.jpg" width="680"/><br/><br/>
|
||||
<img src="fotos/4.jpg" width="680"/><br/>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<a href="mailto:agapanto@lafactoriaverde.es"><img src="http://rodax-software.com/lafactoriaverde.es/img/texto-email.gif" alt="agapanto@lafactoriaverde.es"/></a>
|
||||
</div>
|
||||
BIN
jardines/plantilla/fotos/1.jpg
Normal file
BIN
jardines/plantilla/fotos/1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
BIN
jardines/plantilla/fotos/2.jpg
Normal file
BIN
jardines/plantilla/fotos/2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 444 KiB |
BIN
jardines/plantilla/fotos/3.jpg
Normal file
BIN
jardines/plantilla/fotos/3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 223 KiB |
BIN
jardines/plantilla/fotos/4.jpg
Normal file
BIN
jardines/plantilla/fotos/4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 484 KiB |
68
jardines/plantilla/index.php
Normal file
68
jardines/plantilla/index.php
Normal file
@ -0,0 +1,68 @@
|
||||
<?php
|
||||
|
||||
//prevents caching
|
||||
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
header("Cache-Control: post-check=0, pre-check=0",false);
|
||||
session_cache_limiter();
|
||||
session_start();
|
||||
require('/home/dqxjaadh/public_html/lafactoriaverde.es/config.php');
|
||||
require('/home/dqxjaadh/public_html/lafactoriaverde.es/functions.php');
|
||||
|
||||
if (allow_access(casona) != "yes")
|
||||
{
|
||||
include ('/home/dqxjaadh/public_html/lafactoriaverde.es/check_login.php');
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="es-ES" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Jardín Pedreña - La Factoría Verde</title>
|
||||
<link rel="stylesheet" href="http://www.rodax-software.com/lafactoriaverde.es/estilos.css" type="text/css" media="all" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="layout">
|
||||
<div id="header">
|
||||
<h2>Mantenimiento de jardines, podas, diseño y riego en Cantabria</h2>
|
||||
<h3>Teléfono: 678 71 72 85</h3>
|
||||
</div>
|
||||
<div id="aside">
|
||||
<div id="menu">
|
||||
<div id="datos-cliente">
|
||||
<p>Hola Luis y Paloma<br/><br/>
|
||||
<strong>Cliente:</strong><br/>
|
||||
Luis y Paloma<br/><br/>
|
||||
<strong>Ubicación:</strong><br/>
|
||||
Jardín Pedreña<br/><br/>
|
||||
<strong>GPS:</strong><br/>
|
||||
30º 40' 45"<br/></p>
|
||||
</div>
|
||||
<br/>
|
||||
<ul>
|
||||
<li><a href="http://www.rodax-software.com/lafactoriaverde.es/logout.php" target="_self"><strong>SALIR</strong></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="eltiempo">
|
||||
<div id="c_e2925a77fd1823c9b93e15c65cf26e53" class="normal"><h2 style="color: #000000; margin: 0 0 3px; padding: 2px; font: bold 13px/1.2 Verdana; text-align: center;"><a href="http://www.eltiempo.es/suesa.html" style="color: #000000; text-decoration: none;">pronostico del tiempo Suesa</a></h2></div><script type="text/javascript" src="http://www.eltiempo.es/widget/widget_loader/e2925a77fd1823c9b93e15c65cf26e53"></script>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content" style="background: url(http://www.rodax-software.com/lafactoriaverde.es/img/fondo-contenido.jpg) top left no-repeat;">
|
||||
<strong>Lista de plantas</strong> / <a href="fotos-jardin-plantas.php">Fotos del jardín y las plantas</a>
|
||||
<h2> </h2>
|
||||
<h2>Especies:</h2>
|
||||
<ul>
|
||||
<li><a href="http://fichas.infojardin.com/rosas/rosa-canina-escaramujo-rosal-perruno-zarzarrosa.htm" target="_blank"><strong>Rosales</strong></a> (rosae)</li>
|
||||
<li><a href="http://fichas.infojardin.com/rosas/rosa-canina-escaramujo-rosal-perruno-zarzarrosa.htm" target="_blank"><strong>Acacia de constantinopla</strong></a> (Albizia julibrissin)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<a href="mailto:agapanto@lafactoriaverde.es"><img src="http://rodax-software.com/lafactoriaverde.es/img/texto-email.gif" alt="agapanto@lafactoriaverde.es"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@ -2,10 +2,12 @@
|
||||
include ("config.php");
|
||||
//destroys the session, the variables are not longer set
|
||||
session_start();
|
||||
session_unset();
|
||||
session_destroy();
|
||||
$_SESSION = array();
|
||||
?>
|
||||
<html>
|
||||
<meta http-equiv="refresh" content="0;url=http://www<?php echo $domain; ?>">
|
||||
<meta http-equiv="refresh" content="0;url=<?php echo $base_dir; ?>/index.php">
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
@ -31,11 +31,11 @@ if ((strlen($username) == 0) || (strlen($password) == 0))
|
||||
}
|
||||
|
||||
//sets cookies to remember this computer if the user asks to
|
||||
if ($_POST[remember] == "Yes")
|
||||
/*if ($_POST[remember] == "Yes")
|
||||
{
|
||||
setcookie("lr_user", $username, $duration, "/", $domain);
|
||||
setcookie("lr_pass", $password, $duration, "/", $domain);
|
||||
}
|
||||
}*/
|
||||
|
||||
if ($_POST[activate] == "Yes")
|
||||
{
|
||||
|
||||
58
reset.css
58
reset.css
@ -1,53 +1,5 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/ */
|
||||
/* v1.0 | 20080212 */
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-size: 100%;
|
||||
vertical-align: baseline;
|
||||
background: transparent;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
/* remember to define focus styles! */
|
||||
:focus {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* remember to highlight inserts somehow! */
|
||||
ins {
|
||||
text-decoration: none;
|
||||
}
|
||||
del {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
/* tables still need 'cellspacing="0"' in the markup */
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user