diff --git a/config.php b/config.php index eb95a2d..537d370 100644 --- a/config.php +++ b/config.php @@ -1,13 +1,13 @@ last_login; } }else{ - $_SESSION[redirect] = "$base_dir/login.php?errorlogin=1"; + $_SESSION[redirect] = "login.php?errorlogin=1"; } } diff --git a/smpl_sec_header.php b/generate_header.php similarity index 100% rename from smpl_sec_header.php rename to generate_header.php diff --git a/img/fondo-contenido.jpg b/img/fondo-contenido.jpg new file mode 100644 index 0000000..88f5acf Binary files /dev/null and b/img/fondo-contenido.jpg differ diff --git a/install/install.html b/install/install.html index f064245..2771aa3 100644 --- a/install/install.html +++ b/install/install.html @@ -1,17 +1,10 @@ - - - - - Login - Redirect Installation - - diff --git a/jardines/plantilla/index.html b/jardines/plantilla/fotos-jardin-plantas.php similarity index 62% rename from jardines/plantilla/index.html rename to jardines/plantilla/fotos-jardin-plantas.php index 4040f29..acdfa31 100644 --- a/jardines/plantilla/index.html +++ b/jardines/plantilla/fotos-jardin-plantas.php @@ -1,3 +1,21 @@ + + @@ -26,16 +44,22 @@

pronostico del tiempo Suesa

-
- lkajlka sjdaldjaljdlajsdlj -
+
+ Lista de plantas / Fotos del jardín y las plantas +

+

Fotos del jardín y las plantas

+

+

+

+
+
diff --git a/jardines/plantilla/fotos/1.jpg b/jardines/plantilla/fotos/1.jpg new file mode 100644 index 0000000..5c5ccb4 Binary files /dev/null and b/jardines/plantilla/fotos/1.jpg differ diff --git a/jardines/plantilla/fotos/2.jpg b/jardines/plantilla/fotos/2.jpg new file mode 100644 index 0000000..8504bfb Binary files /dev/null and b/jardines/plantilla/fotos/2.jpg differ diff --git a/jardines/plantilla/fotos/3.jpg b/jardines/plantilla/fotos/3.jpg new file mode 100644 index 0000000..bc22830 Binary files /dev/null and b/jardines/plantilla/fotos/3.jpg differ diff --git a/jardines/plantilla/fotos/4.jpg b/jardines/plantilla/fotos/4.jpg new file mode 100644 index 0000000..d3c7198 Binary files /dev/null and b/jardines/plantilla/fotos/4.jpg differ diff --git a/jardines/plantilla/index.php b/jardines/plantilla/index.php new file mode 100644 index 0000000..01a2bf1 --- /dev/null +++ b/jardines/plantilla/index.php @@ -0,0 +1,68 @@ + + + + + + + + Jardín Pedreña - La Factoría Verde + + + + +
+ +
+ + +
+
+ Lista de plantas / Fotos del jardín y las plantas +

 

+

Especies:

+ +
+ +
+ + diff --git a/logout.php b/logout.php index 713ddd5..aca481d 100644 --- a/logout.php +++ b/logout.php @@ -2,10 +2,12 @@ include ("config.php"); //destroys the session, the variables are not longer set session_start(); +session_unset(); session_destroy(); +$_SESSION = array(); ?> - + diff --git a/redirect.php b/redirect.php index 8cd3b62..94e85be 100644 --- a/redirect.php +++ b/redirect.php @@ -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") { diff --git a/reset.css b/reset.css index 1c85489..516fdda 100644 --- a/reset.css +++ b/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; + } \ No newline at end of file