Add favicon and update layout files; enhance product query and table styles
This commit is contained in:
@@ -5,7 +5,7 @@ class Products
|
||||
static public function get_products( $client_id, $limit, $start, $order_name, $order_dir )
|
||||
{
|
||||
global $mdb;
|
||||
return $mdb -> query( 'SELECT pt.* FROM products_temp AS pt INNER JOIN products AS p ON p.id = pt.product_id WHERE client_id = \'' . $client_id . '\' ORDER BY ' . $order_name . ' ' . $order_dir . ' LIMIT ' . $start . ', ' . $limit ) -> fetchAll();
|
||||
return $mdb -> query( 'SELECT pt.*, p.offer_id FROM products_temp AS pt INNER JOIN products AS p ON p.id = pt.product_id WHERE client_id = \'' . $client_id . '\' ORDER BY ' . $order_name . ' ' . $order_dir . ' LIMIT ' . $start . ', ' . $limit ) -> fetchAll();
|
||||
}
|
||||
|
||||
static public function get_records_total_products( $client_id )
|
||||
|
||||
Reference in New Issue
Block a user