From 003d8d3c2b7464e736214956c474c0fa142b6903 Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Sat, 16 May 2020 18:36:20 +0300 Subject: [PATCH] add books --- app/api/apiclient.php | 4 ++++ app/pub/css/an.css | 7 +++++-- app/views/layout.phtml | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/api/apiclient.php b/app/api/apiclient.php index b08f337..700f1a3 100644 --- a/app/api/apiclient.php +++ b/app/api/apiclient.php @@ -243,6 +243,8 @@ function clients_arch($page = 16, $category_id = 1, $filter = 'all'){ WHERE category_id = $category_id $between + AND + `active` = 1 LIMIT 1 "; @@ -257,6 +259,8 @@ function clients_arch($page = 16, $category_id = 1, $filter = 'all'){ WHERE category_id = $category_id $between + AND + `active` = 1 ORDER BY price_id DESC LIMIT $limit diff --git a/app/pub/css/an.css b/app/pub/css/an.css index 553c1c2..3eca3c8 100644 --- a/app/pub/css/an.css +++ b/app/pub/css/an.css @@ -237,9 +237,12 @@ input[type="email"],input[type="password"]{ font-size: 150%; } +#menu_category{ + margin-bottom: 12px; +} + #year_filter{ - margin-top: 12px; - margin-bottom: 12px; + margin-bottom: 12px; } @media screen and (max-width: 1000px) { diff --git a/app/views/layout.phtml b/app/views/layout.phtml index 9abb921..761080c 100644 --- a/app/views/layout.phtml +++ b/app/views/layout.phtml @@ -4,7 +4,7 @@ "> - +