From a3f39931dae151d82c99672327580bee6eb76e1b Mon Sep 17 00:00:00 2001 From: Gabriel Fuentes Date: Fri, 5 Apr 2019 15:16:23 -0600 Subject: [PATCH] afinando detalles 99% --- .idea/workspace.xml | 97 ++++++++++++++++++++++++--------------------- pagina/libro.php | 18 ++++++++- 2 files changed, 69 insertions(+), 46 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 612e7cc..e8d8029 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,15 +5,7 @@ - - - - - - - - - + - - - - - + + + @@ -59,12 +49,14 @@ + + - + @@ -73,6 +65,15 @@ + + + + + + + + + @@ -156,8 +157,8 @@ @@ -199,6 +200,12 @@ + + + + + + @@ -300,12 +307,12 @@ - + - @@ -536,13 +543,6 @@ - - - - - - - @@ -554,26 +554,6 @@ - - - - - - - - - - - - - - - - - - - - @@ -581,5 +561,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pagina/libro.php b/pagina/libro.php index 6b68961..c68ebff 100644 --- a/pagina/libro.php +++ b/pagina/libro.php @@ -211,7 +211,9 @@
"; for(;$i<3;$i++) { $rnd= rand(0,count($data)-1); - echo" + if($libro[0]['titulo'] != $data[$rnd]['titulo']) + { + echo"
Responsive image @@ -220,6 +222,20 @@
"; + } + else + { + $rnd= rand(0,count($data)-1); + echo" +
+ + Responsive image +

+ +
+
+ "; + } } echo "