Категории услуг и удаление latest из блога

This commit is contained in:
Konstantin
2026-05-30 10:13:44 +03:00
parent e45a057ffa
commit 95ac0ef898
37 changed files with 1959 additions and 827 deletions
+3 -1
View File
@@ -47,6 +47,8 @@ class ModelDesignLayout extends Model {
$this->db->query("DELETE FROM " . DB_PREFIX . "category_to_layout WHERE layout_id = '" . (int)$layout_id . "'");
$this->db->query("DELETE FROM " . DB_PREFIX . "product_to_layout WHERE layout_id = '" . (int)$layout_id . "'");
$this->db->query("DELETE FROM " . DB_PREFIX . "information_to_layout WHERE layout_id = '" . (int)$layout_id . "'");
$this->db->query("DELETE FROM " . DB_PREFIX . "service_category_to_layout WHERE layout_id = '" . (int)$layout_id . "'");
$this->db->query("DELETE FROM " . DB_PREFIX . "service_to_layout WHERE layout_id = '" . (int)$layout_id . "'");
}
public function getLayout($layout_id) {
@@ -106,4 +108,4 @@ class ModelDesignLayout extends Model {
return $query->row['total'];
}
}
}