$query = $this->db->query("
SELECT
DISTINCT c.category_id, cd.name, c.oct_image
FROM
". DB_PREFIX . "manufacturer m
LEFT JOIN ". DB_PREFIX. "product p ON (m.manufacturer_id = p.manufacturer_id)
LEFT JOIN ". DB_PREFIX. "product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN ". DB_PREFIX. "category c ON (c.category_id = p2c.category_id)
LEFT JOIN ". DB_PREFIX. "category_description cd ON (cd.category_id = p2c.category_id)
WHERE
p.status = 1
AND m.manufacturer_id = '".(int)$manufacturer_id."'
AND c.status= 1
");
sqlite-uid-1 "select abc" hash:abcdef1234
sqlite-uid-2 "select def" hash:1234abcdef
Теперь софт можно пиратить в неограниченных количествах.