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 @@
/base href="=SITE?>">
-
+