diff --git a/_incl/banners.css b/_incl/banners.css index 29c0aba..10ed533 100644 --- a/_incl/banners.css +++ b/_incl/banners.css @@ -27,7 +27,7 @@ .oferta_precio { font-family: "Times New Roman", Times, serif; position: relative; - font-size: 36px; + font-size: 24px; color: #CB2C54; font-weight: normal; top: 12px; @@ -35,6 +35,7 @@ .oferta_texto { font-family: Verdana, Arial, Helvetica, sans-serif; + color: #555555; font-size: 10px; position: relative; top: 14px; diff --git a/_incl/shoopOfertas.php b/_incl/shoopOfertas.php index 24f09a0..c5af831 100644 --- a/_incl/shoopOfertas.php +++ b/_incl/shoopOfertas.php @@ -80,9 +80,8 @@ var $curTipo; $conn = db_connect(); if($conn) { - $query = 'SELECT oferta_id, oferta_fab_id, fab_nombre, oferta_categoria, oferta_nombre, oferta_estado, oferta_pvp, oferta_descripcion + $query = 'SELECT oferta_id, oferta_fab_id, oferta_categoria, oferta_nombre, oferta_estado, oferta_pvp, oferta_descripcion FROM shoop_oferta - LEFT JOIN shoop_fabricantes on (oferta_fab_id=fab_id) WHERE oferta_unidades > 0 ORDER BY RAND() LIMIT '. $cuantos; @@ -107,7 +106,6 @@ var $curTipo; 'id' => $row['oferta_id'], 'estado' => $row['oferta_estado'], 'fab_id' => $row['oferta_fab_id'], - 'fab_nombre' => $row['fab_nombre'], 'pvp' => $row['oferta_pvp'], 'descripcion' => $row['oferta_descripcion']); // } else { diff --git a/admin/shoop/oferta.php b/admin/shoop/oferta.php index 2f434bb..91b6a36 100644 --- a/admin/shoop/oferta.php +++ b/admin/shoop/oferta.php @@ -24,19 +24,15 @@ include('../db.php'); 0 */ ORDER BY oferta_categoria, oferta_id"; $result = mysql_query($query, $conn); ?>
| Categoría + |
|
- |
€'); ?>
-
-
- Ver folleto PDF ";
- }
- ?>
-
+
+ [+]
+
| |||||||||||
|
- - - Oferta PVP: € + PVP: € - Ver folleto PDF "; - } - ?> - |
@@ -148,23 +138,30 @@ switch($oferta_categoria_id) {
+
- '; - } - ?> - + + + | |||||||||||||
| OFERTA |
+ PVP Oferta | ++ | |
| = $secciones[$oferta_categoria]; ?> |
- PVP Oferta | -||
| - =$fab_nombre;?> = $oferta_nombre . (strlen($oferta_estado) ? '': "") ; ?> | + = $oferta_nombre . (strlen($oferta_estado) ? '': "") ; ?>= miNumberFormat($oferta_pvp); ?> € | ||