diff --git a/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a.xml b/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a.xml index e205561..7bba1c3 100644 --- a/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a.xml +++ b/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a.xml @@ -1003,241 +1003,249 @@
- + + 74 + procedure + + 71 procedure - + 187 procedure - + 61 procedure - + 96 procedure - + 29 procedure - + 39 procedure - + 1 int(11)|0s 1 1 normal - + 2 varchar(255)|0s normal - + 3 varchar(255)|0s normal - + 4 varchar(255)|0s normal - + 5 varchar(255)|0s normal - + 6 varchar(255)|0s normal - + 7 int(11)|0s normal - + 8 varchar(60)|0s normal - + 9 int(11)|0s normal - + 10 varchar(200)|0s normal - + 11 varchar(500)|0s normal - + 12 varchar(250)|0s normal - + tipo btree - + 1 id_libro 1 - + tipo portal_editorial tipo_venta id_tipo - + 1 int(11)|0s 1 1 normal - + 2 varchar(255)|0s normal - + 3 varchar(10)|0s normal - + 4 int(11)|0s normal - + 5 varchar(10)|0s normal - + 1 id_menu 1 - + 1 int(11)|0s 1 1 normal - + 2 varchar(255)|0s normal - + 1 id_tipo 1 - + 1 int(11)|0s 1 1 normal - + 2 varchar(255)|0s normal - + 3 varchar(255)|0s normal - + 4 varchar(255)|0s normal - + 5 varchar(20)|0s normal - + 1 id_usuario 1 - + 1 varchar(150)|0s - + 1 varchar(150)|0s - + + 1 + varchar(150)|0s + + 2 varchar(150)|0s - + 3 varchar(150)|0s - + 4 varchar(150)|0s - + 5 varchar(150)|0s - + 6 int(5)|0s - + 7 varchar(150)|0s - + 8 int(2)|0s - + 9 varchar(150)|0s - + 10 varchar(500)|0s - + 11 varchar(250)|0s - + 1 varchar(45)|0s - + 2 varchar(45)|0s diff --git a/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a/storage_v2/_src_/schema/portal_editorial.tE3KQQ.zip b/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a/storage_v2/_src_/schema/portal_editorial.tE3KQQ.zip index 1b63c7f..1839e57 100644 Binary files a/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a/storage_v2/_src_/schema/portal_editorial.tE3KQQ.zip and b/.idea/dataSources/d62f74f5-c7c9-4ba7-ad88-76b19837ba3a/storage_v2/_src_/schema/portal_editorial.tE3KQQ.zip differ diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 723df61..bfa5b1f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,31 +5,22 @@ - - - - - - + - + - + - - - - - - - + - - + + + - + + - - - - - - - - - - - + + - + - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - + + + + + + @@ -1947,22 +88,17 @@ - - - - - - - + + - + - - + + @@ -1970,17 +106,20 @@ - - + + + + + - + - - + + @@ -1998,7 +137,6 @@ nav-lin - carr inici inic show @@ -2017,6 +155,11 @@ inser img nove + #pol + ormato + carr + ca + car @@ -2035,18 +178,13 @@ @@ -2088,27 +232,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/componentes/novedades.php b/componentes/novedades.php index be6345e..c352954 100644 --- a/componentes/novedades.php +++ b/componentes/novedades.php @@ -20,37 +20,15 @@


"; $i=0; - for(;$i<4;$i++) { - echo " -
- - Responsive image - -
-
- "; - } echo"
-

-
- " ; - for(;$i<8;$i++) { - echo " -
- - Responsive image - -
-
"; - } - echo"
-

+
"; for(;$i +
- Responsive image + Responsive image +

diff --git a/componentes/similares.php b/componentes/similares.php index fdf61e7..56d9821 100644 --- a/componentes/similares.php +++ b/componentes/similares.php @@ -25,47 +25,24 @@ else{

Novedades Semestrales




-
+
+ + +
+ Responsive image + +
+
+ +
+

+ - -
- Responsive image - -
-
-


-
- - -
- Responsive image - -
-
- -
-

-
- - -
- Responsive image - -
-
- -
\ No newline at end of file diff --git a/funciones/carga.php b/funciones/carga.php index 348ca56..818601f 100644 --- a/funciones/carga.php +++ b/funciones/carga.php @@ -135,7 +135,7 @@ if(isset($_POST["enviar"])){ echo "no se inserto
"; } } - header("Location: ../index.php"); + header("Location: ../funciones/destroy.php"); //echo "listo"; } diff --git a/img/carrusel/1.jpg b/img/carrusel/1.jpg index 2b87a39..4111ae6 100644 Binary files a/img/carrusel/1.jpg and b/img/carrusel/1.jpg differ diff --git a/img/carrusel/2.jpg b/img/carrusel/2.jpg deleted file mode 100644 index ebfc8ce..0000000 Binary files a/img/carrusel/2.jpg and /dev/null differ diff --git a/img/carrusel/3.jpg b/img/carrusel/3.jpg deleted file mode 100644 index 0f995da..0000000 Binary files a/img/carrusel/3.jpg and /dev/null differ diff --git a/img/header/unam.jpg b/img/header/unam.jpg new file mode 100644 index 0000000..abd3c72 Binary files /dev/null and b/img/header/unam.jpg differ diff --git a/index.php b/index.php index 6f133a3..7a3d91f 100644 --- a/index.php +++ b/index.php @@ -2,9 +2,9 @@ error_reporting(E_ERROR | E_PARSE); header('Content-Type: text/html; charset=utf8'); include("componentes/header.php"); +echo "
"; include("componentes/carrusel.php"); echo "

"; include("componentes/novedades.php"); include ("componentes/socialmedia.php"); -echo "


"; include("componentes/footer.php"); diff --git a/pagina/categoria.php b/pagina/categoria.php new file mode 100644 index 0000000..b9e7ab8 --- /dev/null +++ b/pagina/categoria.php @@ -0,0 +1,174 @@ +query($sentencia); + + if($resultado->rowCount() > 0){ + $i=0; + + while($fila = $resultado->fetch(PDO::FETCH_ASSOC)) + { + $data[$i] = $fila; + $i++; + } + + } + else{ + echo "No se encontraron elementos"; + } + //print_r($data); + //print_r(count($data)); +?> + + + Portal Editorial + + + + + + + + + + + +
+
+
+
+
+ +
+
+ +
+ +
+
+
+
+ + + + +


+
+

Novedades Semestrales

+
+


+
+ + +
+ Responsive image + +
+
+ +
+

+ + +
+

+ +
+


+
+ + + + +
+
+ +
+

+ Hecho en México, todos los derechos reservados 2018. +
+ Esta página puede ser reproducida con fines no lucrativos, siempre y cuando no se mutile, se cite la fuente + completa y su dirección electrónica. De otra forma, requiere permiso previo por escrito de la institución +

+
+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/pagina/libro.php b/pagina/libro.php index c321f64..be8a1f1 100644 --- a/pagina/libro.php +++ b/pagina/libro.php @@ -162,7 +162,7 @@ + + + +
-
-
-